neversfelde
November 3rd, 2006, 11:10 AM
Hey there,
I've set up a mailserver for the first time and postfix delivery and cyrus imap are working fine. i used this (https://help.ubuntu.com/community/PostfixAmavisNewClamAVSpamAssassin) howto in the ubuntu wiki.
After the first setup I wanted to integrate amavis spam and virus scanner. I had several problems with clamav, so I decided to concentrate on the spam function. So I onyi commented out the
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
section in /etc/amavis/conf.d/15-content:filter_mode.
/etc/amavis/con.d/50-user looks like this
$final_virus_destiny = D_PASS; # (data not lost, see virus quarantine)
$final_banned_destiny = D_PASS; # D_REJECT when front-end MTA
$final_spam_destiny = D_PASS;
$final_bad_header_destiny = D_PASS; # False-positive prone (for spam)
$sa_tag_level_deflt = -1000;
$sa_tag2_level_deflt = 5.0;
$sa_kill_level_deflt = 10;
$sa_spam_subject_tag = '***SPAM*** ';
in order to test amavis. I'm glad that postfix delivers the mails further on, but now there is an error like this in in /var/log/mail.info
postfix/qmgr[30531]: warning: connect to transport amavis: Connection refused
it might not have any effects, but I'm interested in removing it.
Spam should be detected by amavis and spamassassin because theres a line like this
amavis[30533]: (30533-02) Passed SPAM, LOCAL [127.0.0.1] [64.223.35.177] <SRS0=gsgM=EP=angleseyinteractive.com=debutante@srs .kundenserver.de> -> chrman@localhost>, quarantine: /var/lib/amavis/quarantine, Message-ID: <C825ED37.5429735@angleseyinteractive.com>, Resent-Message-ID: <200611031557.17309.debutante@angleseyinteractive.c om>, active.com>, mail_id: 0W0ZJ27qGXZN, Hits: 7.239, 19730 ms
When I'm changing the handling method for spam in D_REJECT Spam is not delivered to the clients anymore, so everything shoul be alright., shouldn't?
The real problem is that Spam emails are not tagged with ***SPAM*** and thats the way I want to use it.
So what am I doing wrong? Would be great if anybody woul be able to help me to solve this problem. By the way, I`m using Dapper LTS.
Thanks for reading
Christian
I've set up a mailserver for the first time and postfix delivery and cyrus imap are working fine. i used this (https://help.ubuntu.com/community/PostfixAmavisNewClamAVSpamAssassin) howto in the ubuntu wiki.
After the first setup I wanted to integrate amavis spam and virus scanner. I had several problems with clamav, so I decided to concentrate on the spam function. So I onyi commented out the
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
section in /etc/amavis/conf.d/15-content:filter_mode.
/etc/amavis/con.d/50-user looks like this
$final_virus_destiny = D_PASS; # (data not lost, see virus quarantine)
$final_banned_destiny = D_PASS; # D_REJECT when front-end MTA
$final_spam_destiny = D_PASS;
$final_bad_header_destiny = D_PASS; # False-positive prone (for spam)
$sa_tag_level_deflt = -1000;
$sa_tag2_level_deflt = 5.0;
$sa_kill_level_deflt = 10;
$sa_spam_subject_tag = '***SPAM*** ';
in order to test amavis. I'm glad that postfix delivers the mails further on, but now there is an error like this in in /var/log/mail.info
postfix/qmgr[30531]: warning: connect to transport amavis: Connection refused
it might not have any effects, but I'm interested in removing it.
Spam should be detected by amavis and spamassassin because theres a line like this
amavis[30533]: (30533-02) Passed SPAM, LOCAL [127.0.0.1] [64.223.35.177] <SRS0=gsgM=EP=angleseyinteractive.com=debutante@srs .kundenserver.de> -> chrman@localhost>, quarantine: /var/lib/amavis/quarantine, Message-ID: <C825ED37.5429735@angleseyinteractive.com>, Resent-Message-ID: <200611031557.17309.debutante@angleseyinteractive.c om>, active.com>, mail_id: 0W0ZJ27qGXZN, Hits: 7.239, 19730 ms
When I'm changing the handling method for spam in D_REJECT Spam is not delivered to the clients anymore, so everything shoul be alright., shouldn't?
The real problem is that Spam emails are not tagged with ***SPAM*** and thats the way I want to use it.
So what am I doing wrong? Would be great if anybody woul be able to help me to solve this problem. By the way, I`m using Dapper LTS.
Thanks for reading
Christian