[exim] How can I log the first received header?

Top Page
Delete this message
Reply to this message
Author: Robert Nicholson
Date:  
To: exim-users
Subject: [exim] How can I log the first received header?
when dealing with something like this in the your log files
GOT from [209.101.223.98] (helo=mail.benefitsresource.com)
by kermit.lizardhill.com with esmtp (Exim 4.62)
(envelope-from <reynoldsm74@???>)
id 1LzHZN-000Bga-4m; Wed, 29 Apr 2009 14:43:59 -0700
from 209.101.223.98 by smtp.kontent.com; Wed, 29 Apr 2009 14:43:45 -0800
Wed, 29 Apr 2009 14:43:45 -0800 message from "Fritz Marcum" <
reynoldsm74@???> to <obe@???> about Your tool is
so tiny she scarcely finds it in bed?
junk header_from "Fritz Marcum" <reynoldsm74@???>
header_to <obe@???>


Is there anyway to capture just the arrival date, time from the Received
header thru .forward or is it necessary to post process the file? ie. parse
it.

There you see two received headers and I'm interested in only the most
recent one. ie. the one that indicates when my mail server first sees a
message.

I'm investigating why messages appear to arrive to my account several hours
after they are placed in the queue.