Hans wrote:

> 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_spam_destiny = D_DISCARD;   ****
> $QUARANTINEDIR = '/var/spool/amavis/virusmails/';
> $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;   ****

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

> What am I doing wrong?

I can't answer your first question, but as far as the second one goes:

This should be working, it should quarantine spam that scores at 15.0 or
above. What version of amavisd-new are you using? Are you possibly using
an older version with a hack to discard high scoring spam, or
$sa_quarantine_cutoff_level or @spam_quarantine_cutoff_level_maps with
a 2.3.x version?

Double check file permissions on /var/spool/amavis/virusmails/

Since these are defaults, you could simply leave them commented out:
#$virus_quarantine_method = "local:virus-%i-%n";    # default
#$spam_quarantine_method  = "local:spam-%b-%i-%n";  # default

> Thanks
> Hans

Gary V



-------------------------------------------------------
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