| |||||||||||||||||||||||||||||
|
James D. Parra wrote: > Hello, > > How can I whitelist a domain or IP address that is being rejected at the > Helo command? > > From the log; > <snip> > Apr 8 14:07:17 postfix postfix/smtpd[23973]: NOQUEUE: reject: RCPT from > intentweb1.emsystem.co.uk[212.49.203.243]: 504 <intentweb1>: Helo command > rejected: need fully-qualified hostname; > from=<www-data> to=<user@example> proto=ESMTP > helo=<intentweb1> > <snip> > > I have the following in my main.cf > > <snip> > smtpd_helo_restrictions = reject_non_fqdn_hostname, > reject_invalid_hostname, permit > <snip> > > Thank you in advance, > > James Whitelist the client before the check that would otherwise reject them. In this case: # main.cf smtpd_helo_restrictions = check_client_access hash:/etc/postfix/client_whitelist reject_non_fqdn_hostname reject_invalid_hostname # client_whitelist 212.49.203.243 OK Be sure to "postmap client_whitelist" after editing the whitelist file, and run "postfix reload" after editing main.cf. Note this client might be rejected by rules you have in smtpd sender or recipient restrictions. You may need to put the same whitelist in those restriction lists also. If you need further help, please post current log entries and output of "postconf -n" -- Noel Jones
| ||||||||||||||||||||||||||||
© 2004-2010 readlist.com