> 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

I added that as patch 6. Patch 5 is the Perl 5.8.9 taint bug (which is
only required if one is using Perl 5.8.9.

http://www200.pair.com/mecham/spam/amavisd.2.6.2.patch1.txt
http://www200.pair.com/mecham/spam/amavisd.2.6.2.patch2.txt
http://www200.pair.com/mecham/spam/amavisd.2.6.2.patch3.txt
http://www200.pair.com/mecham/spam/amavisd.2.6.2.patch4.txt
http://www200.pair.com/mecham/spam/amavisd.2.6.2.patch5.txt
http://www200.pair.com/mecham/spam/amavisd.2.6.2.patch6.txt

-- 
Gary V

------------------------------------------------------------------------------
_______________________________________________
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/ 

Reply via email to