[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
Andreas Baitis
abaitis at gmail.com
Tue Jul 17 08:02:41 UTC 2007
On Tuesday 17 July 2007 17:41, Holger Wirtz wrote:
> Hi,
>
> after crawling through nearby the whole internet I have not found what I
> am searching for. I hope this list cann help...
>
> I need to activate DOMAIN_LITERALS in exim4 (lenny). I found that I have
> to enable the Macro MAIN_ALLOW_DOMAIN_LITERALS. But where do I have to
> do this? And how to I activate this?
>
> TIA, Holger
This is from etch, don't know if it's the same for lenny?
Check the /usr/share/doc/exim4-base/README.Debian.gz in lenny
<README.Debian>
2.1.3. Using Exim Macros to control the configuration
Our configuration can be controlled in a limited way by setting
macros. That way, you can switch on and off certain parts of the
default configuration without having to touch the dpkg-conffiles.
While touching dpkg-conffiles itself is explitly allowed and wanted,
it can be quite a nuisance to be asked on package upgrade whether one
wants to use the locally changed file or the file changed by the
package maintainer.
Whenever you see an .ifdef or .ifndef clause in the configuration
file, you can control the appropriate clause by setting the macro in a
local configuration file. 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. To actually set the macro
EXIM4_EXAMPLE to the value "this is a sample", write the following
line
EXIM4_EXAMPLE = this is a sample
into the appropriate file. For more detailed discussion of the general
macro mechanism, see the exim specification, chapter 6.4, for details
how macro expansion works.
</README.Debian>
So you would set:
MAIN_ALLOW_DOMAIN_LITERALS = true
in either /etc/exim4/exim4.conf.localmacros for non-split
or /etc/exim4/conf.d/main/000_localmacros for split configuration.
Regards Andreas
More information about the Pkg-exim4-users
mailing list