Re: [exim] Piping message in ACL DATA

Top Pagina
Delete this message
Reply to this message
Auteur: Magnus Holmgren
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Piping message in ACL DATA
First, please don't use the "Reply" button when you're starting a new issue
and not actually replying to the selected message. Otherwise competent email
software will sort your message together with that selected message, even if
you change the subject.

On Wednesday 22 August 2007 17:29, admin@??? wrote:
> Is there any way (outside standard connection to SA via
> "malware" condition) to pipe message into $run in acl_data? Smth
> like that would definitely make Exim shine (even more, that is :-)...


This is one of the few significant limitations of Exim and IMHO a candidate
for redesign in Exim 5. The spam condition as well as other content scanning
features use a temporary copy stored in
$spool_directory/scan/$message_exim_id/$message_exim_id.eml, which your
script can read. Annoyingly, there is no explicit way to cause that file to
be created, but using any of the demime (deprecated), spam, malware, or regex
conditions, or having a MIME ACL, will cause it to be created. Also, there is
no convenient expansion variable containing its name, so you have to use the
long expansion string above.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans