Re: [AMaViS-user] Can amavis cc a message before it's filtered?

2006-12-13 Thread Mark Martinec
Joshua,

 I'm running under Sendmail using amavis-new-2.4.1 (20060508).  I'd like to
 have a copy of all messages that are filtered sent to another e-mail
 address *before* they are filtered.  I'm trying to train another spam
 filter, and I don't want the current spam filter's headers to become part
 of the statistics of the new spam filter.  Is there any way to do this from
 Amavis?

You'd have to switch to 2.4.4 to make this easy, although it is possible
to modify the code of early versions to do it (some examples are in the code).

2.4.3 introduced option to that effect. From 2.4.3 release notes:

- added configuration variables @archive_quarantine_to_maps and
  $archive_quarantine_method, allowing for archival quarantine of all mail
  (configurable by recipient and by policy banks) regardless of its contents
  category. This archive is independent from other quarantining, i.e. if
  spam quarantining and archival quarantining are both enabled, two copies
  will be stored to quarantine. When quarantining for archive one has two
  choices: archive_quarantine would store all mail addressed to recipient,
  whereas enabling clean quarantine as in:
$quarantine_method_by_ccat{+CC_CLEAN} = 'local:clean-%m';
$quarantine_to_maps_by_ccat{+CC_CLEAN} = 'clean-quarantine';
  would quarantine only clean mail, no spam, no viruses, no banned, no badh.


So what you want is:

  $archive_quarantine_method = $notify_method;
  @archive_quarantine_to_maps = ( '[EMAIL PROTECTED]' );

See also:
  http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quarantine

-
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.phpp=sourceforgeCID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Can amavis cc a message before it's filtered?

2006-12-12 Thread Joshua J. Kugler
I'm running under Sendmail using amavis-new-2.4.1 (20060508).  I'd like to 
have a copy of all messages that are filtered sent to another e-mail address 
*before* they are filtered.  I'm trying to train another spam filter, and I 
don't want the current spam filter's headers to become part of the statistics 
of the new spam filter.  Is there any way to do this from Amavis?

I could always use http://www.snertsoft.net/sendmail/milter-bcc/manual.shtml I 
suppose, I was looking for the easy way out (i.e. a config directive) 
first.

j

-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-
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.phpp=sourceforgeCID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/