On 30/12/2019 22:32, Gerben Wierda wrote:
> Now that Finally have a postfix back with actual logging, I noticed this in
> my log:
>
> Dec 30 23:26:09 mail postfix/postscreen[16020]: CONNECT from
> [182.99.42.88]:49546 to [192.168.2.66]:25
> Dec 30 23:26:10 mail postfix/postscreen[16020]: PREGREET 14 after 0.26 from
> [182.99.42.88]:49546: EHLO ylmf-pc\r\n
> Dec 30 23:26:10 mail postfix/smtpd[16048]: connect from unknown[182.99.42.88]
> Dec 30 23:26:10 mail postfix/smtpd[16048]: lost connection after EHLO from
> unknown[182.99.42.88]
<< etc >>
if you set the parameter
postscreen_greet_action = ENFORCE, or
postscreen_greet_action = DROP
these connections will be held back by postscreen, and will not actually reach
postfix.
The ENFORCE option will collect the (envelope) FROM and TO addresses for stats
purposes, if they are proffered.
Hope this helps
Allen C