On 6/17/2010 6:56 AM, Sharma, Ashish wrote:
> Hi,
>
> I want to enable plain(no gzip) archiving of all the email messages that are 
> received on my postfix with amavis(spamassassin , clamAV) setup.
>
> This is to generate a sample email data that I can use to tune my spam 
> assassin.
>
> I am thinking of following changes in my amavisd.conf file:
>
> $QUARANTINEDIR = "/var/virusmails";
>
> $sa_tag_level_deflt  = -999;  # add spam info headers if at, or above that 
> level
> $sa_tag2_level_deflt = -999;  # add 'spam detected' headers at that level
> $sa_kill_level_deflt = -999;  # triggers spam evasive actions (e.g. blocks 
> mail)
> $sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
> $sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely valid 
> From
> # $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is 
> off
> $penpals_bonus_score = 8;    # (no effect without a @storage_sql_dsn database)
> $penpals_threshold_high = $sa_kill_level_deflt;  # don't waste time on hi spam
> $bounce_killer_score = 100;  # spam score points to add for joe-jobbed bounces
>
> # $final_banned_destiny     = D_BOUNCE;
> # $final_bad_header_destiny = D_PASS;
> # $bad_header_quarantine_method = undef;
> # $virus_quarantine_method = undef;
> # $spam_quarantine_method = undef;
> # $banned_files_quarantine_method = undef;
>
> $final_virus_destiny      = D_PASS;
> $final_spam_destiny       = D_PASS;
>
> Please verify is this the correct way of doing things for what I intend to do?
>
> Correct me if I am doing things the wrong way.
>
> Thanks in advance
> Ashish Sharma


Look for the $clean_quarantine_method settings in 
amavisd.conf-sample.  To store clean mail in the 
$QUARANTINEDIR/clean directory, use something like:

$clean_quarantine_method          = 'local:clean/%m';

("clean" directory must exist; amavisd won't create the directory)

   -- Noel Jones

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to