Hi, > > relay_domains = $mydestination, example.com > > check_recipient_access pcre:$config_directory/nnnhelp-zendesk, > > That is not valid relay_domains syntax. For more help, see: > > http://www.postfix.org/DEBUG_README.html#mail
Just to be clear, I forgot to note that the check_recipient_access was part of my smtpd_recipient_restrictions, not relay_domains: smtpd_recipient_restrictions = ... check_recipient_access pcre:$config_directory/nnnhelp-zendesk, /etc/postfix-117/nnnhelp-zendesk: /example\.com$/ permit My problem now, I think, is in allowing the O365 servers responsible for this domain to communicate with my postfix instance to relay mail for our domain. May 12 23:02:35 xavier postfix-117/smtpd[3481802]: NOQUEUE: reject: RCPT from mail-dm6nam10lp2107.outbound.protection.outlook.com[104.47.58.107]: 554 5.7.1 <gar...@gmail.com>: Relay access denied; from=<a...@example.com> to=<gar...@gmail.com> proto=ESMTP helo=<NAM10-DM6-obe.outbound.protection.outlook.com> Their server is not dedicated to us, so I can't add it to relay_domains, but maybe there's a way to allow *.outbound.protection.outlook.com to relay just for our example.com domain?