Stefan, > need the same quoting for $mailfrom_recip_q (about 20 lines > below that code), too.
You are right, thanks for spotting the omission! Here is an additional patch for that section: --- amavisd.orig 2008-12-15 01:50:09.000000000 +0100 +++ amavisd 2009-04-02 16:57:16.000000000 +0200 @@ -12566,10 +12566,10 @@ $hdrfrom_recip = expand_variables($hdrfrom_recip); my($mailfrom_recip_q); - if (defined $mailfrom_recip) { - $mailfrom_recip_q = qquote_rfc2821_local($mailfrom_recip); - } else { # defaults to email address in hdrfrom_notify_recip + if (!defined($mailfrom_recip)) { + # defaults to email address in hdrfrom_notify_recip $mailfrom_recip_q = (parse_address_list($hdrfrom_recip))[0]; $mailfrom_recip = unquote_rfc2821_local($mailfrom_recip_q); } + $mailfrom_recip_q = qquote_rfc2821_local($mailfrom_recip); my($notification) = Amavis::In::Message->new; $notification->rx_time($msginfo->rx_time); # copy the reception time Mark ------------------------------------------------------------------------------ _______________________________________________ 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/