Re: [exim] [Pkg-exim4-users] Configuring daemon-heavy to use…

Góra strony
Delete this message
Reply to this message
Autor: Jeremiah Foster
Data:  
Dla: pkg-exim4-users
CC: exim-users
Temat: Re: [exim] [Pkg-exim4-users] Configuring daemon-heavy to use the acl_data_check hook
On 9/16/06, Magnus Holmgren <holmgren@???> wrote:
>
> On Friday 15 September 2006 16:57, Jeremiah Foster took the opportunity to
> say:



*snip*


> > will exim4 recognize that I have some local acls defined in the file
> > /etc/exim4/local_acl and execute them?
> >
> > # This hook allows you to hook in your own ACLs without having to
> > # modify this file. If you do it like we suggest, you'll end up with
> > # a small performance penalty since there is an additional file being
> > # accessed. This doesn't happen if you leave the macro unset.
> > .ifdef CHECK_DATA_LOCAL_ACL_FILE
> > .include CHECK_DATA_LOCAL_ACL_FILE = /etc/exim4/local_acl
> > .endif
>
> No, leave that part alone. Instead create (if it doesn't already exist) a
> file /etc/exim4/exim4.conf.localmacros (for single-file) or
> e.g. /etc/exim4/conf.d/main/00_localmacros (for split-file config) and add
> the macro setting there:
>
> CHECK_DATA_LOCAL_ACL_FILE = /etc/exim4/local_acl



Ah, ok, Thanks Magnus. So to reiterate, leave the configuration file
un-edited and just add a file with my
macros under /etc/exim4 called exim4.conf.localmacros?

Thanks again,

Jeremiah