Re: [Exim] Accessing full message from embedded perl

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: David Saez
Υ/ο: Terry.Shows, exim-users
Αντικείμενο: 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.