Spam actions when destinations have different thresholds

Julian Field MailScanner at ecs.soton.ac.uk
Fri Jul 29 07:42:15 IST 2005


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

Matt Hampton wrote:

> Evening
>
> Can someone point me in the right direction (I have looked in the 
> archives,wiki and FAQ)
>
> Scenario:
>
> Rule for spam thresholds as follows (not correct syntax)
>
> To: abcd at domain.co.uk    5
> To: efgh at domain.co.uk    7
>
> Mailscanner is configured to tag the subject line for spam.
>
> An email is sent to both abcd at domain.co.uk and efgh at domain.co.uk in 
> the SAME envelope.  The score it achieves is 6.
>
> Some quick tests that I have done (and thanks to blacknight for 
> looking as well) shows that it triggers on the first recipient.
>
> Any ideas how to address this.  I was thinking of doing something with 
> sendmail queues:
>
> inbound emails -> mqueue.in
> mqueue.in -> mqueue.split (moved by a queue runner and .split has a 
> max recipent of 1)
>
> MailScanner then monitors mqueue.split.
>
> This is obviously going to have a hit on throughput (and 
> bandwidth/disk space) but at the moment this is the only way I can see 
> of doing this.

I have got some code somewhere that shows you how to remove recipients 
individually from a sendmail message in MailScanner. You could use that 
in a Custom Function on "Spam Actions" to remove a set of users which 
you work out somehow.

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.1 (Build 2185)

iQA/AwUBQunPyBH2WUcUFbZUEQIQmQCeLsxG9KQYpQAl/ACFYChaDsLXwgsAnAwj
Z6XVZdg5jxUbkUF2/dKlRq/e
=JKYM
-----END PGP SIGNATURE-----

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list