Feature request: spam / bayesian score in subject

Julian Field MailScanner at ecs.soton.ac.uk
Thu Nov 8 12:03:29 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Wilcock wrote:
>> I would like to do something like: Spam Subject Text = [SPAM
>> $BAYES/$SCORE]
>>
>> Add it would result in something like:
>>
>> Subject: [SPAM 99/3.50] AW: Co-operation
>>
>> Which would allow me, or other users, to know immediatly I do not
>> have to feed this one to my bayesian filter because it has hit
>> the maximum score.
>
> You can already put the SpamAssassin score in the subject, using
> the _SCORE_ placeholder:
>
> Spam Subject Text = {Spam?} {Score=_SCORE_}
>
> AFAIK you can't add just the bayes score. In any case, learning
> BAYES_99 messages won't do any harm and can but reinforce the
> "spamminess" of the tokens concerned.
Please RTM first :-)
I quote from the MailScanner.conf documentation for the "Spam Subject
Text" setting:

# This is the text to add to the start of the subject if the
# "Spam Modify Subject" option is set.
# The exact string "_SCORE_" will be replaced by the numeric
# SpamAssassin score.
# The exact string "_STARS_" will be replaced by a row of stars
# whose length is the SpamAssassin score.


Jules

- --
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHMvsREfZZRxQVtlQRAsMsAJsFvxnlDG9HiD9JuKU6vMMKs3kbqwCgoMNI
i8Lr90RMCPCNcHhxh0QT6Qs=
=ZSRD
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list