Auteur: Peter Bowyer Date: À: Exim Users Sujet: Re: [exim] data_acl and spool file
On Fri, 15 Oct 2004 16:34:11 +0300, jori.hamalainen@???
<jori.hamalainen@???> wrote: > > 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.
>
> Yes, after building ${run{}{}} with ls of spoolfile I saw that only -D file is there.
>
> Ok, then I just need to forward "content-type" -header with boundary and MIME-version header to script to check its content of the body-data from disk. It think MIME-boundary should not need quoting.
>
> Should this work?
> ${extract{boundary}{header_Content-Type:}{$value}}
>
> Because
> Content-type: multipart/mixed; boundary="frontier"
Have you considered using Exiscan's MIME-grokking capabilities for this?