On 2/2/11 12:20 AM, Matthias Andree wrote: > Postfix logs the ID whenever one is available, and it did in your case. > I'm wondering what exactly you seem to be missing. If it's about the > client connection as logged by postfix/smtpd, then it has no connection > to individual messages, hence doesn't have IDs associated.
That's why I suggested a connection id be assigned then, and the message id be that with a per-message suffix. This would allow one to find messages relating to connections, say if there's an ip blacklist going on. When someone reports a problem with mail from a given server, I can grep for the ip address of the server, then re-grep for the connection ids associated with that address and get everything that was ever logged about mail from that server.
smime.p7s
Description: S/MIME Cryptographic Signature