Bugs item #3532897, was opened at 2012-06-07 09:46
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3532897&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hasan Mahmood (hmahmood77)
>Assigned to: Daniel Stenberg (bagder)
Summary: SMTP implementation bails on the first invalid email address
Initial Comment:
From the curl-library mailing list:
From: William Betts <william.betts_at_gmail.com>
Date: Wed, 6 Jun 2012 13:02:08 -0700
Below are is the output from setting CURLOPT_VERBOSE, true. It does
appear that it will kill the entire SMTP session if there is 1 invalid
recipient. We really should look into fixing this, because imho it's a
pretty bad bug. Steve would you like me to take a look at this and
attempt to fix it? We could discuss it off list if you wish.
Best Regards,
William
<==== all good rcpt to test BEGIN =====>
* About to connect() to www.redacted.com port 25 (#0)
* Trying 192.168.219.254...
* connected
* Connected to www.redacted.com (192.168.219.254) port 25 (#0)
< 220 ESMTP UCE WILL NOT BE ACCEPTED
> EHLO redacted.com
< 250-redacted.com
< 250-PIPELINING
< 250-SIZE 10240000
< 250-VRFY
< 250-ETRN
< 250-STARTTLS
< 250-ENHANCEDSTATUSCODES
< 250-8BITMIME
< 250 DSN
> MAIL FROM:<curltest_at_redacted.com> SIZE=92
< 250 2.1.0 Ok
> RCPT TO:<william_at_redacted.com>
< 250 2.1.5 Ok
> DATA
< 354 End data with <CR><LF>.<CR><LF>
* We are completely uploaded and fine
< 250 2.0.0 Ok: queued as 8D5A1158132
* Connection #0 to host www.redacted.com left intact
> QUIT
< 221 2.0.0 Bye
* Closing connection #0
<==== all good rcpt to test END =====>
<==== 1 bad and 1 good rcpt to test BEGIN =====>
* About to connect() to www.redacted.com port 25 (#0)
* Trying 192.168.219.254...
* connected
* Connected to www.redacted.com (192.168.219.254) port 25 (#0)
< 220 ESMTP UCE WILL NOT BE ACCEPTED
> EHLO redacted.com
< 250-redacted.com
< 250-PIPELINING
< 250-SIZE 10240000
< 250-VRFY
< 250-ETRN
< 250-STARTTLS
< 250-ENHANCEDSTATUSCODES
< 250-8BITMIME
< 250 DSN
> MAIL FROM:<curltest_at_redacted.com> SIZE=92
< 250 2.1.0 Ok
> RCPT TO:<william_at_redacted.com>
< 250 2.1.5 Ok
> RCPT TO:<asdfa8f8asdf_at_redacted.com>
< 550 5.1.1 <asdfa8f8asdf_at_redacted.com>: Recipient address rejected:
User unknown in local recipient table
* Access denied: 550
> QUIT
< 221 2.0.0 Bye
* Closing connection #0
Access denied: 550
<==== 1 bad and 1 good rcpt to test END ====>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-06
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Date: 2012-06-11 13:36
Message:
This is being discussed on the mailing list already, but nobody seems to
work on it. Feel free to suggest a patch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3532897&group_id=976
Received on 2012-06-11