Add a connector in Exchange online and allow SMTP from the servers outgoing IP, then try adding the
smtp host in Zammad GUI under Emails - Notifications just using smtp host and port 25 and no user.
I’ve checked that I can use telnet to send/relay emails from the same outgoing IP so it seems that Zammad sends some additional info in the outgoing SMTP?
Yes, I know that opt 3 is the “hardest” but in this case the only alternative as opt 1 isn’t possible due to modern auth and opt 2 only allows recpt in the same org. And alt 3 works as intended for other systems. Right now the workaround is to relay using postfix but just wanted to see if anyone else has solved this.
No agents externally but as I understand for instance user password reset requests uses this channel also?
The email - settings sender address is set to a valid address domain.
Not sure if I follow “Then there’s the issue.” ?
It is set to a valid sender address on the correct domain ie. noreply@<mydomain.com> and I’ve verified sending through this connector using telnet from the same source IP towards O365 and with "mail from: " and that works as expected.
Looks like it’s on Microsoft end.
Either some requirements to send through the connector are not fulfilled or the email from & to are not in allowed scopes.
Verifying this only works on e.g. telnet if you ensure to test the exact scenario Zammad is doing.
Maybe Zammad tried to notify a customer outside or your tennant which may not be allowed?