This is in my config file: .ifndef MAIN_ACL_CHECK_RCPT MAIN_ACL_CHECK_RCPT = acl_check_rcpt.endifacl_smtp_rcpt = MAIN_ACL_CHECK_RCPT As far as my understanding if I define this macro, the acl will run, if I don''t define it, it won''t run. I didn''t define this and yet the acl still runs? I don''t know why this is? thanks> Date: Fri, 2 Feb 2007 13:36:23 +0100> From: mh+pkg-exim4-users@zugschlus.de> To: pkg-exim4-users@lists.alioth.debian.org> Subject: Re: [Pkg-exim4-users] local macros> > On Fri, Feb 02, 2007 at 11:29:30AM +0000, Andrew Critchlow wrote:> > But how come I dont need to set:> > .ifndef MAIN_ACL_CHECK_RCPTMAIN_ACL_CHECK_RCPT = acl_check_rcpt> > .endifacl_smtp_rcpt = MAIN_ACL_CHECK_RCPT> > > > > > via:> > > > localmacro file:> > MAIN_ACL_CHECK_RCPT = acl_check_rcpt> > > > > > > > My acl starts with acl_check_rcpt:> > I do not understand the question.> > 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> > _______________________________________________> Pkg-exim4-users mailing list> Pkg-exim4-users@lists.alioth.debian.org> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20070202/58ba3f81/attachment.htm
On Fri, Feb 02, 2007 at 03:27:38PM +0000, Andrew Critchlow wrote:> .ifndef MAIN_ACL_CHECK_RCPT > MAIN_ACL_CHECK_RCPT = acl_check_rcpt > endif > acl_smtp_rcpt = MAIN_ACL_CHECK_RCPT > > As far as my understanding if I define this macro, the acl will run, > if I don''t define it, it won''t run.No. The ACL is always executed, it is a vital part of exim configuration. If you do not define the macro, acl_check_rcpt will be used as a default, but you can override the ACL to be used by defining MAIN_ACL_CHECK_RCPT. Be careful, this ACL does relay control, and it is just too easy to create an open relay. 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
Thank you very much for all your help! That is all great info! Many thanks Andrew. -----Original Message----- From: pkg-exim4-users-bounces+a_critchlow=hotmail.com@lists.alioth.debian.org [mailto:pkg-exim4-users-bounces+a_critchlow=hotmail.com@lists.alioth.debian. org] On Behalf Of Marc Haber Sent: 02 February 2007 15:55 To: Exim4 Mailing List Subject: Re: [Pkg-exim4-users] local macros On Fri, Feb 02, 2007 at 03:27:38PM +0000, Andrew Critchlow wrote:> .ifndef MAIN_ACL_CHECK_RCPT > MAIN_ACL_CHECK_RCPT = acl_check_rcpt > endif > acl_smtp_rcpt = MAIN_ACL_CHECK_RCPT > > As far as my understanding if I define this macro, the acl will run, > if I don''t define it, it won''t run.No. The ACL is always executed, it is a vital part of exim configuration. If you do not define the macro, acl_check_rcpt will be used as a default, but you can override the ACL to be used by defining MAIN_ACL_CHECK_RCPT. Be careful, this ACL does relay control, and it is just too easy to create an open relay. 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 _______________________________________________ Pkg-exim4-users mailing list Pkg-exim4-users@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.19/663 - Release Date: 01/02/2007 14:28 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.19/663 - Release Date: 01/02/2007 14:28