configuring the email relay for user password reset:
for use via 365
the relay gateway is “smtp.office365.com”
setting user & password works.
But 365 WILL NOT allow spoofing of user details.
relay=smtp.office365.com[18.104.22.168]:25, delay=1.3, delays=0.01/0/0.92/0.38, dsn=5.2.252, status=bounced (host smtp.office365.com[22.214.171.124] said: 554 5.2.252 SendAsDenied; firstname.lastname@example.org not allowed to send as MAILER-DAEMON@mirrors.org.domain.com;
it needs some way of ensuring all teh details match, for it to pass the relay requirements of 365