Xavier wrote:
> Hi there,
> I wish to tag differently detected spam according to the domain I host.
> Eg :
> user1.com will have => "*** SPAM ***"
> user2.net will have => "*** UCE ? ***"
> corpo.fr will have => ""
> how to do that on a plain amavisd.conf file ?
> Thanks :)
> /Xavier
@spam_subject_tag2_maps = ({
'.user2.net' => '*** UCE ? *** ',
'.corpo.fr' => undef,
'.' => '*** SPAM *** ',
});
The last one is used as the default, which would apply to user1.com and
any other domains you add in the future.
>From RELEASE_NOTES:
"- added @spam_subject_tag_maps and @spam_subject_tag2_maps,
to allow per-recipient spam tags string; suggested by Ed Walker;
Note, there is an inconsistency in names of legacy variables and the
new @*_maps, in an attempt to rectify an unfortunate choice of name
for seldomly used variable $sa_spam_subject_tag1:
@spam_subject_tag_maps = (\$sa_spam_subject_tag1); # exotic
@spam_subject_tag2_maps = (\$sa_spam_subject_tag); # in common use"
Gary V
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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/