Author |
|
atagaew Newbie
Joined: 26 June 2011 Location: Ukraine
Online Status: Offline Posts: 5
|
Posted: 28 June 2011 at 4:20am | IP Logged
|
|
|
Hey.
I'm using Mailbee.NET.SMTP of version 6.6.2.250.
I'm trying to send out email with DSN to smtp.gmail.com.
In my code I made everything exactly, like wrote in the article
When my code calls mailer.Connect and then asks is the SMTP supports DSNs, the Mailbee returns "No".
Though, when I review logs generated by Mailbee, i see that SMTP answers properly on EHLO command. I read in the spec, that when the SMTP answers properly on EHLO command, it means that it supports DSNs.
So, mailbee things that gmail.com NOT supports DSNs, but it seems that it does.
Can you review my logs and tell me if i wrong or not and what should i do ?
[06/28/2011 14:09:19.17] [INFO] [0001] [SMTP-00................] Assembly version: 6.6.2.250.
[06/28/2011 14:09:19.16] [INFO] [0001] [SMTP-00................] Will resolve host "smtp.gmail.com".
[06/28/2011 14:09:19.28] [INFO] [0001] [SMTP-00................] Host "smtp.gmail.com" resolved to IP address(es) 74.125.39.109.
[06/28/2011 14:09:19.28] [INFO] [0001] [SMTP-00................] Will connect to host "smtp.gmail.com" on port 587.
[06/28/2011 14:09:19.33] [INFO] [0001] [SMTP-00................] Socket connected to IP address 74.125.39.109 on port 587.
[06/28/2011 14:09:19.37] [RECV] [0001] [SMTP-00................] 220 mx.google.com ESMTP y14sm59260fah.37\r\n
[06/28/2011 14:09:19.38] [INFO] [0001] [SMTP-00................] Connected to mail service at host "smtp.gmail.com" on port 587 and ready.
[06/28/2011 14:09:19.40] [INFO] [0001] [SMTP-00................] Will send Hello command (HELO or EHLO).
[06/28/2011 14:09:19.41] [SEND] [0001] [SMTP-00................] EHLO pdr.net\r\n
[06/28/2011 14:09:19.57] [RECV] [0001] [SMTP-00................] 250-mx.google.com at your service, [194.110.126.226]\r\n250-SIZE 35882577\r\n250-8BITMIME\r\n250-STARTTLS\r\n250 ENHANCEDSTATUSCODES\r\n
[06/28/2011 14:09:19.58] [INFO] [0001] [SMTP-00................] SMTP Hello completed.
[06/28/2011 14:09:19.58] [INFO] [0001] [SMTP-00................] Notify server that we are ready to start TLS/SSL negotiation.
[06/28/2011 14:09:19.58] [SEND] [0001] [SMTP-00................] STARTTLS\r\n
[06/28/2011 14:09:19.62] [RECV] [0001] [SMTP-00................] 220 2.0.0 Ready to start TLS\r\n
[06/28/2011 14:09:19.89] [INFO] [0001] [SMTP-00................] Will send Hello command (HELO or EHLO).
[06/28/2011 14:09:19.89] [SEND] [0001] [SMTP-00................] EHLO pdr.net\r\n
[06/28/2011 14:09:19.93] [RECV] [0001] [SMTP-00................] 250-mx.google.com at your service, [194.110.126.226]\r\n250-SIZE 35882577\r\n250-8BITMIME\r\n250-AUTH LOGIN PLAIN XOAUTH\r\n250 ENHANCEDSTATUSCODES\r\n
[06/28/2011 14:09:19.93] [INFO] [0001] [SMTP-00................] SMTP Hello completed.
[06/28/2011 14:09:19.94] [INFO] [0001] [SMTP-00................] Will login as "rx.manufacturer".
[06/28/2011 14:09:19.94] [INFO] [0001] [SMTP-00................] Will try SASL LOGIN authentication method.
[06/28/2011 14:09:19.94] [SEND] [0001] [SMTP-00................] AUTH LOGIN\r\n
[06/28/2011 14:09:19.99] [RECV] [0001] [SMTP-00................] 334 VXNlcm5hbWU6\r\n
[06/28/2011 14:09:19.99] [SEND] [0001] [SMTP-00................] ********\r\n
[06/28/2011 14:09:20.03] [RECV] [0001] [SMTP-00................] 334 UGFzc3dvcmQ6\r\n
[06/28/2011 14:09:20.03] [SEND] [0001] [SMTP-00................] ********\r\n
[06/28/2011 14:09:20.67] [RECV] [0001] [SMTP-00................] 235 2.7.0 Accepted\r\n
[06/28/2011 14:09:20.67] [INFO] [0001] [SMTP-00................] Logged in as "rx.manufacturer".
[06/28/2011 14:09:20.67] [INFO] [0001] [SMTP-00................] Will send mail message to SMTP server "smtp.gmail.com".
[06/28/2011 14:09:20.74] [INFO] [0001] [SMTP-00................] Will submit sender and recipients.
[06/28/2011 14:09:20.74] [SEND] [0001] [SMTP-00................] MAIL FROM:<RxEvent-int@pdr.net>\r\n
[06/28/2011 14:09:20.78] [RECV] [0001] [SMTP-00................] 250 2.1.0 OK y14sm59260fah.37\r\n
[06/28/2011 14:09:20.79] [SEND] [0001] [SMTP-00................] RCPT TO:<tagaew@gmail.com>\r\n
[06/28/2011 14:09:20.83] [RECV] [0001] [SMTP-00................] 250 2.1.5 OK y14sm59260fah.37\r\n
[06/28/2011 14:09:20.83] [INFO] [0001] [SMTP-00................] Sender and recipients accepted by SMTP server. Will send message data now.
[06/28/2011 14:09:20.83] [SEND] [0001] [SMTP-00................] DATA\r\n
[06/28/2011 14:09:21.72] [RECV] [0001] [SMTP-00................] 354 Go ahead y14sm59260fah.37\r\n
[06/28/2011 14:09:21.72] [SEND] [0001] [SMTP-00................] MIME-Version: 1.0\r\nX-Mailer: MailBee.NET 6.6.2.250\r\nTo: tagaew@g ... intable\r\n\r\ntest\r\n------=_NextPart_000_CAA6_19233DBE.6987B6C5--\r\n [Data chunk of 762 bytes sent.]
[06/28/2011 14:09:21.72] [SEND] [0001] [SMTP-00................] \r\n.\r\n
[06/28/2011 14:09:22.76] [RECV] [0001] [SMTP-00................] 250 2.0.0 OK 1309259356 y14sm59260fah.37\r\n
[06/28/2011 14:09:22.77] [INFO] [0001] [SMTP-00................] Message successfully submitted to SMTP server.
As you can see, Mailbee don't add NOTIFY command to RCPT command. Probably its because it thinks that the SMTP does not supports it.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 28 June 2011 at 4:46am | IP Logged
|
|
|
From the logs, I don't see any indication of DSN support. The server replies that it supports the following extensions:
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH
250 ENHANCEDSTATUSCODES
No DSN here.
Regards,
Alex
|
Back to Top |
|
|
atagaew Newbie
Joined: 26 June 2011 Location: Ukraine
Online Status: Offline Posts: 5
|
Posted: 28 June 2011 at 7:25am | IP Logged
|
|
|
Right, but according to rfc it should not write any friendly message, just accept EHLO command. Am i wrong ?
Can you give me an example of answer from SMTP server that supports DSNs ?
Thanks a lot!
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 28 June 2011 at 8:33am | IP Logged
|
|
|
Actually, this RFC states this:
Quote:
If the server responds
with code 250 to the EHLO command, and the response includes the EHLO
keyword DSN, then the Delivery Status Notification extension (as
described in this memo) is supported.
|
|
|
I'm not aware of the servers supporting DSN at the moment. We ourselves disabled it a week ago because spammers recently started using a new kind of spamming technique based on delivering spam through DSNs.
regards,
Alex
|
Back to Top |
|
|