Jeremiah Foster
2006-Sep-15 14:58 UTC
[Pkg-exim4-users] Configuring daemon-heavy to use the acl_data_check hook
Greetings, I understand from reading this site: http://duncanthrax.net/exiscan-acl/ and the Exim spec.txt file, that exiscan is now included with exim4.60. I am eager to test the power of access control lists in exim. I have configured exim4 according to the documentation, at least according to the way I understand it. Is the following snippet correct? That is to say, 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 Thank you, Jeremiah Foster -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20060915/b3e63080/attachment.htm
Jeremiah Foster
2006-Sep-17 19:23 UTC
[exim] [Pkg-exim4-users] Configuring daemon-heavy to use the acl_data_check hook
On 9/16/06, Magnus Holmgren <holmgren@lysator.liu.se> 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_aclAh, 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20060917/09d0ba5f/attachment.html
Marc Haber
2006-Sep-18 06:04 UTC
[exim] [Pkg-exim4-users] Configuring daemon-heavy to use the acl_data_check hook
On Sun, Sep 17, 2006 at 09:23:18PM +0200, Jeremiah Foster wrote:> 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?See http://pkg-exim4.alioth.debian.org/README/README.Debian.html, chapter 2.1.3. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Jeremiah Foster
2006-Sep-19 10:54 UTC
Fwd: [exim] [Pkg-exim4-users] Configuring daemon-heavy to use the acl_data_check hook
---------- Forwarded message ---------- From: Jeremiah Foster <jeremiah.foster@gmail.com> Date: Sep 19, 2006 12:54 PM Subject: Re: [exim] [Pkg-exim4-users] Configuring daemon-heavy to use the acl_data_check hook To: Marc Haber <mh+exim-users@zugschlus.de> On 9/18/06, Marc Haber <mh+exim-users@zugschlus.de> wrote:> > On Sun, Sep 17, 2006 at 09:23:18PM +0200, Jeremiah Foster wrote: > > 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? > > See http://pkg-exim4.alioth.debian.org/README/README.Debian.html, > chapter 2.1.3.More confused than ever after reading both the above link and the spec.txtfile. There is only one mention of a .include Macro in both, this one: "A macro at the start of a line may turn the line into a comment line or a ".include" line." But that does not tell me why I need the include line or the .includes syntax. Furthermore, from the web site: http://pkg-exim4.alioth.debian.org/README/README.Debian.html in section 2.1.2; "The data files are documented in the exim4-config_files man page." On my machine, I get; No manual entry for exim4-config_files So I have no idea how to implement the sa-exiscan acl under debian. Is there a specific document dealing with this somewhere? Jeremiah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20060919/3f7446d6/attachment.html
Marc Haber
2006-Sep-19 11:23 UTC
Fwd: [exim] [Pkg-exim4-users] Configuring daemon-heavy to use the acl_data_check hook
On Tue, Sep 19, 2006 at 12:54:47PM +0200, Jeremiah Foster wrote:> On 9/18/06, Marc Haber <mh+exim-users@zugschlus.de> wrote: > > > >On Sun, Sep 17, 2006 at 09:23:18PM +0200, Jeremiah Foster wrote: > >> 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? > > > >See http://pkg-exim4.alioth.debian.org/README/README.Debian.html, > >chapter 2.1.3. > > > More confused than ever after reading both the above link and the > spec.txtfile. There is only > one mention of a .include Macro in both, this one: > > "A macro at the start of a line may turn the line into a > comment line or a ".include" line."This is irrelevant for your case. I suspect that Philip meant to write that SOME_MACRO at the beginning of a line might be a no-op if SOME_MACRO is defined as "# something" or that it might cause a different file to be included if SOME_MACRO is defined as ".include some-different-file". Both cases are not relevant in a sane Debian setup.> But that does not tell me why I need the include line or the .includes > syntax.Which include line do you mean you need?> Furthermore, from the web site: > http://pkg-exim4.alioth.debian.org/README/README.Debian.html > in section 2.1.2; > "The data files are documented in the exim4-config_files man page."http://wiki.debian.org/PkgExim4 says "The current README.Debian can be found on the Web ([WWW] html [WWW] text). These two files are generated each night from the XML Source in the [WWW] Subversion Repository and might not be appropriate to any packaged version since Development might be ahead of packaging." This is a case where you have been "bitten": The README I was referring you to is the README for the current development version, and the man page you have been referred to is rather new. Thanks for pointing this out. I have built a process that publishes the current man pages for Debian exim on http://pkg-exim4.alioth.debian.org/README/ . You can read up there.> So I have no idea how to implement the sa-exiscan acl under debian.sa-exiscan? You''re mixing up things. What I know about exim''s spamassassin and antivirus integration, I have learned from the exim documentation, and from what''s now on http://www.exim.org/eximwiki/EximContentScanning After using our packages for more than a year, I think you should have learned how to move generic exim instructions to fit into Debian''s configuration scheme. It''s not all _that_ different. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835