MailScanner and SpamAssassin

Gabriele Oleotti goleotti at MISAG.IT
Thu Nov 20 14:06:19 GMT 2003


Here is an example log:

=========================

Nov 17 17:52:31 virgo MailScanner[23074]: New Batch: Forwarding 1 unscanned messages, 2213 bytes
Nov 17 17:52:31 virgo MailScanner[23074]: Spam Checks: Starting
Nov 17 17:52:32 virgo MailScanner[23074]: Message DE50421BD6B from 212.97.32.50 (5lwjupct at yahoo.com
) to aurongroup.com is spam, SpamAssassin (punteggio=22.611, necessario 5, DATE_IN_PAST_03_06 0.68,
 FORGED_MUA_THEBAT 3.20, FORGED_MUA_THEBAT_BOUN 4.30, FORGED_THEBAT_HTML 4.30, FORGED_YAHOO_RCVD 0.
48, FROM_NUM_AT_WEBMAIL 1.10, HTML_40_50 0.47, HTML_FONTCOLOR_UNKNOWN 0.10, HTML_FONT_BIG 0.10, HTM
L_FONT_INVISIBLE 0.45, HTML_MESSAGE 0.00, HTML_MIME_NO_HTML_TAG 1.72, MIME_HTML_NO_CHARSET 0.72, MI
ME_HTML_ONLY 0.10, MIME_HTML_ONLY_MULTI 1.10, MISSING_MIMEOLE 1.15, MISSING_OUTLOOK_NAME 0.10, RCVD
_IN_DYNABLOCK 2.55)
Nov 17 17:52:32 virgo MailScanner[23074]: Spam Checks: Found 1 spam messages
Nov 17 17:52:32 virgo MailScanner[23074]: Spam Actions: message DE50421BD6B actions are attachment
Nov 17 17:52:32 virgo MailScanner[23074]: Virus and Content Scanning: Starting

==========================

As you can see I only have 'message xyz actions are attachment' that is correct and gives me no error, but the email is never delivered!

Thank you,
Gabriele


-----Original Message-----
From: Ugo Bellavance [mailto:ugob at CAMO-ROUTE.COM]
Sent: giovedì 20 novembre 2003 14.46
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MailScanner and SpamAssassin


Please post in plain-text


-----Message d'origine-----
De : Gabriele Oleotti [mailto:goleotti at MISAG.IT]
Envoyé : Thursday, November 20, 2003 8:06 AM
À : MAILSCANNER at JISCMAIL.AC.UK
Objet : FW: MailScanner and SpamAssassin


Hello,
I've installed MailScanner 4.24-5 and SpamAssassin 2.60 on my OpenBSD 3.0 with Postfix 1.1.3 mail server.

All is working quite fine. But I have one little problem: Before installing MailScanner I was able to have spam emails sent to the users' mailboxes as attachments, the body of email reports the analysis and X-Spam-Flag header is set accordingly. After installing MailScanner I'm not able to do this anymore. I was successful in setting some headers with spamassassin reports, but nothing more.

If I set
Spam Actions = bounce attachment
[Ugo Bellavance] 
anything strange in your logs?

nothing arrives on the user mailbox, nor if I set only attachment (without bounce) but if I set 
Spam Actions = deliver

(the default) all is working: headers are created with spam score report and whatever else but message body is delivered as is.

Here is finally my question: is it possible to have MailScanner creating a message just like SpamAssassin does with body=score report and attachment=original message? If not, how can I make the attachment option to work? May be a permission problem on some directory?

Moreover: should enabling the Send Notices send notices even for spamming? or does it work only for viruses?
[Ugo Bellavance] 
It works only for viruses.  I asked for a 'send notices' for spam, but it won't be implemented into MailScanner, but it should be added in MailWatch.  I didn't have time yet to install MailWatch, so I can't tell if it is working and how yet.  Maybe try on the MailWatch's list.

Thank you from now,
Gabriele (Italy)




More information about the MailScanner mailing list