Am 26.08.2016 um 14:09 schrieb Aggelos:
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.

Gabor


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?

This should work:

smtpd_helo_restrictions = permit_mynetworks,
    check_client_access hash:/etc/postfix/maps/whitelisted_clients,
    reject_invalid_helo_hostname,
    reject_unknown_helo_hostname

--
Alex JOST

Reply via email to