Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [AMaViS-user] Adding address extensions on spam

From: Mark Martinec <Mark.Martinec+amavis(at)ijs.si>
Date: Thu Jan 10 2008 - 15:26:39 EST


Benedict,

> [...] I could have sworn that adding the +spam
> on to an address only used to happen when you reached the ultimate cutoff.
>
> It now seems to happen at tag level 2, at the same time that the subject is
> changed.

Right.
This was changed in amavisd-new-2.0
(but broken in 2.4.0, fixed again in 2.4.1)

> Is this behavior configurable?

Yes, through %addr_extension_maps_by_ccat.

The default setting is:

  %addr_extension_maps_by_ccat = (

    CC_VIRUS,       sub { ca('addr_extension_virus_maps') },
    CC_BANNED,      sub { ca('addr_extension_banned_maps') },
    CC_SPAM,        sub { ca('addr_extension_spam_maps') },
    CC_SPAMMY,      sub { ca('addr_extension_spam_maps') },
    CC_BADH,        sub { ca('addr_extension_bad_header_maps') },
  );

(CC_SPAM corresponds to kill_level, CC_SPAMMY corresponds to tag2_level)

Do you need help?X

This would do the trick (in amavisd.conf):

  $addr_extension_maps_by_ccat{+CC_SPAMMY} = undef;

> Also, is it possible to add version numbers in the first few lines of the
> amavisd code and config files?

Hmm. Not easily, the declaration of $myversion and friends doesn't come early, and the value is assembled at run time.

For config files I wouldn't like to see a version number there. The compatibility of config files is supposed to stretch way back to very early versions of amavisd-new, and to large extent even to amavisd-snapshot.

  Mark



Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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 10 15:26:58 2008

This archive was generated by hypermail 2.1.8 : Tue Jul 15 2008 - 15:55:52 EDT


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