Stuart Henderson wrote:
> I had to guess a bit because the full information wasn't there -
> full headers and log entries might help explain things...

Perhaps the following will be of more use than my previous information.
I've used a packet sniffer to capture what goes on when my OpenBSD
server sends one of these messages to the Exchange server:

--- BEGIN SMTP TRANSCRIPT ---
(openbsd)
   SYN

(exchange)
   SYN,ACK

(openbsd)
   ACK

(exchange)
   220 server.koett.ca Microsoft ESMTP MAIL Service ready at Wed,
   7 Jan 2009 16:49:16 -0800

(openbsd)
   EHLO mail.cybernet.ca

(exchange)
   250-server.koett.ca Hello [154.5.74.158]
   250-SIZE
   250-PIPELINING
   250-DSN
   250-ENHANCEDSTATUSCODES
   250-STARTTLS
   250-X-ANONYMOUSTLS
   250-AUTH NTLM
   250-X-EXPS GSSAPI NTLM
   250-8BITMIME
   250-BINARYMIME
   250-CHUNKING
   250-XEXCH50
   250 XRDST

(openbsd)
   MAIL From:<>

(exchange)
   250 2.1.0 Sender OK

(openbsd)
   RCPT To:<rich...@server.koett.ca>
   DATA

(exchange)
   250 2.1.5 Recipient OK
   354 Start mail input; end with <CRLF>.<CRLF>

(openbsd)
   Received: from localhost (localhost)
   by mail.cybernet.ca (8.13.4/8.13.4) id n0810Ler018239;
   Wed, 7 Jan 2009 17:00:36 -0800 (PST)
   Date: Wed, 7 Jan 2009 17:00:36 -0800 (PST)
   From: Mail Delivery Subsystem <mailer-dae...@cybernet.ca>
   Message-Id: <200901080100.n0810ler018...@mail.cybernet.ca>
   To: postmas...@mail.cybernet.ca
   MIME-Version: 1.0
   Content-Type: multipart/report; report-type=delivery-status;
   boundary="n0810Ler018239.1231376436/mail.cybernet.ca"
   Subject: Postmaster notify: see transcript for details
   Auto-Submitted: auto-generated (postmaster-notification)

   This is a MIME-encapsulated message

   --n0810Ler018239.1231376436/mail.cybernet.ca
   The original message was received at Wed, 7 Jan 2009 17:00:21
   -0800 (PST)from localhost with id n0810Leq018239
   ----- The following addresses had permanent fatal errors -----
   <ti...@brainpod.com>
   (reason: 550 <ti...@brainpod.com>: invalid address)
   ----- Transcript of session follows -----
   .... while talking to mx00.1and1.com.:
   >>> DATA
   <<< 550 <ti...@brainpod.com>: invalid address
   550 5.1.1 <ti...@brainpod.com>... User unknown
   <<< 554 no valid recipients
   --n0810Ler018239.1231376436/mail.cybernet.ca

   Content-Type: message/delivery-status
   Reporting-MTA: dns; mail.cybernet.ca
   Received-From-MTA: DNS; [153.5.129.153]
   Arrival-Date: Wed, 7 Jan 2009 17:00:21 -0800 (PST)
   Final-Recipient: RFC822; ti...@brainpod.com
   Action: failed
   Status: 5.1.1
   Remote-MTA: DNS; mx00.1and1.com
   Diagnostic-Code: SMTP; 550 <ti...@brainpod.com>: invalid address
   Last-Attempt-Date: Wed, 7 Jan 2009 17:00:35 -0800 (PST)

   --n0810Ler018239.1231376436/mail.cybernet.ca
   Content-Type: text/rfc822-headers
   Return-Path: <MAILER-DAEMON>
   Received: from localhost (localhost)
   by mail.cybernet.ca (8.13.4/8.13.4) id n0810Leq018239;
   Wed, 7 Jan 2009 17:00:21 -0800 (PST)
   Date: Wed, 7 Jan 2009 17:00:21 -0800 (PST)
   From: Mail Delivery Subsystem <MAILER-DAEMON>
   Message-Id: <200901080100.n0810leq018...@mail.cybernet.ca>
   To: <ti...@brainpod.com>
   MIME-Version: 1.0
   Content-Type: multipart/report; report-type=delivery-status;
   boundary="n0810Leq018239.1231376421/mail.cybernet.ca"
   Subject: Returned mail: see transcript for details
   Auto-Submitted: auto-generated (failure)
   --n0810Ler018239.1231376436/mail.cybernet.ca--

(exchange)
   250 2.6.0 <200901080100.n0810ler018...@mail.cybernet.ca> Queued
   mail for delivery

(openbsd)
   QUIT
--- END SMTP TRANSCRIPT ---

Now, here is the message as delivered by Exchange:

--- BEGIN DELIVERED MESSAGED ---
Delivery has failed to these recipients or distribution lists:

ti...@brainpod.com
The recipient's e-mail address was not found in the recipient's e-mail
system. Microsoft Exchange will not try to redeliver this message for you.
Please check the e-mail address and try resending this message, or provide
the following diagnostic text to your system administrator.

The following organization rejected your message: mx00.1and1.com.

Diagnostic information for administrators:

Generating server: mail.cybernet.ca

ti...@brainpod.com
mx00.1and1.com #<mx00.1and1.com #5.1.1 SMTP; 550 <ti...@brainpod.com>: invalid
address> #SMTP#

Original message headers:

Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
        by mail.cybernet.ca (8.13.4/8.13.4) id n0810Leq018239;
        Wed, 7 Jan 2009 17:00:21 -0800 (PST)
Date: Wed, 7 Jan 2009 17:00:21 -0800
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-ID: <200901080100.n0810leq018...@mail.cybernet.ca>
To: <ti...@brainpod.com>
MIME-Version: 1.0
Content-Type: text/plain
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
--- END DELIVERED MESSAGE ---

So it appears that sendmail is sending me notification of a delivery
failure to ti...@brainpod.com, because my aliases file contains:

   MAILER-DAEMON:       postmaster
   postmaster:  root
   root:        rich...@server.koett.ca

Exchange made it confusing by dropping a lot of content from the
message, while adding that "Exchange will not try to redeliver this
message" when in fact Exchange seems to have had nothing to do with
its delivery in the first place.

So, what I still don't know is:
1. Why was sendmail trying to deliver anything to ti...@brainpod.com?
2. How can I stop such behaviour?

Thanks again,
Richard Koett.

Reply via email to