Christophe,
> I'm using amavisd-2.3.3 and it's really works fine.
> 90% of my users wants to receive SPAM tagged with the
> $sa_spam_subject_tag, when the $sa_kill_level_deflt is over, so users
> have SPAM tagged, so this is the default policy for SPAM in my company.
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
> email to a EXTERNAL email ( hotmail, yahoo...), so today some external
> domain blocks my domain because they think I forward SPAM, while it is
> tagged !
> So : Who can I do with amavis to DISCARD SPAM with a
> $sa_kill_level_deflt lower to my default policy for users who are listed
> in files : aliases and canonical postfix files ?
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( [EMAIL PROTECTED] [EMAIL PROTECTED] . );
(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 = (
'[EMAIL PROTECTED]' => 0,
'[EMAIL PROTECTED]' => 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/