Re: Make postfix log to show how sender rewriting happens

2017-01-18 Thread Burn Zero
Thank you so much for the info and it works now. :) On Fri, Dec 23, 2016 at 7:59 PM, /dev/rob0 wrote: > > On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni > > wrote: > > > > > > > On Dec 20, 2016, at 12:53 AM, Burn Zero > > > > wrote: > > > > > > > > As you can see the orig_to parameter shows

Re: Make postfix log to show how sender rewriting happens

2017-01-18 Thread Burn Zero
Thank you viktor. It works fantastically now. On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni wrote: > > > On Dec 20, 2016, at 12:53 AM, Burn Zero wrote: > > > > As you can see the orig_to parameter shows the original id to which > the email was sent and the to= parameter explains the rewrit

Re: Make postfix log to show how sender rewriting happens

2016-12-23 Thread /dev/rob0
> On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni > wrote: > > > > > On Dec 20, 2016, at 12:53 AM, Burn Zero > > > wrote: > > > > > > As you can see the orig_to parameter shows the original id to > > > which the email was sent and the to= parameter explains the > > > rewritten email id. I ca

Re: Make postfix log to show how sender rewriting happens

2016-12-23 Thread Burn Zero
Thank you. But when I use smtpd_end_of_data_restrictions = check_sender_access static:INFO I get, postfix/smtpd[13668]: warning: unknown smtpd restriction: "INFO postfix/smtpd[13668]: 12E9F6420F: reject: END-OF-MESSAGE from host[x.x.x.x]: 451 4.3.5 Server configuration error; fro

Re: Make postfix log to show how sender rewriting happens

2016-12-20 Thread Viktor Dukhovni
> On Dec 20, 2016, at 12:53 AM, Burn Zero wrote: > > As you can see the orig_to parameter shows the original id to which the > email was sent and the to= parameter explains the rewritten email id. I can > clearly see the email rewriting happened. Similarly, I want to get the log > entries f

Re: Make postfix log to show how sender rewriting happens

2016-12-20 Thread Wietse Venema
Burn Zero: > I guess you didn't get my question. Pardon me if it wasn't clear. Yes it was. The pointers that I gave will show you the result of all Postfix address rewriting, without actually sending email. If you want more functionality, you are welcome to contribute the code, or to use a differ

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

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

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