Re: [Exim] question about smtp-traffic

Top Page
Delete this message
Reply to this message
Author: Tor Slettnes
Date:  
To: Yves Goergen
CC: Exim-users list
Subject: Re: [Exim] question about smtp-traffic
On Apr 29, 2004, at 14:18, Yves Goergen wrote:

> Hm, that's very uncomfortable to parse, when messages are spreaded
> across multiple lines!
> [...]
> The log format seems not safely parsable to me, I cannot find a clear
> syntax like with Apache.


Actually, each delivery can be uniquely identified by way of the
message ID (see spec.txt on how this ID is generated). So if you in a
{perl,python,php...} script stuff each line into a hash table, with the
message ID as key, you will have all relevant information for a
particular delivery in a given element in the table. (You may safely
remove the element once you see the "Completed" line).

You can also check out the sources of "exigrep", which does something
similar.

> And I cannot find mails that I sent to compare with them... Are mails
> that I send over my mailserver not logged in the mainlog?


They should be. Are you sure you are using this particular machine as
your outgoing SMTP relay in your mail app?

-tor