Stefan,

> we are currentky using amavisd-new
> 1:2.6.1.dfsg-2ubuntu1.1 together with clamav-0.95.3 on a Ubuntu 8.10.
> 
> Clamav correctly detects viruses and amavis saves them in the quaratine
> directory. But when I check the mail header, I only find the following
> line:
> X-Amavis-Alert: INFECTED, message contains virus:
> 
> But obviously the information is available:
>   # clamscan virus-Z9gibQOfpP8M virus-Z9gibQOfpP8M: Trojan.Agent-128254 
FOUND

> How do make amavis report the name of the virus, too?

Is clamd your only scanner?  (the virus name comes from the first
scanner in the @av_scanners list which reports infection).
What is your entry for clamd in @av_scanners, in particular
pay attention to the last argument in the entry, which should be:

  qr/^.*?: (?!Infected Archive)(.*) FOUND$/m

Perhaps you are missing the trailing 'm' ?

If that does not help, show debugging at level 5 and tell us
what version of amavisd and perl are you using.

  Mark

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
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