Michael,

> what i want to do is not to quarantinize a mail which includes a virus,
> but to relay it as it is after removing the attachment and adding a little
> notification, that the infected attachment was errased. I've heard sth.
> about the programm reattach...
> These are the components which i'm currently using:
> postfix-amavisnew-clamav

Use defanging, either a simple one provided directly by amavisd
which pushes an unchanged original message to an attachent
and prepends a warning, or defanging through the use of one
of the two supported external mail modifying programs:
altermime or Anomy sanitizer. The reattach is not supported,
but it can probably be hooked-in instead of altermime.

  $final_virus_destiny = D_PASS;
  $defang_virus = 1;

  $defang_maps_by_ccat{+CC_VIRUS} = [ 'altermime' ];
  $altermime = '/usr/local/bin/altermime';
  @altermime_args_defang = qw(--verbose --removeall);

More on that in RELEASE_NOTES, seach for:
- provided interface code to allow mangling/defanging/sanitation
  to be performed by an external utility, either by directly...

Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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