RE: request improved logging for postfix.

2016-12-19 Thread L . P . H . van Belle
Hai,   Well, Thank you Noel, This makes much more sence now.   I was mislead due to the log messages of postfix. My own server has an A/PTR to the hostname and A/MX for helo name. This is the confusing part, at least it was for me. The logs showed me: postfix/smtpd[29331]: connect fro

Make postfix log to show how sender rewriting happens

2016-12-19 Thread Burn Zero
Hi, I'm using postfix SMTP server and I'm rewriting sender and recipient addresses. From the postfix logs, I can see the recipient address rewriting logs, Sep 12 17:23:32 rewritehost postfix/smtp[1223]: 28A6701362: to=, *orig_to*=, relay=relay.host[xxx.xxx.xxx.xxx]:25, delay=56, delays=51/0/4.5/0

Re: Make postfix log to show how sender rewriting happens

2016-12-19 Thread Wietse Venema
Documentation: http://www.postfix.org/ADDRESS_REWRITING_README.html#debugging Command: $ sendmail -f sender -bv recipient Wietse

Re: request improved logging for postfix.

2016-12-19 Thread Noel Jones
On 12/19/2016 3:31 AM, L.P.H. van Belle wrote: > > So when everything is setup correct the helo and hostname ares shown > in the logs, On a normal, accepted connection, the HELO name is never shown in the logs. The client is identified by the source IP and port and verified client hostname if a

Re: Make postfix log to show how sender rewriting happens

2016-12-19 Thread Burn Zero
I guess you didn't get my question. Pardon me if it wasn't clear. I use postfix rewrite feature to rewrite sender and recipient address. When I receive email from outside, my recipient rewrite is done using recipient_canonical file. I also check the same in log, Sep 12 17:23:32 rewritehost postfi