Hello

I would like to accept mail from only one domain "smtp.domaineok.com"

This is my main.cf

smtpd_helo_restrictions = check_helo_access hash:/etc/postfix/helo_access,
reject_invalid_hostname,
reject_unknown_hostname,
reject_non_fqdn_hostname,

smtpd_recipient_restrictions =
  permit_mynetworks,
  check_client_access hash:/etc/postfix/helo_access,
  permit_sasl_authenticated,
  reject_unauth_destination,
  reject_non_fqdn_recipient,
  reject_unknown_recipient_domain,
  reject_non_fqdn_helo_hostname,
  reject_invalid_helo_hostname
  reject_unlisted_recipient,
  reject_rbl_client zen.spamhaus.org,
  reject_rbl_client bl.spamcop.net


and my :/etc/postfix/helo_access is

smtp.domaineok.com OK
* REJECT

But it doesn't work, every domaine is accepted.

Any suggestion ?



Emmanuel RIZZI


Reply via email to