Thanks Thomas, it works!! Cheers,
JM On Fri, 31 Mar 2023 at 22:16, Thomas Bohl <opensmtpd-misc-64...@aloof.de> wrote: > Hello, > > > action "relay" relay host smtp+tls://smtp.office365.com:587 > > auth <secrets> > > the relay-url is missing the label. > > man smtpd.conf > ... > The format for relay-url is > [proto://[label@]]host[:port]. > ... > The label corresponds to an entry in a credentials table, > as documented in table(5). It is used with the > “smtp+tls” and “smtps” protocols for authentication. > ... > > This should work: > > action "relay" relay host smtp+tls://msexcha...@smtp.office365.com:587 > auth <secrets> > > cat /etc/mail/secrets: > msexchange ad...@mydomain.com.au:*password* > > >