Hi,

I've set up postfix to be the mail relay for a domain so we can
process it through amavis/spamassassin prior to it being forwarded on
to our O365 domain.

I've set up a recipient check to allow relaying for our zendesk
support domain, but for some reason it's still being rejected. Is it
due to the empty envelope sender?

May 12 18:49:41 xavier postfix-117/smtpd[3341387]: NOQUEUE: reject:
RCPT from mail-dm6nam.outbound.protection.outlook.com[104.47.59.171]:
554 5.7.1 <supp...@nnnhelp.zendesk.com>: Relay access denied; from=<>
to=<supp...@nnnhelp.zendesk.com> proto=ESMTP
helo=<NAM12-DM6-obe.outbound.protection.outlook.com>

Our domain is example.com below, and our zendesk support domain is
nnnhelp.zendesk.com.

nnnhelp-zendesk:
/nnnhelp.zendesk.com$/ permit

main.cf:
relay_domains = $mydestination, example.com
        check_recipient_access pcre:$config_directory/nnnhelp-zendesk,

Reply via email to