This can come in very handy if you ever need to track down the history of
an email.

----- Original Message -----
From: "Matthias Andree" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 7:35 AM
Subject: [script] where is my mail


I have another tiny script, pfloggrep.sh, second name "where the heck is
my mail".

Its purpose is to print all information associated with a Message-ID
from the log. It's a quick & dirty script, under a modified BSD license.

Available at http://mandree.home.pages.de/postfix/pfloggrep.sh

Example for Wietse's latest Multi-valued RBL client reply:

$ pfloggrep.sh '[EMAIL PROTECTED]' | fmt -t
*** 6E1608F069 ***
Jul  9 15:53:31 merlin postfix/smtpd[10100]: 6E1608F069:
   client=localhost[127.0.0.1]
Jul  9 15:53:31 merlin postfix/cleanup[10102]: 6E1608F069:
   message-id=<[EMAIL PROTECTED]>
Jul  9 15:53:31 merlin postfix/nqmgr[2411]: 6E1608F069:
   from=<[EMAIL PROTECTED]>, size=3773, nrcpt=1 (queue
   active)
Jul  9 15:53:35 merlin postfix/local[10121]: 6E1608F069:
   to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
   relay=local, delay=4, status=sent (delivered to command:
   /usr/bin/maildrop -d "$USER" -f "$SENDER" "$EXTENSION")

--
Matthias Andree


Reply via email to