Re: [Exim] Accessing full message from embedded perl

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: David Saez
Cc: Terry.Shows, exim-users
Asunto: Re: [Exim] Accessing full message from embedded perl
On Wed, 2 Oct 2002, David Saez wrote:

> Is there any way to access the full message (full headers + full body)
> from within embedded perl ?? it could be very useful as it could be
> used for message filtering instead of hardcoding local_scan functions
> in C.


You can read the -D spool file for the body. The headers are available in
$message_headers. Or you can read and unpick the -H file; its format is
documented.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.