10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: Amavis/SpamAs...
FromSent OnAttachments
John BOSSERTFeb 16, 2004 12:07 am 
David BruhaFeb 16, 2004 10:31 am 
Bill TaroliFeb 16, 2004 11:14 am 
Dennis BergerFeb 17, 2004 5:37 am 
Jeff PotterFeb 17, 2004 7:31 am 
Gerardo GregoryFeb 17, 2004 7:41 am 
Bill TaroliFeb 17, 2004 7:57 am 
Bill TaroliFeb 17, 2004 8:02 am 
Jeff PotterFeb 17, 2004 8:08 pm 
Hanford, SethFeb 18, 2004 8:05 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: Amavis/SpamAssassin/Anti-Virus Recommendations/ExperiencesActions...
From:Jeff Potter (jpot@codepuppy.com)
Date:Feb 17, 2004 8:08:39 pm
List:net.sourceforge.lists.courier-users

This works? How are you invoking it from the Courier side? maildrop? filter? I'm curious because in my own investigations I was under the impression that this setup had drawbacks in function or config... but I can't remember specifics now.

amavis-new supports courierfilters natively -- just select the appropriate options in /etc/amavisd.conf including the socket location (e.g. set it to .../allfilters dir), make sure it's running as group 'courier', and fire it up. The only trick is that when courier is restarted, there'll be a stale socket file for amavisd, which is why I added the 3 lines for my previous message to my init.d/courier script. I had looked at amavis-ng and it just was problematic, for me.

I would write an amavis-new how-to, but it's too simple for that. Install amavis-new. Install dependencies (e.g. the ~15 perl modules). Make sure it's running in the same group as courier, and as your virus scanning daemon. Fire it up.

The only drawback to this approach is that you can't modify messages coming in on the wire. I'm just fine with this, because we'd rather not deliver "you got a virus" messages to our users -- we're 5xx'ing them.

I'd love to integrate spamassassin via amavis-new as well, but I haven't had a chance to figure out how amavis-new handles the "I have 2 recipients with different spam settings" scenario. Anyone else done this? It might be easy, just haven't tried.

best, Jeff