On 2018-11-11 17:49, Jeremy Harris wrote: > > What is the recommended/canonical way to run an arbitrary external > > process on a mail that is being processed and capture the output of > > the process so it can be used for expansion? > > The malware ACL condition, with your choice of scanner type "sock" or > "cmdline".
Yea, I thought about that too. Feels like the cleanest solution, but ... it is too early. I need to delay the program until delivery time. > > Is there a way to get the file name(s) for the data in the queue? > > That would mostly solve my problem. > > If you _really_ must go that way... build them from > > $spool_directory and $message_exim_id and -H and -D. > Possibly with $queue_name. > > But you're becoming fragile against changes in directory > usage (as exemplified by queue_name) and formats (cf. > spool_files_wireformat). Spoolfiles are not intended to be > a stable interface. Understood. Thanks for the help. > Cheers, > Jeremy Ian -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/