Hello All I've been running with amavisd-new/spammassassin/postfix/mysql for some time without any problems. I've been tagging and passing SPAM to my users, and now I'm trying to implement the squirrelmail plugin amavisnewsql, for releasing quarantined spam, etc. Anyway, I have two mailservers running identical setups and configs (minus some settings ie: $mydomain, $myhostname, and @local_domains_maps(), etc). The first server I made adjustments to amavisd.conf for quarantining mail and to not pass (D_DISCARD) using bsmtp as spam_quarantine_method. Everything worked great, spam was quarantined, and squirrelmail can release the mails.
Now, when I tried to implement the same settings on server number two, I'm unable to get any spams in the quarantine, they are all discarded. The confs are basically the same, I'll post server two's related config blocks, let me know if you need other sections (didn't want to paste the entire config in here). $final_virus_destiny = D_DISCARD; $final_banned_destiny = D_DISCARD; $final_spam_destiny = D_DISCARD; $final_bad_header_destiny = D_PASS; $QUARANTINEDIR = "$MYHOME/quarantine"; $virus_quarantine_method = 'bsmtp:virus-%i-%n'; $spam_quarantine_method = 'bsmtp:spam-%b-%i-%n'; $banned_files_quarantine_method = 'bsmtp:banned-%i-%n'; $bad_header_quarantine_method = 'bsmtp:badh-%i-%n'; $sa_local_tests_only = 0; $sa_mail_body_size_limit = 200*1024; $sa_tag_level_deflt = -999; $sa_tag2_level_deflt = 5.0; $sa_kill_level_deflt = $sa_tag2_level_deflt; $sa_dsn_cutoff_level = 10; $sa_spam_subject_tag = '***SPAM*** '; $sa_spam_level_char = '*'; $sa_spam_report_header = 1; $first_infected_stops_scan = 1; Now this is what happens when the non-working server receives spam: Sep 9 15:15:42 two.comp.com amavis[30591]: (30591-01) Blocked SPAM, [xxx.xxx.xxx.xxx] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: <[EMAIL PROTECTED] hoo.com>, mail_id: VJp+JxIRUZbM, Hits: 20.162, 9187 ms Sep 9 15:15:42 two.comp.com postfix/smtp[29881]: 65D5DA23B3E: to=<[EMAIL PROTECTED]>, relay=localhost[127.0.0.1], delay=18, status=sent (250 2.7.1 Ok, discarded, id=30591-01 - SPAM) Normally, I should have a 'quarantine: spam-blahblahblah' in there. Nothing ever gets pushed to my quarantine directory. Now, I'm noticing some weird behaviour. In my quarantine directory I have 'badh-' and 'virus-' emails. Bad header mails should not be in there since it's set with D_PASS. Virus should be and it works, but SPAM never makes it in. Every time I make a config change, I've made sure I restarted the service. I also reinstalled amavisd-new from source. Here are my permissions on the quarantine directory (also including the badh example mail): drwxr-x--- 3 amavis amavis 248 Sep 9 15:44 . drwxr-xr-x 8 amavis amavis 456 Sep 9 15:38 .. drwxr-xr-x 2 amavis amavis 48 Sep 9 13:09 .notstored -rw-r----- 1 amavis amavis 11513 Sep 9 14:07 badh-20060909-140735-12365-01 Here are the relevant versions I'm running (on a Gentoo system) mail-filter/amavisd-new-2.4.1 mail-mta/postfix-2.2.10 dev-db/mysql-4.1.21 mail-filter/spamassassin-3.1.3 Here are some relevant items on amavis startup. Let me know if you need full output. Sep 9 14:40:31 comp /usr/sbin/amavisd[581]: ANTI-VIRUS code loaded comp /usr/sbin/amavisd[581]: ANTI-SPAM code loaded comp /usr/sbin/amavisd[581]: ANTI-SPAM-SA code loaded comp /usr/sbin/amavisd[581]: Unpackers code loaded comp /usr/sbin/amavisd[581]: BSMTP-out proto code loaded comp /usr/sbin/amavisd[581]: SQL base code loaded comp /usr/sbin/amavisd[581]: SQL::Log code NOT loaded comp /usr/sbin/amavisd[581]: SQL::Quarantine NOT loaded (I don't think this matters, but wanted to list it. The working server does not have this loaded as well) Any ideas/recommendations are greatly appreciated. I'm wondering if there is a perl module that is acting improperly further in.. I'm just running out of ideas and options. Please let me know if you'd like me to provide any additional config settings or log output. Thanks much. hanji Key ID: 68CE3C73 Fingerprint: 815A 5232 BEF5 3DEF 7640 E5DA 7570 027F 68CD 3C73 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
