Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25071 - ssmtp does starttls before ehlo, doesn't work with exim 4.20
Summary: ssmtp does starttls before ehlo, doesn't work with exim 4.20
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 11:42 UTC by Jim Gifford
Modified: 2004-01-18 06:56 UTC (History)
1 user (show)

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 Jim Gifford 2003-07-22 11:42:08 UTC
I use a hosting provider that isn't keen on customer service, and they recently
switched from exim 3.36 to exim 4.20.  Exim 3.36 would permit starttls before
ehlo, 4.20 doesn't.  ssmtp now no longer works for me for tls transfers to my
ISP.  They haven't been responsive.  The RFC isn't clear on whether starttls is
permitted before ehlo or not.  However, if ssmtp would do ehlo before starttls
(as well as after of course to follow the RFC), then I believe it would work
correctly with newer versions of exim.

Unfortunately, my C skills aren't up to the task of patching ssmtp myself, or I
would do so and submit a patch back upstream.
Comment 1 Nick Hadaway 2003-07-25 08:07:30 UTC
okay... RFC3207 basically says that if the mailserver is private (ie. - not the ISP you are dealing with, a mailserver with no MX record in public DNS) that STARTTLS can be required before the EHLO.  If public though... the EHLO should be allowed before STARTTLS.  Strictly speaking, exim appears to be doing things fine, and sSMTP is acting like it is communicating  to a private mailserver.

Looking over ssmtp.c it appears that STARTTLS is always done before EHLO... (as much as 5 minutes of scanning code tells me... unless i missed something, which is possible)

This looks like a bug with ssmtp.
Comment 2 Jim Gifford 2003-08-17 11:07:44 UTC
I just want to add that while I agree this is a bug in ssmtp, I've switched providers and no longer have a need for this to be fixed.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-01-18 06:56:40 UTC
closing