Matus UHLAR - fantomas:
> On 08.10.22 12:04, Wietse Venema wrote:
> >Postfix sends the delivery report as an email message to the envelope
> >sender address. The message is generated by a background process,
> >so the program that runs "sendmail -bv" would not know what message
> >to look for.
> 
> I guess this would require generating random sender address and parsing mail 
> to match with particular recipient(s).

Or maybe parse the maillog. That is, get the logfile size, run the
Postfix sendmail command, then skip forward in the log (or to the
start if the file has been rotated) and look for the test message.

        Wietse

Reply via email to