Bug 3487 - by not waiting for 220 sendmail butchers SMTP standard
Summary: by not waiting for 220 sendmail butchers SMTP standard
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 02:58 UTC by Jasen
Modified: 2011-09-18 01:04 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasen 2011-03-16 02:58:47 UTC
http://tools.ietf.org/html/rfc2821#section-3.2

BB doesn't wait for the server to send 220

some servers delay the 220 to trap badly written clients (typically spammers)
they block BB too :(

sendmail,c near the comment "wait for initial server OK"

the comments sugggest that changes to the TLS code are needed before this can be fixed :(
Comment 1 Denys Vlasenko 2011-09-18 01:04:23 UTC
Fixed in git:

commit 34c469ae0495bb010969eb920c63d31ed4a0e793
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Sun Sep 18 03:01:49 2011 +0200

    sendmail: don't talk until 220 code is seen. Closes 3487



Will go into 1.20.x

Unfortunately, the fix affects only the mode without -H 'comm helper', since we don't know whether comm helper is a program which does STARTTLS and therefore eats code 220...