Robert Brooks wrote:
MrC wrote:
Rob,

I have not seen the ":unknown" port in my logs nor had others report this, so I suppose it is the less common pre-queue setup that is the difference.

I always was the wierdo :)

I'm about to update postfix-logwatch with some other fixes/features. If this is still an issue for you, I can provide a fix for this.

it is, it appears with postfix-2.5 and amavis earlier than 2.6 that this information doesn't make it across in the xforward data (after 2.6 you get a port number)

my unmatched entries look like this:

1 Mar 19 05:14:25 ops postfix/smtpd[9421]: B1C4B18292: client=mailer3.dailycandy.com[206.252.143.118]:unknown

1 Mar 19 04:35:39 ops postfix/smtpd[9232]: Anonymous TLS connection established from mxpool12.ebay.com[66.135.197.18]: TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)

Thanks. Patch to 1.36.13pre7 attached. It will also be included in the next (pre8) release.

MrC

btw. I just updated amavis-logwatch as well.

excellent, thanks, I will pick that up.

Regards,

Rob
--- postfix-logwatch.orig       2008-03-20 09:40:28.000000000 -0700
+++ postfix-logwatch    2008-03-20 09:41:51.000000000 -0700
@@ -1896,6 +1896,7 @@
       }
 
       elsif ($p2 =~ /^client=(([^ ]*)\[([^ ]*)\](?::\d+)?)(?:, (.*))?$/o) {
+      elsif ($p2 =~ /^client=(([^ ]*)\[([^ ]*)\](?::(?:\d+|unknown))?)(?:, 
(.*))?$/o) {
          my ($hip,$host,$hostip,$p3) = ($1,$2,$3,$4);
 
          # Increment accepted when the client connection is made and smtpd has 
a QID.
-------------------------------------------------------------------------
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
[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/

Reply via email to