On Sun, Feb 01, 2004, Mary Gardiner wrote:
> On Sun, Feb 01, 2004, Jeff Waugh wrote:
> > Option 2: No alerts at all. This is best combined with a weekly or daily
> > summary email of quarantined virus mails, but that's more work. ;-)
> 
> Anyone got any pointers on doing this? getting a mail for every
> quarentine is a pain.

OK, this turns out to be fairly trivial. To turn off notifcations for
quarentine, you need to do this somewhere in your amavisd.conf:

$virus_admin = undef;

There doesn't seem to be an option for amavis to do daily/weekly
summaries, but it's easy enough to script and stick in a crontab. The
attached script is an example. Obviously, it needs to be run by a user
who can read the files (the user amavis runs as is a good candidate).

-Mary

Attachment: amavis.py
Description: application/python

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to