Re: [exim] local_scan execution

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Chambers
Date:  
À: exim-users
CC: Jim Pazarena
Sujet: Re: [exim] local_scan execution

On Fri, 5 Nov 2004 10:17:03 +0000 (GMT) Philip Hazel <ph10@???> wrote:

> 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.
>


You could get your ACL to set a $acl_m0-9 varliable and test that at the start of
local_scan() and immediatel return. The $acl_m* variables aren't directly available
to local_scan() but you can use the expand_string() function to get them
(x=expand_string("$acl_m0"); for example).

Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter