bug in zmailer queue processing

Mariano Absatz mailscanner at LISTS.COM.AR
Thu May 22 22:18:25 IST 2003


Hi Julian,

I'm putting in production the first MailScanner+ZMailer installation... I
obviously just discovered a bug in our code, thankfully, it was quite easy to
fix...

Would you mind patching ZMailer.pm with this?:

*** ZMailer.pm.ORI      Thu May 22 18:08:36 2003
--- ZMailer.pm  Thu May 22 18:09:49 2003
***************
*** 291,296 ****
--- 291,301 ----
          $message->{from} = lc($from);
          $FROMFound = 1; # We have found the sender
        }
+       if ($Line =~ /^channel error/) {
+         $from = "";
+         $message->{from} = lc($from);
+         $FROMFound = 1; # We have found the (NULL) sender
+       }
        if ($Line =~ /^rcvdfrom /i) {
          $ip = $Line;
          #chomp $ip;




Thanx.

PS: I'll let you know how's it going next week.
--
Mariano Absatz
El Baby
----------------------------------------------------------
Make yourself at home! Clean my kitchen.



More information about the MailScanner mailing list