On Mon, Nov 28, 2011 at 06:17:30PM +0100, Vincenzo Romano wrote:

> 2011/11/28 Wietse Venema <wie...@porcupine.org>:
> > Vincenzo Romano:
> >> The point is that postfix/smtp is not logging the Message-ID along
> >> with the other details it logs.
> >> Is there a way to ask postfix/smtp to log also the Message-ID?
> >
> > If you submit over port 25, then the SMTP server provides the queue
> > ID in the end-of-data reply.
> >
> > When you search the maillog file for this queue ID, then you will
> > find the Message-ID which is logged by the cleanup server.
> 
> I'm using the sendmail tool.

To track messages submitted via Sendmail, give each message a
globally unique application-assigned Message-Id. That message-id
is logged by cleanup(8) and the corresponding queue-id correlates
this log message with the other log entries for the same message.

It seems this question has been re-asked and re-answered many times,
I think it is time to stop.

-- 
        Viktor.

Reply via email to