Larry,

> I would like to between spam_tag2_level and spam_kill_level store any of
> these tagged message, yet still deliver them (in our case defanged) to the
> end user.  The purpose is I want to look at any falsely tagged spam and/or
> for training bayes.  How do I go setting the option to store in
> /var/virusmails?

Currently (2.4.5 or 2.5.0) the default settings are:

  %quarantine_method_by_ccat = (
    CC_VIRUS,       sub { c('virus_quarantine_method') },
    CC_BANNED,      sub { c('banned_files_quarantine_method') },
    CC_SPAM,        sub { c('spam_quarantine_method') },
    CC_SPAMMY,      sub { c('clean_quarantine_method') },
    CC_BADH,        sub { c('bad_header_quarantine_method') },
    CC_CLEAN,       sub { c('clean_quarantine_method') },
  );

  %quarantine_to_maps_by_ccat = (
    CC_VIRUS,       sub { ca('virus_quarantine_to_maps') },
    CC_BANNED,      sub { ca('banned_quarantine_to_maps') },
    CC_SPAM,        sub { ca('spam_quarantine_to_maps') },
    CC_SPAMMY,      sub { ca('clean_quarantine_to_maps') },
    CC_BADH,        sub { ca('bad_header_quarantine_to_maps') },
    CC_CLEAN,       sub { ca('clean_quarantine_to_maps') },
  );

Note that sub CC_SPAMMY corresponds to tag2_level,
and CC_SPAM corresponds to kill_level.

So you want something like the following placed in amavisd.conf:

$quarantine_method_by_ccat{+CC_SPAMMY} = $spam_quarantine_method;
$quarantine_to_maps_by_ccat{+CC_SPAMMY} = [EMAIL PROTECTED];

to let CC_SPAMMY use the same settings as CC_SPAM,
or you may use some other settings, e.g.:

$quarantine_method_by_ccat{+CC_SPAMMY} = 'local:spammy-%m.gz';
$quarantine_to_maps_by_ccat{+CC_SPAMMY} = ['spam-quarantine'];

  Mark



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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