Created
January 22, 2014 04:08
-
-
Save nojimage/8553345 to your computer and use it in GitHub Desktop.
postfix のキューに溜まったメールのうち指定のメール文をもつメールを送信保留する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find /var/spool/postfix/deferred/ -type f -exec grep -l 'search body test' '{}' \; | xargs -n1 basename | xargs -n1 sudo postsuper -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment