Hi Marc,

> Looking into it... Looks like an undesired side effect
> of a change in a client-side SMTP pipelining support.

the following patch fixes the problem at least for my
personal needs. The only difference to the old behaviour
is that it simply says

     MTA: ...

instead of

     MTA([123.45.67.89]:25): ...

Cheers,
Thomas Gelf

--- amavisd     2008-04-23 20:50:05.000000000 +0200
+++ amavisd.new 2008-05-21 12:19:18.000000000 +0200
@@ -15668,7 +15668,10 @@
              &$check_mail($conn,$msginfo,$lmtp);  # do all the contents 
checking
            $self->{tempdir}->preserve(0)  if !$preserve_evidence;  # 
clear if ok
            prolong_timer('check done');
-
+          if ($smtp_resp =~ /^2/) {
+            $smtp_resp = "250 2.6.0 Ok, id=" . am_id()
+                       . ", from MTA: " . $smtp_resp;
+          }
            if ($smtp_resp !~ /^4/ &&
                grep { !$_->recip_done } @{$msginfo->per_recip_data}) {
              if ($msginfo->delivery_method eq '') {


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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