Matt Bryant wrote:
OK am looking to configure a relay server that will relay to any destination if smtp auth used or IP is defined in mynetworks BUT other than that will only relay mail for certain domains/users ...

So have configured dovecot to be used to auth and IPs allowed to relay in a hash db /etc/postfix/networks_external.db ... the problem I see is that even though my smptd_recipient_restrictions are configured as

permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination check_recipient_access hash:/etc/postfix/rfc_addr reject

and I successfully auth OR send from an IP in mynetworks I still get
"Recipient address rejected: User unkown in relay recipient table"

when  trying to send to a recipient not in relay_recipient_maps ....

Correct. Postfix does not accept mail to invalid recipient, regardless of the source of the mail.

Why is this a problem?

  -- Noel Jones

Reply via email to