Created
May 22, 2014 04:20
-
-
Save jms/2a191e92fbe7ba7f4904 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # flush queue | |
| sendmail -q -v | |
| find /var/spool/mqueue/* -type f -exec grep -irl “domainname.com” {} \; -exec rm -vf {} \; | |
| # check queue | |
| mailq | |
| sendmail -bp | |
| # http://www.cyberciti.biz/files/perl/qtool.pl.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment