Re: Received: headers after LMTP delivery

2003-01-17 Thread Ken Murchison


OBATA Akio wrote:
 
 On Friday 17 January 2003 11:35, Scott Adkins wrote:
  --On Thursday, January 16, 2003 4:25 PM -0500 Ken Murchison
 
  [EMAIL PROTECTED] wrote:
   It already does (as of 2.1.0).  Take a look at the headers from your
   post:
 
  Ah, of course, version 2.1.0 :)
 
   Return-Path: [EMAIL PROTECTED]
   Received: from mx3.andrew.cmu.edu (MX3.andrew.cmu.edu [128.2.10.113]) by
   mail1.andrew.cmu.edu (Cyrus v2.1.11-072) with LMTP; Thu, 16 Jan 2003
   15:54:16 -0500
   X-Sieve: CMU Sieve 2.2
 
  Exactly what I am looking for!
 
   I'm not sure why you aren't seeing this.  What verision of Cyrus?
 
  Uh, version 2.0.16 :-)  Ah well... I doubt we will attempt an upgrade of
  any kind until the summer gets here... I am sure we can live without that
  functionality until then... otherwise, I will check out the code changes
  between 2.0.16 and 2.1.0 (can't be a lot in the LMTP area, right?) and
  backport them.

Its a lot more than you think because of the change from SASL 1.5 to
2.x.


 2.0.17 also add such a Recieved header.
 You should upgrade to 2.0.17 for security reason.

True.  I had to take a look at the CVS archive to notice this.  Note
that it doesn't include any TLS info.  Wait, 2.0.17 doesn't support
STARTTLS.  I'd just upgrade to 2.0.17.

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Received: headers after LMTP delivery

2003-01-16 Thread Scott Adkins
I find it useful to look at the Received headers to track the path the
email might have taken to get from the desktop to the mailbox when we
are having problems.  Particularly, I look at the delays between hops
to find out if one of our machines is holding onto mail a lot longer
than it should be.  I know that the first hop (desktop to the server)
may not reflect an accurate time, since it looks like to me that the
time on the PC is what is often reflected in the first Received header.
The problem I am having is determining when a message physically gets
delivered by LMTP to the mailbox.

I can see the last Received line in the path, which is one mail server
handing the message off to the last mail server which contains the IMAP
server (LMTP is running on localhost only).  Then after that, I see the
Return-Path line in the header, which I know gets added by LMTP when it
delivers the message.  What is missing is the time that this occurred,
as I have no idea how long it sat in the sendmial queue on the server
before it was handed to LMTP.

Would it be possible to have LMTP add a similar Received line right
before it adds the Return-Path line that indicates the time of delivery?
I haven't read the RFC's to see if there are any specific rules for how
the Received lines would look, but it would be nice to see it indicate
that the message was received by LMTP for delivery at a specific time.

Thoughts?

Scott
--
+---+
 Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
  UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
   ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+---+
PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/


msg10486/pgp0.pgp
Description: PGP signature


Re: Received: headers after LMTP delivery

2003-01-16 Thread Ken Murchison


Scott Adkins wrote:
 
 I find it useful to look at the Received headers to track the path the
 email might have taken to get from the desktop to the mailbox when we
 are having problems.  Particularly, I look at the delays between hops
 to find out if one of our machines is holding onto mail a lot longer
 than it should be.  I know that the first hop (desktop to the server)
 may not reflect an accurate time, since it looks like to me that the
 time on the PC is what is often reflected in the first Received header.
 The problem I am having is determining when a message physically gets
 delivered by LMTP to the mailbox.
 
 I can see the last Received line in the path, which is one mail server
 handing the message off to the last mail server which contains the IMAP
 server (LMTP is running on localhost only).  Then after that, I see the
 Return-Path line in the header, which I know gets added by LMTP when it
 delivers the message.  What is missing is the time that this occurred,
 as I have no idea how long it sat in the sendmial queue on the server
 before it was handed to LMTP.
 
 Would it be possible to have LMTP add a similar Received line right
 before it adds the Return-Path line that indicates the time of delivery?
 I haven't read the RFC's to see if there are any specific rules for how
 the Received lines would look, but it would be nice to see it indicate
 that the message was received by LMTP for delivery at a specific time.
 
 Thoughts?

It already does (as of 2.1.0).  Take a look at the headers from your
post:

Return-Path: [EMAIL PROTECTED]
Received: from mx3.andrew.cmu.edu (MX3.andrew.cmu.edu [128.2.10.113]) by
mail1.andrew.cmu.edu (Cyrus v2.1.11-072) with LMTP; Thu, 16 Jan 2003
15:54:16 -0500
X-Sieve: CMU Sieve 2.2


I'm not sure why you aren't seeing this.  What verision of Cyrus?

Ken
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp