marvin wrote:
>>> X-Virus-Flag: Yes - Worm.SomeFool.P
>>> 
>>> Any ideas how I can achieve this ?
> Replying to myself.
> 
> Aack....
> 
> The header is inserted by the cgpav.conf program.
> 
> Sorry for the faut paux.
> 
> OK - But still, how can I add the virus name variable to the header
> 
> X-Virus-Flag: Yes

Alas, clamav doesn't add any headers.  clamav-milter does (usually... unless you do 
--noxheader) but you can't tweak the headers unless you patch the clamav-milter source 
code and rebuild it.  Apparently cgpav adds headers too.  Try "man cgpav", "man 
cgpav.conf", or calling Communigate (I suspect their Pro product is not open source so 
you probably can't fix it yourself if they don't offer this feature)

I reject any email with a found virus so I don't ever have to add a header with a 
virus name.  I use clamav-milter which does include the virus name in the REJECT 
message.

Matthew.van.Eerde (at) hbinc.com                 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to