Thanks everyone for the postcat tip; obviously I'm new to postfix. Finally had to get off qmail after years of resisting.
> -----Original Message----- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of David Hubbard > Sent: Thursday, December 13, 2012 5:43 PM > To: postfix-users@postfix.org > Subject: Tool to read queued messages? > > Hi all, was wondering if anyone has a handy tool, > cat -v and pipe to something, perl class, etc. for > outputting a queued message file to stdout but > have the line breaks display rather than the > control characters? It's difficult to troubleshoot > where deferred messages from mailer-daemon originally > came from when looking at the raw files because > all the headers, postfix control info and message > body are displayed together as two long lines. > > Thanks, > > David > > >