Re: [exim] Disable CLAMAV from known peers

Etusivu
Poista viesti
Vastaa
Lähettäjä: Michael Sprague
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Disable CLAMAV from known peers
On Tue, Jul 31, 2007 at 11:14:17AM +0200, Leonardo Boselli wrote:
> I have clamav active for all incoming messages.
> How can disable it for all messages that come here from a small list of
> known, well managed hosts, that does the job on outgoing mail, so i can be
> sure that the messages are at least clean, and need no waste machine
> cycles for rescanning them ?


Adding a hosts line in the ACLs would do it. Something like:

accept
hosts = host1.example.com : host2.example.com

Put that right before the clamav ACL. If the list of hosts is large,
you can do a lookup to a database or file; or use a named list (sec 10).

mikeS

-- 
Michael F. Sprague     | mfs@???
http://www.saneinc.net | System and Network Engineering (SaNE), Inc
Providers of the SpamOnion anti-spam service