| 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
|