Re: [exim] local_scan execution

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Jim Pazarena
CC: exim-users
Sujet: Re: [exim] local_scan execution
On Thu, 4 Nov 2004, Jim Pazarena wrote:

> Is there a way to have an ACL "accept" a mail, AND
> have it NOT RUN the local_scan. There are some emails
> I simply do not want to run thru my local_scan routine.


The Wish List contains this item:

------------------------------------------------------------------------------
(144) 07-Mar-03 T  ACL control = local_scan_skip to skip the local scan      


A bigger project would be control = local_scan <xxx> where xxx could select   
different local_scan functions (possibly by dynamic loading).                 


This can now be simulated using the fact that ACL variables are preserved,     
so it doesn't look as it once did.                                          
------------------------------------------------------------------------------


So you can hack this up by setting a variable in your ACL, and testing
it at the start of your local_scan().

Philip

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book