George Stevens wrote:
> I am trying to check if a mail has attachments of a particular type, if so
> then save it to the disk with a unique filename and then run a program. I
> am having real problems having success. The logs are not indicating much
> either so i am hoping to gain some insight here.
I'm not sure you really want to mess with routers and transports here.
Running an external program in ACLs is possible using the ${run
expansion item.
> #Transport Section
> imagetransport:
> driver = pipe
> command = /home/exim/devel/script.pl $mime_filename
$mime_filename is only available in the MIME ACL (it is per-part, not
per-message).
I'm not sure what exactly you want to achive, so I can't give any more
advice :)
/tom