diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2017-06-30 17:22:08 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2017-06-30 17:22:08 +0200 |
commit | 687cac44312c8adc6f999882b49f0705bcb8613c (patch) | |
tree | 30fe88740991049d8553fce59756d981ff07bdca /src | |
parent | 47d004587fc190f7649b76eca3e9d18a8dfa2ab6 (diff) |
Configure the default opendmarc.tlds file in EDITME
Diffstat (limited to 'src')
-rw-r--r-- | src/src/EDITME | 1 | ||||
-rw-r--r-- | src/src/config.h.defaults | 7 | ||||
-rw-r--r-- | src/src/dmarc.c | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/src/src/EDITME b/src/src/EDITME index 5ac5a55dc..e604acd8b 100644 --- a/src/src/EDITME +++ b/src/src/EDITME @@ -473,6 +473,7 @@ EXIM_MONITOR=eximon.bin # Uncomment the following line to add DMARC checking capability, implemented # using libopendmarc libraries. You must have SPF support enabled also. # EXPERIMENTAL_DMARC=yes +# DMARC_TLD_FILE= /etc/exim/opendmarc.tlds # CFLAGS += -I/usr/local/include # LDFLAGS += -lopendmarc diff --git a/src/src/config.h.defaults b/src/src/config.h.defaults index 58e181309..dbfde8935 100644 --- a/src/src/config.h.defaults +++ b/src/src/config.h.defaults @@ -8,7 +8,10 @@ /* The default settings for Exim configuration variables. A #define without any data just defines the existence of the variable; it won't get included in config.h unless some value is defined in Local/Makefile. If there is data, -it's a default value. */ +it's a default value. + +Do not put spaces between # and the 'define'. +*/ #define ALT_CONFIG_PREFIX #define TRUSTED_CONFIG_LIST @@ -178,11 +181,13 @@ it's a default value. */ #define EXPERIMENTAL_DCC #define EXPERIMENTAL_DSN_INFO #define EXPERIMENTAL_DMARC + #define DMARC_TLD_FILE "/etc/exim/opendmarc.tlds" #define EXPERIMENTAL_LMDB #define EXPERIMENTAL_QUEUEFILE #define EXPERIMENTAL_SPF #define EXPERIMENTAL_SRS + /* For developers */ #define WANT_DEEPER_PRINTF_CHECKS diff --git a/src/src/dmarc.c b/src/src/dmarc.c index c005d4ab9..275ad46c7 100644 --- a/src/src/dmarc.c +++ b/src/src/dmarc.c @@ -83,8 +83,7 @@ int dmarc_init() int *netmask = NULL; /* Ignored */ int is_ipv6 = 0; char *tld_file = (dmarc_tld_file == NULL) ? - "/etc/exim/opendmarc.tlds" : - (char *)dmarc_tld_file; + DMARC_TLD_FILE : (char *)dmarc_tld_file; /* Set some sane defaults. Also clears previous results when * multiple messages in one connection. */ |