Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51403

Summary: ssmtp uses STARTTLS before ehlo | exim doesn't accept this
Product: Gentoo Linux Reporter: Hagen Pfeifer <hagen>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hagen Pfeifer 2004-05-18 09:42:47 UTC
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
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2004-06-06 16:10:05 UTC
New version in CVS that fixes this problem.  Thanks to Hagen Paul Pfeifer
for letting me know about the fix.
Comment 2 Sybren Stüvel 2004-09-28 00:56:20 UTC
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.