Thank you Noel, again :-) 

 

Based on my loglines i found that; 

 

postfix/ [smtp/smtpd/postscreen]  show [client-hostname or unknown] IP  

(*always unknown if A/PTR mismatches in client hostname OR helo hostname)

 

postfix/ cleanup  (header Received) show from helo-hostname (client-hostname 
[IP]) 

 

Any i missed? 

 

Thank your for this one. 

check_client_access static:INFO 

Thats very usefull for me.

 

Now, big thread for a small thing, i hope lots of others profit from it. :-) 

 

 

Greetings, 

 

Louis

 

 

 

 

 

> -----Oorspronkelijk bericht-----

> Van: njo...@megan.vbhcs.org [mailto:owner-postfix-us...@postfix.org]

> Namens Noel Jones

> Verzonden: maandag 19 december 2016 17:43

> Aan: postfix-users@postfix.org

> Onderwerp: Re: request improved logging for postfix.

> 

> 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 available.  The HELO name is only logged

> with a rejection or error.

> 

> The HELO name is recorded in the Received: header added to mail.

> 

> If you want to always see the HELO in the logs, you can force a log

> entry with "check_client_access static:INFO" in your

> smtpd_recipient_restrictions.

> 

> something like:

> # main.cf

> smtpd_recipient_restrictions =

>   check_client_access static:INFO

>   ... other checks ...

> 

> 

> 

> 

>   -- Noel Jones

 

Reply via email to