Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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


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( !user1@your.domain !user2@your.domain . );

Do you need help?X

(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


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library