Whitelist earlier in SMTP conversation? #10

Closed
Synchro opened this Issue Nov 3, 2011 · 1 comment

Projects

None yet

2 participants

@Synchro
Contributor
Synchro commented Nov 3, 2011

I've got some incoming emails bouncing because they don't have reverse DNS set, so they get rejected like this:

Nov  2 23:18:30 mail postfix/smtpd[24054]: NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 450 4.7.1 Client host rejected: cannot find your hostname, [x.x.x.x]; from=<noreply@example.com> to=<me@example.net> proto=ESMTP helo=<mail1.example.com>

I want to receive these, but If I put the IP or name of this server in my whitelist, they still get rejected. Can that be fixed by checking the whitelist earlier? Some other way?

@allard
Collaborator
allard commented Nov 3, 2011

Hi Marcus,

Please have a look in /etc/postfix/main.cf. The reject most likely comes from reject_unknown_client_hostname in smtpd_client_restrictions. You can remove it or add additional whitelists before that if you want. Please post your findings on the mailing list. But it's not a fault as this is how Mailserv was intended to work.

Cheers

Johan

@allard allard closed this Nov 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment