- Package:
- logcheck-database
- Source:
- logcheck
- Submitter:
- Markus Treinen
- Date:
- 2011-10-12 12:54:15 UTC
- Severity:
- wishlist
Hi, after upgrading Postfix from 2.7.1-1 to 2.8.1-1 (using testing) parts of the log format from postfix/smtpd have changed. This problem only seems to trigger when accepting connections in smtpd using XFORWARD (http://www.postfix.org/XFORWARD_README.html), for example when Amavisd-new reinjects mail to postfix. The new log lines look like this: Mar 9 15:15:53 hostname postfix/smtpd[5100]: 056DA13C1C0: client=localhost[127.0.0.1], orig_client=host.domain.tld[1.2.3.4] In version 2.7.1-1, the whole orig_client part was missing. Please adjust the rules for Postfix accordingly. Best regards, Markus
also sprach Markus Treinen <markus@treinen.name> [2011.03.09.1702 +0100]: Please send us a tested patch!
also sprach Markus Treinen <markus@treinen.name> [2011.03.09.1702 +0100]: Please send us a tested patch!
Hi, after examining the code for postfix/smtpd, the following parameters for that specific log line can be present: client, sasl_method, sasl_username, sasl_sender, orig_queue_id, orig_client "client" is always present, the others are added where applicable, but always in the order explained above. There have been three different regexps, which can be covered in one. Please see the attached patch file for details. Best regards, Markus
Hi, I'd like to confirm that Markus' patch works great. Thank you Markus. Please consider this patch for inclusion in the official package. Regards, Simon