0a792aeb4c8d634298d9c8ac2d9ecd8a22e12ad7
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / main / 01_exim4-config_listmacrosdefs
1
2 ######################################################################
3 # Runtime configuration file for Exim 4 (Debian Packaging) #
4 ######################################################################
5
6 ######################################################################
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.
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.
27 exim_path = /usr/sbin/exim4
28
29 # Macro defining the main configuration directory.
30 # We do not use absolute paths.
31 .ifndef CONFDIR
32 CONFDIR = /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
38 DEBCONFminimaldnsDEBCONF
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
44 DC_visiblename=DEBCONFvisiblenameDEBCONF
45 .endif
46
47 # Create domain and host lists for relay control
48 # '@' refers to 'the name of the local host'
49
50 # List of domains considered local for exim. Domains not listed here
51 # need to be deliverable remotely.
52 # hcoop-change: comment out
53 #.ifndef MAIN_LOCAL_DOMAINS
54 #MAIN_LOCAL_DOMAINS = DEBCONFlocal_domainsDEBCONF
55 #.endif
56 #domainlist local_domains = MAIN_LOCAL_DOMAINS
57
58 # List of recipient domains to relay _to_. Use this list if you're -
59 # for example - fallback MX or mail gateway for domains.
60 # hcoop-change: comment out
61 #.ifndef MAIN_RELAY_TO_DOMAINS
62 #MAIN_RELAY_TO_DOMAINS = DEBCONFrelay_domainsDEBCONF
63 #.endif
64 #domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
65
66 # List of sender networks (IP addresses) to _unconditionally_ relay
67 # _for_. If you intend to be SMTP AUTH server, you do not need to enter
68 # anything here.
69 .ifndef MAIN_RELAY_NETS
70 MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF
71 .endif
72 hostlist relay_from_hosts = MAIN_RELAY_NETS
73
74
75 # Specify the domain you want to be added to all unqualified addresses
76 # here. Unqualified addresses are accepted only from local callers by
77 # default. The recipient_unqualified_hosts option can be used to permit
78 # unqualified addresses from remote sources.
79 # If qualify_domain is not set, the primary_hostname value is used for
80 # qualification.
81 # The ifdef bracket makes sure that an empty debconf value is correctly
82 # translated to "unset".
83 .ifdef DC_visiblename
84 qualify_domain = DC_visiblename
85 .endif
86
87 # only used for satellite-system
88 .ifndef DCreadhost
89 DCreadhost = DEBCONFreadhostDEBCONF
90 .endif
91
92 #for satellite and smarthost-systems
93 .ifndef DCsmarthost
94 DCsmarthost = DEBCONFsmarthostDEBCONF
95 .endif
96
97 # listen on all all interfaces?
98 .ifdef MAIN_LOCAL_INTERFACES
99 local_interfaces = MAIN_LOCAL_INTERFACES
100 .else
101 DEBCONFlistenonpublicDEBCONF
102 .endif
103
104 .ifndef LOCAL_DELIVERY
105 # The default transport, set in /etc/exim4/update-exim4.conf.conf,
106 # defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities
107 LOCAL_DELIVERY=DEBCONFlocaldeliveryDEBCONF
108 .endif
109
110 # The gecos field in /etc/passwd holds not only the name. see passwd(5).
111 gecos_pattern = ^([^,:]*)
112 gecos_name = $1
113
114
115 # define a macro DCconfig_smarthost, DCconfig_satellite, etc. we need this
116 # for .ifdef ... .endif
117 .ifndef DCconfig_satellite
118 .ifndef DCconfig_internet
119 .ifndef DCconfig_local
120 .ifndef DCconfig_smarthost
121 DCconfig_DEBCONFconfigtypeDEBCONF = 1
122 .endif
123 .endif
124 .endif
125 .endif
126
127
128 # define macros to be used in acl/30_exim4-config_check_rcpt to check
129 # recipient local parts for strange characters.
130
131 # This macro definition really should be in
132 # acl/30_exim4-config_check_rcpt but cannot be there due to
133 # http://www.exim.org/bugzilla/show_bug.cgi?id=101 as of exim 4.62.
134
135 # These macros are documented in acl/30_exim4-config_check_rcpt,
136 # can be changed here or overridden by a locally added configuration
137 # file as described in README.Debian chapter 2.1.2
138
139 .ifndef CHECK_RCPT_LOCAL_LOCALPARTS
140 CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : ^.*[@%!/|`#&?]
141 .endif
142
143 .ifndef CHECK_RCPT_REMOTE_LOCALPARTS
144 CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./
145 .endif
146
147 # always log tls_peerdn as we use TLS for outgoing connects by default
148 # hcoop-change: add +tls_ciper
149 .ifndef MAIN_LOG_SELECTOR
150 MAIN_LOG_SELECTOR = +tls_cipher +tls_peerdn
151 .endif
152
153 # hcoop-change: use file_transport = address_file for /etc/aliases
154 # delivery, as per old configuration
155 SYSTEM_ALIASES_FILE_TRANSPORT = address_file
156
157 # hcoop-change: deliver mail to AFS
158 MAILDIR_HOME_MAILDIR_LOCATION = /afs/hcoop.net/common/email