This is a discussion on [AMaViS-user] Spam flagged mail not being discarded within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; I'm running Spamassassin 3.0.3-2 under amavisd-new 20030616p10-5, debian sarge, and my mail (emacs/rmail) ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm running Spamassassin 3.0.3-2 under amavisd-new 20030616p10-5,
debian sarge, and my mail (emacs/rmail) is being properly flagged. Here is an example: X-Spam-Flag: YES X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on teufel.hartford-hwp.com X-Spam-Level: ****** X-Spam-Status: Yes, score=6.1 required=5.0 tests=... autolearn=no version=3.0.3 In /etc/amavis/amavisd.conf, I have: $sa_tag_level_deflt = -10; $sa_tag2_level_deflt = 5.0; $sa_kill_level_deflt = $sa_tag2_level_deflt; and as for disposition I have: $final_virus_destiny = D_DISCARD; # (defaults to D_BOUNCE) $final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE) However, all the spam arrives in my mail reader. In /var/log/syslog, here is the report for the above message example that is flagged as spam: Nov 1 07:30:04 teufel postfix/smtpd[13800]: connect from localhost.localdomain[127.0.0.1] Nov 1 07:30:04 teufel postfix/smtpd[13800]: B1B3C1739: client=localhost.localdomain[127.0.0.1] Nov 1 07:30:04 teufel postfix/cleanup[13803]: B1B3C1739: message-id=<200511011204.jA1C4ELX023744@inbound-mx8.atl.registeredsite.com> Nov 1 07:30:04 teufel postfix/qmgr[3023]: B1B3C1739: from=<brian.cann@boscov.com>, size=3673, nrcpt=1 (queue active) However, in amavisd.conf, I have its logging set to a different file: $DO_SYSLOG = 0; $LOGFILE = '/var/log/amavis.log'; but no amavis.log file shows up. Incidentally, I have a problem with clamav that may be relevant. In syslog I have: Nov 1 08:00:28 teufel amavis[13549]: (13549-10) Clam Antivirus-clamd av-scanner FAILED: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 39) line 180. Nov 1 08:00:28 teufel amavis[13549]: (13549-10) WARN: all primary virus scanners failed, considering backups Indeed, there is no clamd.ctl. Permissions on that directory are: rwxr-xr-x root root -- Haines Brown KB1GRM ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |