Steffen Heil wrote:
>
> > Neighter $MESSAGE_ID inside the called script nor the ${message_id}
> > seem to work...
> > If I could get some of this, I could read
> > /var/spool/exim4/input/$MESSAGE_ID-D
>
> Ok, I got that part to work, I had a typo in it.
> However, I still cannot get it work.
> The -D file has no header and an additionally the message it on top.
> Is there a way to pass the data of the mail to a programm called by $run
> ? (As is in pipe transports or virus scanning ?)
No not really, you can use the exiscan spool .eml file if you want.
read through this thread it has a lot of what I put together for
someone else, but should get you going in the right direction.
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-
20050110/msg00289.html
Or, you can just get the final perl script from here, again, not exactly
what you want, but should be easy enough for someone to modify.
http://members.cox.net/exim-list/
--
--EAL--
--