Re: [exim] Dump message to stdout

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Christian Gregoire
CC: exim-users
Assumpte: Re: [exim] Dump message to stdout
On Thu, 16 Aug 2007, Christian Gregoire wrote:

> Is there a way, with the Exim command line, to dump a message (header + body) to stdout, given its message ID ? I would use something like:
> exim -Mvh <ID> > outfile
> exim -Mvb <ID> >> outfile
> but the header file would have first to be parsed to remove all the 'admin' lines and flags, which is not very handy.


Not yet, but there will be. Exim 4.68 will have -Mvc for this purpose.
If you want it now, you can download the latest snapshot.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book