Thomas, > ok here a "steps to reproduce" and the debug log: > [...] > debug log: > http://pastebin.com/m7e1b8fab > > see "INFECTED" on line 330 and then it goes on delivering mail instead of > blocking it.
I see. Truly a bug, thanks you! The problem was introduced by calling unique_list in sub virus_scan, which happens to discard undef entries and produce an empty list. Here is a patch: --- amavisd~ 2009-04-20 12:23:44.000000000 +0200 +++ amavisd 2009-04-20 12:36:54.000000000 +0200 @@ -20520,5 +20520,5 @@ } or do { $eval_stat = $@ ne '' ? $@ : "errno=$!" }; &$post_code(@_) if defined $post_code; - @virusnames = (undef) if $scan_status && !...@virusnames; # ensure nonempty list + @virusnames = ('') if $scan_status && !...@virusnames; # ensure nonempty list do_log(3,"run_av (%s) result: clean", $av_name) if defined($scan_status) && !$scan_status; Mark ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ AMaViS-user mailing list AMaViS-user@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/