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 -0000 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 -0000 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 >Exchange? Maybe Exchange is accepting the error >messages, but it is also reporting an error to XMail, >forcing XMail to make the N tries. Does the XMail >postmaster (ErrorsAdmin in server.tab) receive any >error? > >Please, send the _entire_ source code of one or two >error messages, including its headers. We will be able >to compare the PeekTimes reported by XMail and the >Received headers of the messages (if there are any). > >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] > > > > - 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]