Hi,

I have two questions:

1. I'm using postfix + amavisd-new. I have amavis-stats setup to see what amavis does (very nice) but postfix does some basic header checks and thus rejects a bunch of spam too. I have mailgraph.cgi, which I believe is supposed to see the mails that is refuse via amavisd, but it doesn't.

In my postfix log I see:
Sep 5 00:08:28 mpost postfix/smtp[7916]: 0AAF3E44C: to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=27, status=sent (250 2.7.1 Ok, discarded, UBE, id=07825-01

2. I'm trying to get amavisd-new to quarantine spam. I have it set up to let mail below 5.0 through, mail above 5.0 is let through and not marked, mail above 15.0 is discarded.

Here is the relevant parts of my config. The lines marked wiht **** are the ones I've edited, the rest are like they were in the example config that came with amavisd-new:

$final_virus_destiny = D_BOUNCE;
$final_banned_destiny = D_BOUNCE;
$final_spam_destiny = D_DISCARD;   ****
$final_bad_header_destiny = D_PASS;
$QUARANTINEDIR = '/var/spool/amavis/virusmails/';
$virus_quarantine_method = "local:virus-%i-%n";    # default
$spam_quarantine_method  = "local:spam-%b-%i-%n";  # default
$virus_quarantine_to  = 'virus-quarantine';
$spam_quarantine_to = 'spam-quarantine';   ****
$sa_tag2_level_deflt = 5.0;    ****
$sa_kill_level_deflt = 15.0;   ****

According to the comments in the config file:
# D_DISCARD mail will not be delivered to its recipients, sender will NOT be
#            notified. Effectively we lose mail (but will be quarantined
#            unless disabled).

Virusses are quarantined in /var/spool/amavis/virusmails, but for some reason spam doesn't get stored.

What am I doing wrong?

Thanks
Hans


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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/

Reply via email to