Alex,
> I recently upgraded from AmavisD 2.3 to 2.4.1. Everything works fine,
> except when I receive mails that AmavisD tags with X-Amavis-Alert: BAD
> HEADER. What happens is that while the mail still gets properly tagged,
> a second mail, which is essential empty, is being wrongly send to the
> original receiver. Log files: ...
Thanks, a bug indeed. It will be fixed in 2.4.2 in few days:
- when recipient notifications for bad headers is enabled, and a message
is spam with bad headers, recipient would receive an empty notification
message (because message contents category is spam and recipient
notification template for spam is empty); now a general recipient
notification is sent in this case, and additional check added to ensure
that empty notifications would not be send even if explicitly configured
to be empty; reported by Alex;
Meanwhile, you may apply the following trivial patch (remove one line):
--- amavisd~ Mon May 8 18:23:50 2006
+++ amavisd Mon Jun 19 15:49:27 2006
@@ -1123,3 +1123,2 @@
%notify_recips_templ_by_ccat = (
- CC_SPAM, sub { cr('notify_spam_recips_templ') },
CC_CATCHALL, sub { cr('notify_virus_recips_templ') },
Mark
_______________________________________________
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/