#1116 SMTP implementation bails on the first invalid email address

closed-later
libcurl (356)
5
2015-01-20
2012-06-07
No

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

Discussion

  • Hasan Mahmood

    Hasan Mahmood - 2012-06-07
    • milestone: --> wrong_behaviour
    • labels: --> libcurl
     
  • Daniel Stenberg

    Daniel Stenberg - 2012-06-11

    This is being discussed on the mailing list already, but nobody seems to work on it. Feel free to suggest a patch.

     
  • Daniel Stenberg

    Daniel Stenberg - 2012-06-11
    • assigned_to: nobody --> bagder
     
  • Daniel Stenberg

    Daniel Stenberg - 2012-07-08
    • status: open --> closed-later
     
  • Daniel Stenberg

    Daniel Stenberg - 2012-07-08

    Since nobody is working on a fix, this is now added as known bug #79 and is closed hopefully fixed "later".

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks