|
|||||||||||
|
Re: [AMaViS-user] amavisd no SPAM for users in aliases
From: Mark Martinec <Mark.Martinec+amavis(at)ijs.si>
Date: Thu Jan 17 2008 - 12:02:38 EST
> I'm using amavisd-2.3.3 and it's really works fine. So you either have a $final_spam_destiny=D_PASS, or you have all recipients declared as spam lovers. > BUT : when users leaves my company , I do a forward of his INTERNAL The $final_spam_destiny can be set to D_DISCARD (or D_BOUNCE), and all your recipients EXPECT THE RELOCATED ONES should be listed as spam lovers. You can use any of the following lookup tables: %spam_lovers, or @spam_lovers_acl, or $spam_lovers_re. If you have only a few relocated users, use the _acl, e.g.: @spam_lovers_acl = qw( !user1@your.domain !user2@your.domain . ); (the '!' makes the listed users NOT spam lovers, the final dot makes all the rest spam lovers - README.lookups). If you have many such users, it is better to use a hash lookup, e.g.: %spam_lovers = (
'user1@your.domain' => 0,
'user2@your.domain' => 0,
'.' => 1,
); (keep addresses in lower case) A function read_hash() can be called from amavisd.conf to read the %spam_lovers from a file, if desired. See RELEASE_NOTES. Mark This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ Received on Thu Jan 17 12:02:58 2008 This archive was generated by hypermail 2.1.8 : Tue Jul 15 2008 - 17:50:20 EDT |
||||||||||
|
|||||||||||