mwolson: Upgrade exim4 packages to equivalent of version in debian testing
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / main / 01_exim4-config_listmacrosdefs
CommitLineData
725c9874 1
2######################################################################
3# Runtime configuration file for Exim 4 (Debian Packaging) #
4######################################################################
5
6######################################################################
d2b0a567 7# /etc/exim4/exim4.conf.template is only used with the non-split
8# configuration scheme.
9# /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs is only used
10# with the split configuration scheme.
11# If you find this comment anywhere else, somebody copied it there.
12# Documentation about the Debian exim4 configuration scheme can be
13# found in /usr/share/doc/exim4-base/README.Debian.gz.
725c9874 14#
15# Strings like DEBCONFsomethingDEBCONF are replaced by installation
16# dependent values by update-exim4.conf, the script which builds the
17# actual configuration from the templates.
18######################################################################
19
20######################################################################
21# MAIN CONFIGURATION SETTINGS #
22######################################################################
23
24# Just for reference and scripts.
25# On Debian systems, the main binary is installed as exim4 to avoid
26# conflicts with the exim 3 packages.
27exim_path = /usr/sbin/exim4
28
29# Macro defining the main configuration directory.
30# We do not use absolute paths.
31.ifndef CONFDIR
32CONFDIR = /etc/exim4
33.endif
34
35# This sets a macro DC_minimaldns if dc_minimaldns=true. If
36# dc_minimaldns=false, this expands to an empty line.
37.ifndef DC_minimaldns
38DEBCONFminimaldnsDEBCONF
39.endif
40
41# Create other macros from Debconf. Macros created here are used in
42# other places in exim config.
43.ifndef DC_visiblename
44DC_visiblename=DEBCONFvisiblenameDEBCONF
45.endif
46
47# Create domain and host lists for relay control
48# '@' refers to 'the name of the local host'
49
d2b0a567 50# List of domains considered local for exim. Domains not listed here
51# need to be deliverable remotely.
725c9874 52.ifndef MAIN_LOCAL_DOMAINS
53MAIN_LOCAL_DOMAINS = DEBCONFlocal_domainsDEBCONF
54.endif
55domainlist local_domains = MAIN_LOCAL_DOMAINS
56
d2b0a567 57# List of recipient domains to relay _to_. Use this list if you're -
58# for example - fallback MX or mail gateway for domains.
725c9874 59.ifndef MAIN_RELAY_TO_DOMAINS
60MAIN_RELAY_TO_DOMAINS = DEBCONFrelay_domainsDEBCONF
61.endif
62domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
63
d2b0a567 64# List of sender networks (IP addresses) to _unconditionally_ relay
65# _for_. If you intend to be SMTP AUTH server, you do not need to enter
66# anything here.
725c9874 67.ifndef MAIN_RELAY_NETS
68MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF
69.endif
d2b0a567 70hostlist relay_from_hosts = MAIN_RELAY_NETS
725c9874 71
72
73# Specify the domain you want to be added to all unqualified addresses
74# here. Unqualified addresses are accepted only from local callers by
75# default. The recipient_unqualified_hosts option can be used to permit
76# unqualified addresses from remote sources.
77# If qualify_domain is not set, the primary_hostname value is used for
78# qualification.
79# The ifdef bracket makes sure that an empty debconf value is correctly
80# translated to "unset".
81.ifdef DC_visiblename
82qualify_domain = DC_visiblename
83.endif
84
85# only used for satellite-system
86.ifndef DCreadhost
87DCreadhost = DEBCONFreadhostDEBCONF
88.endif
89
90#for satellite and smarthost-systems
91.ifndef DCsmarthost
92DCsmarthost = DEBCONFsmarthostDEBCONF
93.endif
94
95# listen on all all interfaces?
96.ifdef MAIN_LOCAL_INTERFACES
97local_interfaces = MAIN_LOCAL_INTERFACES
98.else
99DEBCONFlistenonpublicDEBCONF
100.endif
101
102.ifndef LOCAL_DELIVERY
103# The default transport, set in /etc/exim4/update-exim4.conf.conf,
104# defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities
105LOCAL_DELIVERY=DEBCONFlocaldeliveryDEBCONF
106.endif
107
108# The gecos field in /etc/passwd holds not only the name. see passwd(5).
109gecos_pattern = ^([^,:]*)
110gecos_name = $1
111
112
113# define a macro DCconfig_smarthost, DCconfig_satellite, etc. we need this
114# for .ifdef ... .endif
115.ifndef DCconfig_satellite
116.ifndef DCconfig_internet
117.ifndef DCconfig_local
118.ifndef DCconfig_smarthost
119DCconfig_DEBCONFconfigtypeDEBCONF = 1
120.endif
121.endif
122.endif
123.endif
124
125
126# define macros to be used in acl/30_exim4-config_check_rcpt to check
d2b0a567 127# recipient local parts for strange characters.
128
129# This macro definition really should be in
130# acl/30_exim4-config_check_rcpt but cannot be there due to
131# http://www.exim.org/bugzilla/show_bug.cgi?id=101 as of exim 4.62.
132
133# These macros are documented in acl/30_exim4-config_check_rcpt,
134# can be changed here or overridden by a locally added configuration
135# file as described in README.Debian chapter 2.1.2
725c9874 136
725c9874 137.ifndef CHECK_RCPT_LOCAL_LOCALPARTS
d2b0a567 138CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : ^.*[@%!/|`#&?]
725c9874 139.endif
140
725c9874 141.ifndef CHECK_RCPT_REMOTE_LOCALPARTS
d2b0a567 142CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./
143.endif
144
145# always log tls_peerdn as we use TLS for outgoing connects by default
146.ifndef MAIN_LOG_SELECTOR
147MAIN_LOG_SELECTOR = +tls_peerdn
725c9874 148.endif