Author |
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 20 January 2012 at 8:44am | IP Logged
|
|
|
Hi all, I've recenlty set-up a Wbmail Lite (ASP) on a hmailserver.
The sytems run very well, but I've found a bug.
Using the italian interface, when i click on the return receipt, the mail seems to start.
But, after few hours, an error message come back from the SMTP instance:
------------------
Your message did not reach some or all of the intended recipients.
Sent: Fri, 20 Jan 2012 12:51:27 +0100
Subject: Return Receipt (displayed)
The following recipient(s) could not be reached:
user@domain.it>
Error Type: SMTP
Error Description: Unable to find the recipients email server. The DNS query has failed.
Tried 5 time(s)
------------------
I think that the html code for the return recipt is adding an extra ">" at the end of the mail address so the mail server could not resolve the domain name.
If someone at afterlogic is interested in fixing this bug i'm available for testing.
Regards,
Marco
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 20 January 2012 at 8:46am | IP Logged
|
|
|
Sorry the HTML code hits again...
It's not >
I'll write it with spaces.
It's: & g t
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 21 January 2012 at 12:11am | IP Logged
|
|
|
Well, ASP.NET edition of WebMail Lite was not updated in a while. Would be great if you can confirm whether the issue occurs for the Pro version as well.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 22 January 2012 at 2:29am | IP Logged
|
|
|
Hi Igor, same exact issue with the pro version.
The return recitpt adds an extra "& g t" at the end of the message.
Regards,
Marco
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 January 2012 at 12:43am | IP Logged
|
|
|
Thanks for letting us know. I've tested this with two addresses in the same domain, and it worked as expected. The relevant portion of the log file doesn't contain any extra characters:
Code:
...
[12:38:42.40] [INFO] Logged in as "testing@afterlogic.com".
[12:38:42.40] [INFO] Will send mail message to SMTP server "mail.afterlogic.com".
[12:38:42.40] [INFO] Will submit sender and recipients.
[12:38:42.40] [SEND] MAIL FROM:<testing@afterlogic.com>\r\n
[12:38:42.41] [SEND] RCPT TO:<igor@afterlogic.com>\r\n
[12:38:42.66] [RECV] 250 OK\r\n
[12:38:42.67] [RECV] 250 Accepted\r\n
... |
|
|
Please make sure that you don't have any protective software (firewall, antivirus, antispam) breaking data coming through, you might want to disable such software temporarily for testing purposes.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 23 January 2012 at 1:48am | IP Logged
|
|
|
Sorry I'm a newbie about afterlogic webmail
Where can i find this log file?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 January 2012 at 3:26am | IP Logged
|
|
|
Check this documentation page for more info. ASP.NET version has two types of logging, and in my previous post, I was speaking of email protocols logging enabled in AdminPanel.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 23 January 2012 at 3:32am | IP Logged
|
|
|
Ok, I'll enable logging, reproduce the issue, ad trace what's happening.
I'll also try to disable the AV software and see if the problem disappears.
I'll let you know, thanks.
Regards,
Marco
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 23 January 2012 at 9:26am | IP Logged
|
|
|
That's my log result with and without AV software enabled:
--------------------------------------------
[18:13:54.90] [INFO] Logged in as "fack@mlhouse.it".
[18:13:54.90] [INFO] Will send mail message to SMTP server "localhost".
[18:13:54.95] [INFO] Will submit sender and recipients.
[18:13:54.95] [SEND] MAIL FROM:<fack@mlhouse.it>\r\n
[18:13:54.95] [RECV] 250 OK\r\n
[18:13:54.97] [SEND] RCPT TO:<Marco Lelli <>\r\n
[18:13:54.97] [RECV] 550 A valid address is required.\r\n
[18:13:54.98] [INFO] Warning: The server rejected the given recipient. The server responded: 550 A valid address is required..
[18:13:54.98] [SEND] RCPT TO:<Marco.Lelli@progel.it>>\r\n
[18:13:55.00] [RECV] 250 OK\r\n
[18:13:55.00] [INFO] Sender and recipients accepted by SMTP server. Will send message data now.
[18:13:55.01] [SEND] DATA\r\n
[18:13:55.01] [RECV] 354 OK, send.\r\n
[18:13:55.01] [SEND] MIME-Version: 1.0\r\nX-Mailer: MailBee.NET 6.6.2.262\r\nFrom: fack@m ... destinatario abbia letto o compreso il contenuto del messaggio. [Data chunk of 734 bytes sent.]
[18:13:55.03] [SEND] \r\n.\r\n
[18:13:55.09] [RECV] 250 Queued (0.015 seconds)\r\n
[18:13:55.11] [INFO] Message successfully submitted to SMTP server.
[18:13:55.11] [SEND] QUIT\r\n
[18:13:55.12] [RECV] 221 goodbye\r\n
[18:13:55.12] [INFO] Will disconnect from host "localhost".
-----------------------------------------------------
I'm using an external account to test the mail with return receipt.
I've also tried to change skin, language and time format to default.
Always the same result.
Maybe a regional setting issue on my server?
The server is a Windows 2008 R2 English with regional option set to Italy.
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 23 January 2012 at 9:46am | IP Logged
|
|
|
Also tried to set regional options to english and I've got the same issue.
The issue comes out only on return receipt, regular outbound message are sent without any problem.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 January 2012 at 1:22am | IP Logged
|
|
|
At a glance, that looks like a problem with recipient friendly name not being recognized properly. If you have it set for sender, please check if it has any commas there as there's a chance the original sender address is split into 2 parts and WebMail attempts to send read receipt to 2 addresses. If you supply empty value for sender's friendly name in settings, does that help?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 24 January 2012 at 3:25am | IP Logged
|
|
|
I've found the condition that is raising the issue, looking at the received mail header.
I've seen different result related to the "From:" field.
If the FROM: filed contains the quotation marks, eg:
From: "Name Surname" <Name.Surname@domain.com>
Than the return receipt works well and also a reply to the email.
If the FROM: filed doesn't contains the quotation marks, eg:
From: Name Surname <Name.Surname@domain.com>
Than the return receipt doesn't works but a reply to the email works well.
I think it may help to understand the issue,
Marco
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 January 2012 at 12:41am | IP Logged
|
|
|
OK, if you find what should be done about this on the code level, please share it on the forum.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mlelli Newbie
Joined: 20 January 2012
Online Status: Offline Posts: 10
|
Posted: 27 January 2012 at 3:25am | IP Logged
|
|
|
My suspect is that the reply function is using the "return path:" field (and it works all times), instead of the return receipt function that is usi the "from:" fied and genereate the error condition.
Is that checkable and/or changebale easily?
Could you please drive me to the right files?
Marco
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 January 2012 at 4:04am | IP Logged
|
|
|
Read confirmation is sent to email address specified in X-Confirm-Reading-To header, and presense of the header itself actually means that confirmation was requested by sender.
The method responsible for sending out the confirmation is SendConfirmationMessage located in XmlPacketManager.cs file.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
bitpuffa Newbie
Joined: 23 November 2012
Online Status: Offline Posts: 1
|
Posted: 23 November 2012 at 1:55pm | IP Logged
|
|
|
I know it's an old post, but if can help I managed this way:
don't touch XmlPacketManager.cs
instead pick file mail-handlers.js (located in /js/mail folder)
find function SendConfirmationHandler(toAddr, subject)
and replace GetCData(toAddr) with GetCData(HtmlDecode(toAddr))
tested on Firefox and IE it seems to work.
Bitpuffa
|
Back to Top |
|
|