Peter,

> we have a
> mailing list with mailman on one of our servers, and some robot keeps
> sending subscribe notices to the address of the mailing list (about 200
> every day from varying sender addresses). The only thing that stays the
> same is the subject line.
>
> I looked through amavisd.conf-example and couldnot find a score setting
> for defined strings in the amavisd.conf file.
>
> Is there a way to do this? i.e. if a subject line matches a certain string
> and possibly the same recipient to add a score in order to make it a
> "spam" mail?

Use SpamAssassin rules for this, no need to duplicate its functionality
in amavisd. Something like the following can go into your local.cf:

header   L_MYRULE Subject =~ m{^The End is Nigh$}m
score    L_MYRULE 20

  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/

Reply via email to