Right now I'm doing that with procmail and it seems like an extra step.
I've found a few posts about this in 2004 that indicated a patch that I don't think would work now and that the tag might be included in future versions.
Thanks.
-pbr
---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaVi...@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/
Mark Martinec <Mark.Marti...@ijs.si> wrote:
$subject_tag_maps_by_ccat{+CC_VIRUS} = [ '***INFECTED*** ' ];
Thanks. Just what I wanted. Can't believe how long I searched before you answered.
-pbr
---------------------------------
Check out the hottest 2008 models today at Yahoo! Autos.
> $subject_tag_maps_by_ccat{+CC_VIRUS} = [ '***INFECTED*** ' ];
I added the above line to the amavisd.conf file and restarted amavisd. Didn't change the Subject line. I'm using amavisd v.2.3.3-2
The mail is getting scanned and has the header:
X-Amavis-Alert: INFECTED, message contains virus: Eicar-Test-Signature
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
> > $subject_tag_maps_by_ccat{+CC_VIRUS} = [ '***INFECTED*** ' ];
>
> I added the above line to the amavisd.conf file and restarted amavisd.
> Didn't change the Subject line. I'm using amavisd v.2.3.3-2
Switch to 2.5.2.
amavisd-new-2.4.3 release notes
- added a by-contents-category setting %subject_tag_maps_by_ccat, unifying
former separate settings @spam_subject_tag_maps, @spam_subject_tag2_maps,
@spam_subject_tag3_maps and $undecipherable_subject_tag, and making it
possible to specify subject tags (strings to be inserted into Subject:)
for other categories, such as viruses, banned, and bad headers. Note that
now only one such tag is inserted - previously if passed mail was both
spam and undecodable two tags were inserted;
Mark