On Mar 29, 2016, at 7:11 PM, Wietse Venema <wie...@porcupine.org> wrote:
> Viktor occasionally posts a script that will allow you to 
> combine all logging related to one queue ID.

I basically want the opposite of that. I want to be able to grep out a single 
line for each message that shows all the relevant (to me) information, queue 
ID, to from and hopefully orig_to and helo and IP so that I can say something 
like:

grep <uniquetag> /var/log/maillog and see all the messages that were accepted 
by the postfix/pipe for delivery and see their basic information.

Right now, I can only see who those messages were delivered to, but nothing 
about where they came from without doing additional greps for specific messages.

Ideally, maybe a way to generate a table:

QUEUEID           TO                  FROM                      IP           
HELO                          ORIG
3qZX0Q61pgzpL6j   krem...@covisp.net  postfix-users@postfix.org 168.100.1.7  
english-breakfast.cloud9.net  krem...@kreme.com

I don’t care HOW I get there, as long as it’s something that I can either do 
simply in a command or setup to be auto-generated on the fly.

-- 
Today the road all runners come/Shoulder high we bring you home. And
set you at your threshold down/Townsman of a stiller town.

Reply via email to