RE: [exim] Getting to email text file during data ACL?

Top Page
Delete this message
Reply to this message
Author: Herb Martin
Date:  
To: exim-users
Subject: RE: [exim] Getting to email text file during data ACL?
> Tom Kistner wrote:
> > Herb Martin wrote:
> >
> >> 1) Is /var/spool/exim/scan/${message_id}/${message_id}.eml
> >>    the path to the current message file during Data ACL
> >>    processing?

> >
> >
> > Yes, but only if one of the content scanning ACL conditions
> has been
> > called before ("malware" or "spam").
>
> If not, and you can handle split header/body files, use something like
>
> MSG_BASENAME = $spool_directory/input/$message_id
>
> (assuming no split_spool_directory)


Yes, the files are there -- the apparent problem is
the redirect operator "< filenam".

I am temporarily calling this (via an extra intermediate
Perl program) by sending the filename as a parameter and
having the Perl program call the REAL program with the
redirection.

I can probably modify the intended program to use a
command line parameter but it is a bit complex, and
currently written (by someone else) to use STDIN.

--
Herb Martin