Amaru Netapshaak wrote:
Greetings Postfix-Users!!
I recently setup Postfix with a slew of other apps to fight spam, and I
am using postgrey for greylisting.
I've noticed that after a few days, I have 4000+ email messages in the
queue (as shown with
"mailq" command). And the queue is growing.
I presume this must be something to do with greylisting. I am receiving
email as normal, and everything
seems functional. I just want to be sure that having this many messages
in a queue is normal and wont
cause problems down the road. All messages in the queue are addressed to
foreign hosts and most
have "Operation Timed Out"
Should I be removing these? My instinct tells me yes!
For example:
F0F8AB18271 4871 Sun Aug 10 03:13:11 MAILER-DAEMON
(connect to <host removed>[<ip removed>]:25: Operation timed out)
[EMAIL PROTECTED]
-- 29608 Kbytes in 4185 Requests.
Thanks for any and all advice!
++ Amaru
Yes, it's usually very bad to have a queue full of
MAILER-DAEMON messages.
What are these, NDR's to undeliverable/unknown/invalid recipients?
(use "postcat -q F0F8AB18271" to view the message)
If so, don't accept mail to undeliverable recipients.
Accepting and then bouncing mail to unknown recipients will
greatly increase load on your server, and will get you
blacklisted. Instead, configure your system to reject unknown
recipients during SMTP.
Here's some places to start:
http://www.postfix.org/ADDRESS_CLASS_README.html
http://www.postfix.org/LOCAL_RECIPIENT_README.html
If these are not NDR's, please give us more information
http://www.postfix.org/DEBUG_README.html#mail
--
Noel Jones