On Sep 12, 2007, at 8:06 AM, James Gorz wrote:
Because the actual mail servers are working fine - the server is
getting nothing but spam and junk emails, filling the queue is
growing to huge sizes over 117K in messages! Spamassassin is
barely able to keep up with the load, and I'm sure clamav isn't far
behind. We've been pruning the queue of messages using qmHandle,
but we need something that handles things on its own. We've also
set the queue lifetime to be 12 hours.
I'm not sure I understand why your queue is growing so large.
I've got a similar setup, but I've configured my backup MX to have a
mirror of many of the /var/qmail/control and /var/qmail/users files,
along with the domain directory structure with everything but the
user Maildirs. This way, I can have chkuser installed on the backup
MX and reject mail to bogus addresses.
I've also set up my primary MX to accept all mail from the backup MX
without doing any virus or spam scanning on it. So, every email that
backup MX accepts is going to get through to the primary MX --
there's no reason for email to get backed up.
The queue on my backup MX (which also does some spam/virus scanning
for clients with their own mail servers) is always low -- right now
it's 11 messages.
-Tom