On 28/11/2011 20:16, Vincenzo Romano wrote:
> 2011/11/28 Viktor Dukhovni <postfix-us...@dukhovni.org>:
>> 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.
> 
> Correct, Viktor.
> Once I'm said the queue ID is useful, then useless, then useful again.
> Now I know.
Te lo spiego in italiano, Viktor dice di assegnare un ID a livello APPLICATIVO
che sia univoco e che t renda tracciabile un messaggio.

Se vuoi che un ID VALIDO venga assegnato da Postfix devi inviare tramite la
porta 25, al contrario l'ID restituito da sendmail non puoi prenderlo in
considerazione perché è temporaneo.

In breve... usa smtp.

Spero ti averti chiarito la cosa.



-- 
Simone Caruso
IT Consultant
+39 349 65 90 805

Reply via email to