Re: [exim] data_acl and spool file

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: jori.hamalainen
CC: exim-users
Assumpte: Re: [exim] data_acl and spool file
On Fri, 15 Oct 2004 jori.hamalainen@??? wrote:

> in what phase spool file is written into /var/spool/exim/input
> -directory? Is it available when data_acl is run, or is it done after
> "local_scan"?


There are two files, the -H file and the -D file. The -D file is written
as the message is received (you don't want a 100MB message sitting in
your main memory). However, the -H file is not written till the message
has been fully accepted. Until then, the header lines are in main
memory.

> Is there any way to access message data in data_acl (directly or via
> reference?). Or course my exim is a bit old (4.10) if things have
> changed afterwards..


See $message_body and message_body_visible.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book