> On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni 
> <postfix-us...@dukhovni.org> wrote:
> >
> > > On Dec 20, 2016, at 12:53 AM, Burn Zero <burnze...@gmail.com> 
> > > 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 for sender 
> > > rewrite.
> >
> > You can cause the envelope sender to be logged via the INFO 
> > action of access(5):
> >
> >     main.cf:
> >         smtpd_end_of_data_restrictions =
> >                 check_sender_access static:INFO
> >
On Fri, Dec 23, 2016 at 04:36:56PM +0530, Burn Zero wrote:
> 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; 
> from=<root@host> to=<root@host> proto=SMTP

The INFO action was added to access(5) in Postfix 3.0.  Older 
versions have the functionally-identical "WARN" action.

The presence of a manual page reference should be a hint for you to 
check that manual.  Your own local "man 5 access" has no mention of 
the "INFO" action, but compare that to the online one,
        http://www.postfix.org/access.5.html

BTW you might want to consider looking up this one in your own 
postconf(5) manual, and if you have it, set this:

        main.cf:
            enable_long_queue_ids = yes
-- 
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to