Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th October 2006, 02:20
shark_tico shark_tico is offline
Junior Member
 
Join Date: Oct 2006
Location: San Ramon, Costa Rica
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default spamassassin stop working after woody to sarge update

Hello

We have a server that was installed with woody and has postfix +
amavis-new + spamassasin + clamav

Everything worked good until postfix got update with sarge packages with apt-get update and after apt-upgrade, when this happened the server stoped working at all.

After a lot of tries and several changes at config files, we decided to make
apt-get dist -upgrade, but with this didn't work, after more changes
postfix began to work, the problem is that the mails aren't marked as SPAM anymore, before the update okeverything was working fine, clamav is working fine

Current Versions (dpkg -l ):
postfix 2.1.5-9 A high-performance mail transport agent
amavisd-new 20030616p10-5 Interface between MTA and virus
scanner/cont
spamassassin 3.0.3-2sarge1 Perl-based spam filter using text analysis
clamav 0.84-2.sarge.9 antivirus scanner for Unix

Config file amavis-new:

# @bypass_spam_checks_acl = qw( . ); # uncomment to DISABLE anti-spam code
$final_spam_destiny = D_PASS;
$spam_quarantine_to = 'spam-quarantine';
$remove_existing_spam_headers = 1;
$sa_tag_level_deflt = 4.0; # add spam info headers if at, or above that
level
$sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive
actions
$sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disables)
$sa_spam_modifies_subj = 1; # may be a ref to a lookup table, default is
true


At the log (/var/log/mail.info)

Sep 20 11:11:39 SERVER amavis[4347]: (04347-04) spam_scan: hits=0.528
tests=AWL,HTML_90_100,HTML_MESSAGE,PLING_PLING,UPP ERCASE_25_50
Sep 20 11:11:41 SERVER amavis[4489]: (04489-01) spam_scan: hits=4.111
tests=DATE_IN_FUTURE_03_06,DNS_FROM_RFC_WHOIS,EXTR A_MPART_TYPE,
HELO_DYNAMIC_DIALIN,HTML_40_50,HTML_IMAGE_ONLY_24, HTML_MESSAGE,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL
Sep 20 11:11:45 SERVER amavis[4489]: (04489-02) spam_scan: hits=0.124
tests=AWL,FORGED_RCVD_HELO,X_PRIORITY_HIGH
Sep 20 11:11:49 SERVER amavis[4347]: (04347-05) spam_scan: hits=3.273
tests=INFO_TLD,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL ,RCVD_IN_XBL
Sep 20 11:11:51 SERVER amavis[4347]: (04347-06) spam_scan: hits=0.416
tests=EXTRA_MPART_TYPE,HTML_30_40,HTML_MESSAGE,RCV D_IN_SORBS_DUL
Sep 20 11:11:52 SERVER amavis[4347]: (04347-07) spam_scan: not wasting time on SA,
message longer than 65536 bytes: 869+71699
Sep 20 11:11:52 SERVER amavis[4347]: (04347-07) spam_scan: hits=
Sep 20 11:11:57 SERVER amavis[4489]: (04489-03) spam_scan: hits=0.366
tests=HTML_MESSAGE,SUBJ_ALL_CAPS
Sep 20 11:12:05 SERVER amavis[4489]: (04489-04) spam_scan: not wasting time on SA,
message longer than 65536 bytes: 767+610818
Sep 20 11:12:05 SERVER amavis[4489]: (04489-04) spam_scan: hits=
Sep 20 11:12:06 SERVER amavis[4347]: (04347-08) spam_scan: hits=0.695 tests=AWL,
HTML_40_50,HTML_FONT_LOW_CONTRAST,HTML_MESSAGE

Email header's:
Received: from localhost (localhost [127.0.0.1]) by server (Postfix)
with ESMTP id 111FC349A8C; Wed, 20 Sep 2006 11:06:17 -0600 (CST)
Received: from server ([127.0.0.1]) by localhost (server [127.0.0.1])
(amavisd-new, port 10024)
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at servidor

In some mails appear:
X-Spam: Not Detected.


Thanks in advance for any help, that will be apreciated.
Reply With Quote
Sponsored Links
  #2  
Old 19th October 2006, 14:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

I guess that some of the amavisd directives for SpamAssassin are still for SpamAssassin v2. You can try to replace them with something like this (taken from http://www.howtoforge.com/virtual_po...ota_courier_p3 ):

Code:
$sa_local_tests_only = 0;   # (default: false)
#$sa_auto_whitelist = 1;    # turn on AWL (default: false)

# Timout for SpamAssassin. This is only used if spamassassin does NOT
# override it (which it often does if sa_local_tests_only is not true)
$sa_timeout = 30;           # timeout in seconds for a call to SpamAssassin
                            # (default is 30 seconds, undef disables it)

# AWL (auto whitelisting), requires spamassassin 2.44 or better
# $sa_auto_whitelist = 1;   # defaults to undef

$sa_mail_body_size_limit = 150*1024;

$sa_tag_level_deflt  = 3.0; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 4.0; # add 'spam detected' headers at that level
$sa_kill_level_deflt = $sa_tag2_level_deflt;

$sa_dsn_cutoff_level = 10;

$sa_spam_subject_tag = '***SPAM*** ';
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
SpamAssassin stops working heygazeebo HOWTO-Related Questions 19 19th June 2006 08:15
email seem to have stop working chrno Installation/Configuration 10 21st May 2006 12:27
Difference between Debian Sarge kernel update -> 64 bit & Debian Unofficial AMD64 ver Hans Installation/Configuration 2 2nd March 2006 23:41


All times are GMT +2. The time now is 02:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.