[xmail] Re: Error messages returned to sender replicated
Leanardo: Interesting find about the errors appearing not to be XMail generated - I will have to look into that in more detail by going over the logs when I can get the time. Clement: I use an IP in the cmdalias. The FQDN of the Exchange server resolves only to one IP. Xmail connects to the Exchange server through a M0n0wall firewall/NAT device that is NAT'ing the Exchange server. I don't recall seeing multiple times the same same bounce before upgrading to 1.22 (and now that you brought it up, M0n0wall is a recent addition to the network there as well). I will have to go over the logs as soon as I can to answer your other question about whether or not the bounce is seen on the Exchange side. It sounds like I will need to spend some more time with the logs and testing on this one - I will let you know what I find - thanks for all of your input! Jeff - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
--- Jeff Buehler wrote: From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 2:49 PM To: Jeff Buehler Subject: Error sending message [1137780666750.135234560.3ee.banshee.buehlertech.net] from [buehlertech.net] (...) From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 2:25 PM To: Jeff Buehler Subject: Error sending message [1137780666750.135234560.3ee.banshee.buehlertech.net] from [buehlertech.net] I still use XMail 1.21 but I hardly believe what I am going to say has been changed in XMail 1.22. 1) I could find only one difference between the two errors: the Sent header. However, XMail 1.21 does not include a Sent header; it includes a Date header. Besides that, it uses the RFC 2822 compliant date string; not a locale's date like those. 2) XMail 1.21 includes other headers (X-MessageId, X-SmtpMessageId, X-MailerServer, X-MailerError...) which are not presented in those errors. As I could see from the source code of 1.22, the same headers are included. 3) I miss the PeekTimes, section [04] of the error. Again, I could find them in the source code of 1.22. So, those error messages were probably re-generated by other MTA. Hope it helps. Regards. ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
Hmmm - ok, let me look at this a little deeper (and thanks for your input!). In answer to your questions: Exchange has its own domain, but only handles internal email (so outbound is Exchange - ASSP - (clamSMTP) - Xmail - INTERNET or inbound is INTERNET-ASSP - (clamSMTP) - XMail - Exchange). Xmail does forward the error messages to Exchange by using smtprelay in cmdalias - it does not actually have a mail account for the Exchange user, it just relays. Postmaster does receive errors as well, but they seem inconsistent with the others - I need to research this point a bit more and see if I am receiving more than 1 error to this account as well, but I don't think I am. It appears that I am not getting one email for each failure - rather, it appears to be some random number of bounce emails (sometimes 3, sometimes 5, and so on). Two complete examples (from the same failure) follow: From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 1:03 PM To: Jeff Buehler Subject: Error sending message [1137780666750.135234560.3ee.banshee.buehlertech.net] from [buehlertech.net] [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] [01] Error sending message [1137780666750.135234560.3ee.banshee.buehlertech.net] from [buehlertech.net]. ID:S75A16 Mail From: [EMAIL PROTECTED] Rcpt To: [EMAIL PROTECTED] Server:delmone.com [delmone.com] [02] The reason of the delivery failure was: The maximum number of delivery attempts has been reached [05] Here is listed the initial part of the message: Received: from BuehlerTechAntiSpam ([127.0.0.1]:58144) by antispam.buehlertech.net ([127.0.0.1]:25) with [XMail 1.22 ESMTP Server] id S75A16 for [EMAIL PROTECTED] from [EMAIL PROTECTED]; Fri, 20 Jan 2006 10:11:04 -0800 Received: from 71.134.90.35 ([71.134.90.35] helo=mail.interoceanss.com) by BuehlerTechAntiSpam ; 20 Jan 06 18:11:02 - MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=_=_NextPart_001_01C61DEC.DE69A4EC Subject: test4 Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 20 Jan 2006 10:11:00 -0800 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: test4 Thread-Index: AcYd7N33dm49C2YAQOGUDPl2HKf/bg== From: Jeff Buehler [EMAIL PROTECTED] To: [EMAIL PROTECTED] X-Virus-Scanned: Buehler Technologies Anti-virus ClamSMTP - From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 12:22 PM To: Jeff Buehler Subject: Error sending message [1137775892511.135234560.250.banshee.buehlertech.net] from [buehlertech.net] [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] [01] Error sending message [1137775892511.135234560.250.banshee.buehlertech.net] from [buehlertech.net]. ID:S758C4 Mail From: [EMAIL PROTECTED] Rcpt To: [EMAIL PROTECTED] Server:delmone.com [delmone.com] [02] The reason of the delivery failure was: The maximum number of delivery attempts has been reached [05] Here is listed the initial part of the message: Received: from BuehlerTechAntiSpam ([127.0.0.1]:54200) by antispam.buehlertech.net ([127.0.0.1]:25) with [XMail 1.22 ESMTP Server] id S758C4 for [EMAIL PROTECTED] from [EMAIL PROTECTED]; Fri, 20 Jan 2006 08:51:32 -0800 Received: from 71.134.90.35 ([71.134.90.35] helo=mail.interoceanss.com) by BuehlerTechAntiSpam ; 20 Jan 06 16:51:31 - MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=_=_NextPart_001_01C61DE1.C3D28DF8 Subject: test3 Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 20 Jan 2006 08:51:17 -0800 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: test3 Thread-Index: AcYd4buU0P6OtpNtTT+mAMHshLq35g== From: Jeff Buehler [EMAIL PROTECTED] To: [EMAIL PROTECTED] X-Virus-Scanned: Buehler Technologies Anti-virus ClamSMTP Thanks, Jeff Leonardo Fogel wrote: --- Jeff Buehler wrote : Right now I have XMail set to try 10 times, so there seem to be 10 emails that are sent to notify the sender of the failure. (...) Exchange users that have this problem - XMail is running on FreeBSD, but a number of Exchange users send through it as shown: Exchange - ASSP (anti-spam proxy) -XMail - Internet - the problem definitely happens with this flow Some thoughts: As far as I know from XMail, a bounce (error) message is like any other message, i.e., XMail will try to deliver them the same way and it will make the same number of tries if it needs. So, if you configure XMail to make N tries to send a message and it fails (and the sender's domain is not handled by XMail), it will also make at most N tries to send (forward) the error message. Questions: does Exchange handle a domain of its own? Does XMail have to forward the error messages to
[xmail] Re: Error messages returned to sender replicated
Thats what I thought should happen, but my Exchange users are verifiably getting multiple (it seems to be random) bounces back. Only my Exchange users seem to be affected - users accessing from a standard email client are getting the correct (single bounce) behavior). Jeff Davide Libenzi wrote: On Sat, 21 Jan 2006, Jeff Buehler wrote: I see. Any thoughts on what my be causing the repeat error bounces? Has anyone else run into this problem? If not, I would guess it has to do with the Exchange/ASSP/XMail relationship somehow since that is the only distinct thing about my configuration from a standard one... Davide, can you think of anything that may have changed between 1.20/1.21 and 1.22 that might affect this? The one below is a standard bounce message that happen (only once per message - maximum) if the maximum number of delivery attempts is reached. Ah ... I was unaware of that setting. It's commented out, which according to the documentation would seem to suggest that the errors aren't (or shouldn't be) coming from XMail at all. However, the headers indicate (to me, anyway!) that they are - here is an abbreviated example: From: buehlertech.net PostMaster [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:31 AM To: Jens Jensen Subject: Error sending message [1137452256244.135361536.4d65.banshee.buehlertech.net] from [buehlertech.net] [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
On Mon, 23 Jan 2006, Jeff Buehler wrote: Hmmm - ok, let me look at this a little deeper (and thanks for your input!). In answer to your questions: Exchange has its own domain, but only handles internal email (so outbound is Exchange - ASSP - (clamSMTP) - Xmail - INTERNET or inbound is INTERNET-ASSP - (clamSMTP) - XMail - Exchange). Xmail does forward the error messages to Exchange by using smtprelay in cmdalias - it does not actually have a mail account for the Exchange user, it just relays. Postmaster does receive errors as well, but they seem inconsistent with the others - I need to research this point a bit more and see if I am receiving more than 1 error to this account as well, but I don't think I am. It appears that I am not getting one email for each failure - rather, it appears to be some random number of bounce emails (sometimes 3, sometimes 5, and so on). Two complete examples (from the same failure) follow: Those refer to two different messages ... From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 1:03 PM To: Jeff Buehler Subject: Error sending message [1137780666750.135234560.3ee.banshee.buehlertech.net] from ^^^ and From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 12:22 PM To: Jeff Buehler Subject: Error sending message [1137775892511.135234560.250.banshee.buehlertech.net] from ^^^ Something funky is going on with your setup. I don't know what, but a wild guess is that removing MS Exchange will have a 98% probability of fixing it :) - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
Yes - I despise Exchange, personally. However, talking the people holding the money out of using Exchange and going with LDAP/IMAP is like telling them that their father is a moron. They look dumbfounded and then proceed as if nothing was said. I host entirely on FreeBSD and I am just doing SPAM/AntiVirus filtering for this particular client. At any rate, the strange part is that each of the messages I sent IS from the same email. So, XMail is seeing two different messages (as you pointed out) but it is actually from the SAME send, so it must be getting duplicated by one of the other applications(?). So, as you mention, there is obviously something in the configuration that is causing the trouble. I will keep looking into it and report what I find for posteritys sake! Thanks, Jeff Davide Libenzi wrote: On Mon, 23 Jan 2006, Jeff Buehler wrote: Hmmm - ok, let me look at this a little deeper (and thanks for your input!). In answer to your questions: Exchange has its own domain, but only handles internal email (so outbound is Exchange - ASSP - (clamSMTP) - Xmail - INTERNET or inbound is INTERNET-ASSP - (clamSMTP) - XMail - Exchange). Xmail does forward the error messages to Exchange by using smtprelay in cmdalias - it does not actually have a mail account for the Exchange user, it just relays. Postmaster does receive errors as well, but they seem inconsistent with the others - I need to research this point a bit more and see if I am receiving more than 1 error to this account as well, but I don't think I am. It appears that I am not getting one email for each failure - rather, it appears to be some random number of bounce emails (sometimes 3, sometimes 5, and so on). Two complete examples (from the same failure) follow: Those refer to two different messages ... From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 1:03 PM To: Jeff Buehler Subject: Error sending message [1137780666750.135234560.3ee.banshee.buehlertech.net] from ^^^ and From: buehlertech.net PostMaster [EMAIL PROTECTED] Sent: Friday, January 20, 2006 12:22 PM To: Jeff Buehler Subject: Error sending message [1137775892511.135234560.250.banshee.buehlertech.net] from ^^^ Something funky is going on with your setup. I don't know what, but a wild guess is that removing MS Exchange will have a 98% probability of fixing it :) - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
On Mon, 23 Jan 2006, Jeff Buehler wrote: Yes - I despise Exchange, personally. However, talking the people holding the money out of using Exchange and going with LDAP/IMAP is like telling them that their father is a moron. They look dumbfounded and then proceed as if nothing was said. I host entirely on FreeBSD and I am just doing SPAM/AntiVirus filtering for this particular client. At any rate, the strange part is that each of the messages I sent IS from the same email. So, XMail is seeing two different messages (as you pointed out) but it is actually from the SAME send, so it must be getting duplicated by one of the other applications(?). So, as you mention, there is obviously something in the configuration that is causing the trouble. Note that the same message sent to N different accounts, gets split in N different messages by XMail. And if all of those N messages bounce, you'll get N bounce messages. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
On Fri, 20 Jan 2006, Jeff Buehler wrote: Ah ... I was unaware of that setting. It's commented out, which according to the documentation would seem to suggest that the errors aren't (or shouldn't be) coming from XMail at all. However, the headers indicate (to me, anyway!) that they are - here is an abbreviated example: From: buehlertech.net PostMaster [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:31 AM To: Jens Jensen Subject: Error sending message [1137452256244.135361536.4d65.banshee.buehlertech.net] from [buehlertech.net] [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] The NotifyTryPattern variable does not affect final/definitive bounces, only intermediate ones. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
I see. Any thoughts on what my be causing the repeat error bounces? Has anyone else run into this problem? If not, I would guess it has to do with the Exchange/ASSP/XMail relationship somehow since that is the only distinct thing about my configuration from a standard one... Davide, can you think of anything that may have changed between 1.20/1.21 and 1.22 that might affect this? Jeff Davide Libenzi wrote: On Fri, 20 Jan 2006, Jeff Buehler wrote: Ah ... I was unaware of that setting. It's commented out, which according to the documentation would seem to suggest that the errors aren't (or shouldn't be) coming from XMail at all. However, the headers indicate (to me, anyway!) that they are - here is an abbreviated example: From: buehlertech.net PostMaster [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:31 AM To: Jens Jensen Subject: Error sending message [1137452256244.135361536.4d65.banshee.buehlertech.net] from [buehlertech.net] [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] The NotifyTryPattern variable does not affect final/definitive bounces, only intermediate ones. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
On Fri, 20 Jan 2006, Jeff Buehler wrote: Hi everyone - Running XMail 1.22 my users have been reporting that No server found errors are coming back in duplicate. The mails all come in after The maximum number of delivery attempts has been reached and the user receives a separate email for each failed delivery attempt, rather than one email containing all of the failures (which is the expected behavior, right?). Right now I have XMail set to try 10 times, so there seem to be 10 emails that are sent to notify the sender of the failure. It was set to 40, and in that case the user was receiving 40 (or so) emails. I have not verified that the number of returns is always exactly the same as the retry setting, but it is at least somewhat close. How's your NotifyTryPattern set inside the server.tab? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
Ah ... I was unaware of that setting. It's commented out, which according to the documentation would seem to suggest that the errors aren't (or shouldn't be) coming from XMail at all. However, the headers indicate (to me, anyway!) that they are - here is an abbreviated example: From: buehlertech.net PostMaster [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:31 AM To: Jens Jensen Subject: Error sending message [1137452256244.135361536.4d65.banshee.buehlertech.net] from [buehlertech.net] [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] Jeff Davide Libenzi wrote: On Fri, 20 Jan 2006, Jeff Buehler wrote: Hi everyone - Running XMail 1.22 my users have been reporting that No server found errors are coming back in duplicate. The mails all come in after The maximum number of delivery attempts has been reached and the user receives a separate email for each failed delivery attempt, rather than one email containing all of the failures (which is the expected behavior, right?). Right now I have XMail set to try 10 times, so there seem to be 10 emails that are sent to notify the sender of the failure. It was set to 40, and in that case the user was receiving 40 (or so) emails. I have not verified that the number of returns is always exactly the same as the retry setting, but it is at least somewhat close. How's your NotifyTryPattern set inside the server.tab? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error messages returned to sender replicated
By the way, I had no indications of this happening using 1.21 or earlier. This does not mean that it didn't for certain, but I am pretty certain that it would have come up (I was running 1.21 and maybe 1.20 from the time they were made available until the newer versions with this configuration - exchange - assp - xmail - internet). It is possible that I may have made some seemingly insignificant change to any of the players involved, though, most suspect being ASSP. I have verified that I (seem) get only one failure message back to the sender when the configuration does not involve exchange, that being email client - assp - xmail - internet. Unless I am misreading the documentation, I think this is also not the right behavior since NotifyTryPattern is set to the default, but I prefer it to a whole bunch of messages! Here is an example of the header for that: [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] [01] Error sending message [1137796073865.135234560.61c.banshee.buehlertech.net] from [buehlertech.net]. ID:S75D07 Mail From: [EMAIL PROTECTED] Rcpt To: [EMAIL PROTECTED] Server:bogusdomain.com [bogusdomain.com] [02] The reason of the delivery failure was: The maximum number of delivery attempts has been reached Thanks again for any thoughts or ideas... Jeff Jeff Buehler wrote: Ah ... I was unaware of that setting. It's commented out, which according to the documentation would seem to suggest that the errors aren't (or shouldn't be) coming from XMail at all. However, the headers indicate (to me, anyway!) that they are - here is an abbreviated example: From: buehlertech.net PostMaster [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:31 AM To: Jens Jensen Subject: Error sending message [1137452256244.135361536.4d65.banshee.buehlertech.net] from [buehlertech.net] [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] Jeff Davide Libenzi wrote: On Fri, 20 Jan 2006, Jeff Buehler wrote: Hi everyone - Running XMail 1.22 my users have been reporting that No server found errors are coming back in duplicate. The mails all come in after The maximum number of delivery attempts has been reached and the user receives a separate email for each failed delivery attempt, rather than one email containing all of the failures (which is the expected behavior, right?). Right now I have XMail set to try 10 times, so there seem to be 10 emails that are sent to notify the sender of the failure. It was set to 40, and in that case the user was receiving 40 (or so) emails. I have not verified that the number of returns is always exactly the same as the retry setting, but it is at least somewhat close. How's your NotifyTryPattern set inside the server.tab? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]