Ssmtp performe a STARTTLS, but does later the EHLO command. Exim says: SMTP protocol error in "STARTTLS" H=pd9eb9ee6.dip.t-dialin.net [217.235.158.230] STARTTLS command used when not advertised SMTP>> 503 STARTTLS command used when not advertised SMTP>> 421 XXX.XXX.XXX.XXX lost input connection Reproducible: Always Steps to Reproduce: 1. mutt -> send 2. tail -f exim.log Actual Results: see details Expected Results: performe a helo/ehlo and LATER a STARTTLS
New version in CVS that fixes this problem. Thanks to Hagen Paul Pfeifer for letting me know about the fix.
You need to add/set the following options in /etc/ssmtp/ssmtp.conf in order for STARTTLS to be used properly: UseTLS=NO UseSTARTTLS=YES The UseSTARTTLS isn't included in the example config file.