While trying to setup exim to smarthost to authsmtp.com TLS just will not turn off even with all the right options in the macro.

Finally I found this :

http://biostat.mc.vanderbilt.edu/wiki/Main/VikingNotes#Exim4

Exim4 configuration sucks. It took me 3 or 4 hours to figure this out.

Exim4 and TLS don’t work together well, apparently. To make exim work correctly, edit /etc/exim4/exim4.conf.template and add this line just under the driver line in remote_smtp_smarthost section, so that it looks something like this:

remote_smtp_smarthost:
debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
driver = smtp
hosts_avoid_tls = *
hosts_try_auth = ${if exists {CONFDIR/passwd.client}{DCsmarthost}{}}
tls_tempfail_tryclear = false
DEBCONFheaders_rewriteDEBCONF
DEBCONFreturn_pathDEBCONF

Re-run update-exim4.conf and then restart exim4.

Advertisement