Aniruddha,

> > The %subject_tag_maps_by_ccat already contains the following
> > default:
> > 
> >  %subject_tag_maps_by_ccat = (
> >    CC_VIRUS,       [ '***INFECTED*** ' ],
> >    CC_BANNED,      undef,
> >    CC_UNCHECKED,   sub { [ c('undecipherable_subject_tag') ] },
> >    CC_SPAM,        undef,
> >    CC_SPAMMY.',1', sub { ca('spam_subject_tag3_maps') },
> >    CC_SPAMMY,      sub { ca('spam_subject_tag2_maps') },
> >    CC_CLEAN.',1',  sub { ca('spam_subject_tag_maps') },
> >  );
> 
> Thanks for the help! For now it would be great if amavis just shows a
> warning, I might do a custom warning in the future. If I understand
> correctly When I change 'D_DISCARD;' to 'D_PASS;' amavis will tag
> infected messages with a  '***INFECTED*** ' header. Is this correct?

Yes, correct, this is a default behaviour.
Note that subject is only modified for inbound or all-internal mail,
i.e. for recipients which are local (matching @local_domains_maps).
Make sure you have all your local domains listed there.

For example:

@local_domains_maps = ([
  qw( .localhost .example.com .example.net )
]);


Mark

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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