mailscanner with spamassassin : error on subject with [SPAM]

Denis Beauchemin Denis.Beauchemin at USHERBROOKE.CA
Thu Sep 1 16:26:02 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Benoit Guguin wrote:

> Hello,
>
> I have a little probleme. I m using postfix with mailscanner, 
> spamassassin and clamav.
>
> Some mails are receive with a subject  [SPAM] other_thing.   And 
> effectively it's some spam.
> But the users of the server receive them in their mailboxes ...
>
> So to workaround this probleme I have add in spam.assassin.prefs.conf 
> (like the mailscanner wiki says) these lines :
>
>    describe UDES_HEADER Check_header_content_SPA
>    header UDES_HEADER Subject =~ /SPAM/i
>    score UDES_HEADER 100.0
>
> After restarting MailScanner,  Mails with the string SPAM in their 
> subject are correctly detected.
>
> But (something made me crazy) Mails with in their subject [SPAM] are 
> send in the user's mailboxes *without* the string [SPAM] in their 
> subject ....
>
> I have also test, for same effect, with this :
>    describe UDES_HEADER Check_header_content_SPA
>    header UDES_HEADER Subject =~ /\[SPAM\]/i
>    score UDES_HEADER 100.0
>
>    describe UDES_HEADER Check_header_content_SPA
>    header UDES_HEADER Subject =~ /.*SPAM.*/i
>    score UDES_HEADER 100.0
>
> Any idea please ?
> thank you in advance
>
> Regards,
>
One last note I forgot: if you keep the first SA rule you will delete 
any message with SPAM in its subject, such as "great new SPAM control 
software" or "new SpamAssassin version released", which may get your 
users in a bad mood...

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045



------------------------ 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!

    [ Part 2, "S/MIME Cryptographic Signature"  ]
    [ Application/X-PKCS7-SIGNATURE  4.4KB. ]
    [ Unable to print this part. ]




More information about the MailScanner mailing list