Re: [exim] Dump message to stdout

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Christian Gregoire
Kopio: exim-users
Aihe: 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