[Pkg-exim4-users] getting authentication to work with a smarthost

Ross Boylan rossboylan at stanfordalumni.org
Wed Jan 13 20:39:26 UTC 2016


Thanks to Nick's suggestions, I got things working.

1.  As mentioned in the thread he referenced, I needed to add
"protocol = smtps" to the transport.  With this change, connection to
port 465 worked and negotiated TLS (as opposed to the the previous
behavior, an immediate disconnection).  I specified port 465
explicitly on the smarthost, but I don't think that was necessary
since the log shows "Transport port=465 replaced by host-specific
port=465".

2.  The account name in passwd.client needed to be in the form
domain\name, since the remote host is Windows.

3. After authenticating I got lots of "Client does not have
permissions to send as this sender" until I set both the envelope
sender and the From: header to match my email edress on the remote
host.  I'm not sure if the From: header matters.



More information about the Pkg-exim4-users mailing list