deconya wrote:
Hi list

Im looking diferent options to configure postfix main.cf <http://main.cf> and I see the reject_unknown_client. I don't know if it's recomended because my postfix server is used for external clients and more uses connections with dynamic IP. If I put this, where goes, in smtp_recipient_restrictions or smtp_client_restrictions?

Thanks

{press the [plain text] button when posting from gmail}

reject_unknown_client (with postfix < 2.3, named reject_unknown_client_hostname) is known to reject legit mail. Use with caution. You can try it out with:
  warn_if_reject reject_unknown_client_hostname
for a period of time to log clients what would be rejected, without actually rejecting them.
http://www.postfix.org/postconf.5.html#reject_unknown_client_hostname
http://www.postfix.org/postconf.5.html#warn_if_reject

It can be used under any of the smtpd_*_restrictions. The "best" place depends on your other restrictions and what you intend to accomplish. A "typical" usage might look something like:
smtpd_recipient_restrictions =
  permit_mynetworks
  permit_sasl_authenticated
  reject_unauth_destination
  reject_unknown_client_hostname
  ... other UCE rules ...


  -- Noel Jones

Reply via email to