Hello all,

Does anyone have a working configuration to use Exchange Online as a relay?

I've followed Microsoft instructions here:
https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365

I have a working mailbox under ad...@mydomain.com.au and SMTP AUTH is
enabled on the Exchange side.

*smtpd.conf:*
table secrets file:/etc/mail/secrets
listen on 127.0.0.1 port 25
action "relay" relay host smtp+tls://smtp.office365.com:587 auth <secrets>
match from any for any action "relay"

*secrets:*
ad...@mydomain.com.au **password**

I'm getting authentication error.

Any pointer from someone who has it working is appreciated.

Thanks heaps!

Jean-Marc
Sydney, Australia

Reply via email to