Received: headers after LMTP delivery

Ken Murchison ken at oceana.com
Thu Jan 16 16:25:18 EST 2003



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: <owner-info-cyrus at lists.andrew.cmu.edu>
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




More information about the Info-cyrus mailing list