On 26 Aug 2016, at 06:09, Aggelos <marma...@freemail.gr> wrote:
> On 26/08/2016 02:53 μμ, Kiss Gabor (Bitman) wrote:
>>> smtpd_helo_restrictions = permit_mynetworks,
>>>    reject_invalid_helo_hostname,
>>>    reject_unknown_helo_hostname
>> 
>> 
>>> Yet, in the logs I still get these reports (sample on one line):
>>> 
>>> Aug 26 03:37:52 <my hostname> postfix/smtpd[27675]: NOQUEUE: reject: RCPT 
>>> from
>>> spam1.vodafone.gr[213.249.16.2]: 450 4.7.1 <spam1.panafonet.gr>: Helo 
>>> command
>>> rejected: Host not found; from=<onl...@vodafone.gr> to=<my email> 
>>> proto=ESMTP
>>> helo=<spam1.panafonet.gr>
>>> 
>>> What am I missing and/or doing wrong?
>> 
>> See the config snippet above.
>> 
> 
> Are you saying that it goes on with checking and fails later on?
> If so, how can I make postfix accept those IPs after it checks the file 
> /etc/postfix/maps/whitelisted_clients?

The restrictions are pressed in order until there is a result of OK or REJECT.

You are rejecting an unknown helo hostname, so the whitelist is never even 
checked.


Reply via email to