Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51403 - ssmtp uses STARTTLS before ehlo | exim doesn't accept this
Summary: ssmtp uses STARTTLS before ehlo | exim doesn't accept this
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 09:42 UTC by Hagen Pfeifer
Modified: 2004-09-28 00:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.