[Pkg-exim4-users] Getting out-bound smtp Mail to Authenticate

Nick Guerette nick at mosaic-industries.com
Fri Aug 21 17:22:05 UTC 2015


Two things:

First, in /etc/exim4/passwd.client
> smtp.suddenlink.net:martin.m at smtp.suddenlink.net:_BIGSECRET_
change the server name at the beginning of the line to use a wildcard, 
to account for the fact that you ultimately are connecting to a server 
like: txofep01.suddenlink.net, and change your login name to your actual 
email address, with only the domain name and not the "smtp" hostname:

*.suddenlink.net:martin.m at suddenlink.net:_BIGSECRET_

Second, if connecting to port 465 you probably need SSL on connect, 
known as SMTPS, and this requires manually editing a conffile, 
/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost if you 
are using split configuration.  Add the line:

    protocol = smtps

See the description of the "protocol" option here:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_smtp_transport.html
Then, regenerate the configuration and restart exim:
dpkg-reconfigure exim4-config
service exim4 restart

Nick Guerette
Embedded Systems Engineer
Mosaic Industries, Inc.
510-790-8222
http://mosaic-industries.com/embedded-systems




More information about the Pkg-exim4-users mailing list