Hi, Sorry if this is a dumb question. I have opted for the split configuration and am trying to set a few values, namely LOCAL_DOMAINS and LOCAL_DELIVERY I thought I should put these local variables in a separate file somewhere under /etc/exim4/conf.d. Perhaps I have misread the README but I thought I could have a file /etc/exim4/conf.d/main/00_myserver_settings with this is: LOCAL_DOMAINS=/path/to/list/of/domains LOCAL_DELIVERY=maildir Then if I update exim at some stage my local settings will be kept but that isn''t working. Is it possible to maintain a separate file with local setting in? If so, how and where? Thanx. Dp.
On Fri, Apr 07, 2006 at 12:10:01PM +0100, Dermot Paikkos wrote:> I have opted for the split configuration and am trying to set a few > values, namely LOCAL_DOMAINS and LOCAL_DELIVERY > > I thought I should put these local variables in a separate file > somewhere under /etc/exim4/conf.d. > > Perhaps I have misread the README but I thought I could have a file > /etc/exim4/conf.d/main/00_myserver_settings with this is: > > LOCAL_DOMAINS=/path/to/list/of/domains > LOCAL_DELIVERY=maildir > > Then if I update exim at some stage my local settings will be kept > but that isn''t working. > > Is it possible to maintain a separate file with local setting in? If > so, how and where?2.1.2. Using Exim Macros to control the configuration For split configuration, you can drop the local configuration file anywhere in /etc/exim4/conf.d/main. Just make sure it gets read before the macro is first used. 000_localmacros is a possible name, guaranteeing first order. For a non-split configuration, /etc/exim4/exim4.conf.localmacros gets read before /etc/exim4/exim4.conf.template. This is a quote from README.Debian.gz. Does it help? 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
On 7 Apr 2006 at 13:44, Marc Haber wrote:> On Fri, Apr 07, 2006 at 12:10:01PM +0100, Dermot Paikkos wrote: > > I have opted for the split configuration and am trying to set a few > > values, namely LOCAL_DOMAINS and LOCAL_DELIVERY > > > > I thought I should put these local variables in a separate file > > somewhere under /etc/exim4/conf.d. > > > > Perhaps I have misread the README but I thought I could have a file > > /etc/exim4/conf.d/main/00_myserver_settings with this is: > > > > LOCAL_DOMAINS=/path/to/list/of/domains > > LOCAL_DELIVERY=maildir > > > > Then if I update exim at some stage my local settings will be kept > > but that isn''t working. > > > > Is it possible to maintain a separate file with local setting in? If > > so, how and where? > > 2.1.2. Using Exim Macros to control the configuration > > For split configuration, you can drop the local configuration file > anywhere in /etc/exim4/conf.d/main. Just make sure it gets read before > the macro is first used. 000_localmacros is a possible name, > guaranteeing first order. For a non-split configuration, > /etc/exim4/exim4.conf.localmacros gets read before > /etc/exim4/exim4.conf.template. > > This is a quote from README.Debian.gz. Does it help?Yes I have seen that, that is the bit I was referring to. It didn''t work for me. At the moment I have modified the distro files directly and I am sure that defeats the purpose of using a split config (see section "Benefits of split configuration" a little further down the page). So I have this .ifndef MAIN_LOCAL_DOMAINS #MAIN_LOCAL_DOMAINS = DEBCONFlocal_domainsDEBCONF MAIN_LOCAL_DOMAINS = /etc/exim4/local.domains .endif domainlist local_domains = MAIN_LOCAL_DOMAINS in the /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs I''d like to have the set-up I outlined above and according to the docs it should be possible but I don''t see why it wasn''t working. Perhaps I need to put the LOCAL_DELIVERY under a different config dir like ~/transport? Thanx. Dp.
On Fri, Apr 07, 2006 at 03:31:43PM +0100, Dermot Paikkos wrote:> Yes I have seen that, that is the bit I was referring to. It didn''t > work for me.Hm. Are you using split or unsplit config? 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