Unix administration - mailq and amavis

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2006 > mailq and amavis





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mailq and amavis
Etienne Marais

2006-01-13, 10:41 pm

The last couple of days we
have been having trouble
with amavis scanning emails
directed from sendmail.

amavis had an email file limit
set to 500 and exceeding this
amount caused the mail queue
to quickly stack up preventing
delivery of emails.

For a temporary solution I have
increased the amavis file limit
to 2000, and stopping it (for
a while), then restarting it
allows the queue to empty fairly
quickly.

To be honest, I don't really
understand why about 80% of the
queue immediately gets deliverd
when stopping amavais, and the
other 20% when restarting it.
(All mails are checked, right?)

In any case, I was wondering
how to follow the buildup of
open mail files being scanned
by amavis.

Would

watch -n 10 "ls -l /var/amavis | grep -v doc | wc -l"
do the trick or is there a better way ?

--
Etienne Marais
Cosmic Link
South Africa

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com