cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SMTP recipient issues

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