On 10/21/2010 8:36 PM, sunhux G wrote:
Question1: -------------- Title: tens of thousands of spoof/spam mails hog up mailq : will 'postsuper -h' placed in a crontab help ? I have a case where tens of thousands of spam & spoof emails jammed up my Linux SMTP mail queue (not that I don't have an anti-spam policy but many of these mails are innocently/accidentally blasted over by internal colleagues): mailq | grep MAILER | wc -l ==> tens of thousands
A queue full of undeliverable bounces is caused by accepting mail you can't deliver. Don't do that.
[snip discussion about sending mail to the hold queue]
Question is : are the 'held' mails still something that will be scanned (& thus prolonged the scan time) or scanning of mail queue will skip
Postfix ignores mail in the hold queue. Moving the offending mail to the hold queue will solve your immediate performance problems.
But going forward, solve the right problem.
2nd question: ------------------ Title : Linux OS files that hold postfix incoming & outgoing mails
http://www.postfix.org/postcat.1.html http://www.postfix.org/QSHAPE_README.html -- Noel Jones