Does MailScanner is realy using SpamAssassin ?
ssilva at sgvwater.com
Tue Mar 13 16:32:07 GMT 2012
on 3/13/2012 7:38 AM Marcello Anderlini spake the following:
> Hello guys, first thing, sorry for my ridicolous English but as you can
> notice is not my first language.
> I'm trying to install the last mailscanner (4.84.5-2) on a centos 6.x
> x86_64. All seem to work well but in the maillog I can not see any evidence
> of Spamassasin score.
> In one old installation in maillog I can see for exaples this :
> Message q2DEW1jo017136 from 126.96.36.199 (nicolas at critsend.com) to xxxxx.it
> is spam, SpamAssassin (not cached, punteggio=5.913, necessario 5,
> DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, HTML_IMAGE_RATIO_04
> 0.61, HTML_MESSAGE 0.00, T_SURBL_MULTI1 0.01, T_URIBL_BLACK_OVERLAP 0.01,
> URIBL_BLACK 1.77, URIBL_JP_SURBL 1.95, URIBL_WS_SURBL 1.66)
> Instead in the new one I do not see any SpamAssasin Score.
> Mar 13 11:25:52 dhcppc15 MailScanner: Connected to SpamAssassin cache
> Mar 13 11:25:54 dhcppc15 MailScanner: Connected to Processing
> Attempts Database
> Mar 13 11:25:54 dhcppc15 MailScanner: Found 0 messages in the
> Processing Attempts Database
> Mar 13 11:25:54 dhcppc15 MailScanner: Using locktype = posix
> Mar 13 11:25:59 dhcppc15 sendmail: q2DAPxFf010795:
> from=<info at cittaonline.it>, size=310272, class=0, nrcpts=1,
> msgid=<4F5F20D4.8010204 at cittaonline.it>, proto=ESMTP, daemon=MTA,
> Mar 13 11:26:00 dhcppc15 MailScanner: New Batch: Scanning 1 messages,
> 310715 bytes
> Mar 13 11:26:00 dhcppc15 MailScanner: Virus and Content Scanning:
> Mar 13 11:26:00 dhcppc15 MailScanner: Spam Checks: Starting
> Mar 13 11:26:00 dhcppc15 MailScanner: Content Checks: Detected and
> have disarmed web bug tags in HTML message in q2DAPxFf010795 from
> info at cittaonline.it
> Mar 13 11:26:00 dhcppc15 MailScanner: Uninfected: Delivered 1
> Mar 13 11:26:00 dhcppc15 MailScanner: Deleted 1 messages from
> Mar 13 11:26:00 dhcppc15 MailScanner: Batch completed at 0 bytes per
> second (310715 / 0)
> Mar 13 11:26:00 dhcppc15 MailScanner: Batch (1 message) processed in
> 0.13 seconds
> Mar 13 11:26:00 dhcppc15 sendmail: q2DAPxFf010795:
> to=<test at localhost.localdomain>, delay=00:00:01, xdelay=00:00:00,
> mailer=local, pri=430272, dsn=2.0.0, stat=Sent
> In Mailscanner.conf I've set this value for logging
> Syslog Facility = mail
> Log Speed = yes
> Log Spam = yes
> Log Non Spam = yes
> Log Delivery And Non-Delivery = no
> Log Permitted Filenames = no
> Log Permitted Filetypes = no
> Log Permitted File MIME Types = no
> Log Silent Viruses = no
> Log Dangerous HTML Tags = no
> Log SpamAssassin Rule Actions = yes
> This is MailScanner --lint report
> Currently you are using no virus scanners.
> This is probably not what you want.
> In your /etc/MailScanner/MailScanner.conf file, set
> Virus Scanners = clamav
> Then download
> Unpack it, "cd" into the directory and run ./install.sh
> Trying to setlogsock(unix)
> Reading configuration file /etc/MailScanner/MailScanner.conf
> Reading configuration file /etc/MailScanner/conf.d/README
> Read 869 hostnames from the phishing whitelist
> Read 4948 hostnames from the phishing blacklists
> Checking version numbers...
> Version number in MailScanner.conf (4.84.5) is correct.
> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> SpamAssassin reported no errors.
> Connected to Processing Attempts Database
> Created Processing Attempts Database successfully
> There are 0 messages in the Processing Attempts Database
> Using locktype = posix
> MailScanner.conf says "Virus Scanners = none"
> Found these virus scanners installed:
> Filename Checks: Windows/DOS Executable (1 eicar.com)
> Other Checks: Found 1 problems
> Virus and Content Scanning: Starting
> If any of your virus scanners ()
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its virus.scanners.conf.
> Thanks for any help
There is a setting in MailScanner to always show the spamassassin score. You
could turn that on, at least long enough to check if it is working...
More information about the MailScanner