Hi all, I hoping to use a generic config on all of my boxes, but have the ability to override settings on a individual server basis. e.g. by having files like this in the /etc/exim/ directory
local_domains_global local_domains_server1.example.com local_domains_server2.example.com And use a configuration like this: ========================= prinary_hostname = server1.example.com ENABLE_CUSTOM_LOCAL_DOMAINS = TRUE .ifdef ENABLE_CUSTOM_LOCAL_DOMAINS domainlist local_domains = /etc/exim/local_domains_$primary_hostname .else domainlist local_domains = /etc/exim/local_domains_global .endif ========================== On the assumption that the config will set local_domains from /etc/exim/local_domains_server1.example if I leave the config as-is and would use /etc/exim/local_domains_global if I comment out #ENABLE_CUSTOM_DOMAINS_TRUE = TRUE 1) Have I understood this correctly? 2) Can anybody suggest a better way? 3) In the docs (or section 4.3.7 in the second edition book) What is meant by "macro is defined"? Does it mean set to "true" or set to any value whatsoever. Thanks, as always your help is much appreciated, Jason_Meers -- http://www.exim-new-users.co.uk -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
