Initial import
[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######################################################################
7# Depending on where you find this file, this might be a template or
8# an actual configuration file. Documentation about the Debian exim4
9# configuration scheme can be found in
10# /usr/share/doc/exim4-base/README.Debian.gz.
11#
12# Strings like DEBCONFsomethingDEBCONF are replaced by installation
13# dependent values by update-exim4.conf, the script which builds the
14# actual configuration from the templates.
15######################################################################
16
17######################################################################
18# MAIN CONFIGURATION SETTINGS #
19######################################################################
20
21# Just for reference and scripts.
22# On Debian systems, the main binary is installed as exim4 to avoid
23# conflicts with the exim 3 packages.
24exim_path = /usr/sbin/exim4
25
26# Macro defining the main configuration directory.
27# We do not use absolute paths.
28.ifndef CONFDIR
29CONFDIR = /etc/exim4
30.endif
31
32# This sets a macro DC_minimaldns if dc_minimaldns=true. If
33# dc_minimaldns=false, this expands to an empty line.
34.ifndef DC_minimaldns
35DEBCONFminimaldnsDEBCONF
36.endif
37
38# Create other macros from Debconf. Macros created here are used in
39# other places in exim config.
40.ifndef DC_visiblename
41DC_visiblename=DEBCONFvisiblenameDEBCONF
42.endif
43
44# Create domain and host lists for relay control
45# '@' refers to 'the name of the local host'
46
47.ifndef MAIN_LOCAL_DOMAINS
48MAIN_LOCAL_DOMAINS = DEBCONFlocal_domainsDEBCONF
49.endif
50domainlist local_domains = MAIN_LOCAL_DOMAINS
51
52.ifndef MAIN_RELAY_TO_DOMAINS
53MAIN_RELAY_TO_DOMAINS = DEBCONFrelay_domainsDEBCONF
54.endif
55domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
56
57.ifndef MAIN_RELAY_NETS
58MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF
59.endif
60hostlist relay_from_hosts = 127.0.0.1 : ::::1 : MAIN_RELAY_NETS
61
62
63# Specify the domain you want to be added to all unqualified addresses
64# here. Unqualified addresses are accepted only from local callers by
65# default. The recipient_unqualified_hosts option can be used to permit
66# unqualified addresses from remote sources.
67# If qualify_domain is not set, the primary_hostname value is used for
68# qualification.
69# The ifdef bracket makes sure that an empty debconf value is correctly
70# translated to "unset".
71.ifdef DC_visiblename
72qualify_domain = DC_visiblename
73.endif
74
75# only used for satellite-system
76.ifndef DCreadhost
77DCreadhost = DEBCONFreadhostDEBCONF
78.endif
79
80#for satellite and smarthost-systems
81.ifndef DCsmarthost
82DCsmarthost = DEBCONFsmarthostDEBCONF
83.endif
84
85# listen on all all interfaces?
86.ifdef MAIN_LOCAL_INTERFACES
87local_interfaces = MAIN_LOCAL_INTERFACES
88.else
89DEBCONFlistenonpublicDEBCONF
90.endif
91
92.ifndef LOCAL_DELIVERY
93# The default transport, set in /etc/exim4/update-exim4.conf.conf,
94# defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities
95LOCAL_DELIVERY=DEBCONFlocaldeliveryDEBCONF
96.endif
97
98# The gecos field in /etc/passwd holds not only the name. see passwd(5).
99gecos_pattern = ^([^,:]*)
100gecos_name = $1
101
102
103# define a macro DCconfig_smarthost, DCconfig_satellite, etc. we need this
104# for .ifdef ... .endif
105.ifndef DCconfig_satellite
106.ifndef DCconfig_internet
107.ifndef DCconfig_local
108.ifndef DCconfig_smarthost
109DCconfig_DEBCONFconfigtypeDEBCONF = 1
110.endif
111.endif
112.endif
113.endif
114
115
116# define macros to be used in acl/30_exim4-config_check_rcpt to check
117# recipient local parts for strange characters
118
119# This macro is used to check local parts of recipients in local
120# domains. It blocks local parts that begin with a dot or contain a
121# quite broad range of non-alphanumeric characters.
122.ifndef CHECK_RCPT_LOCAL_LOCALPARTS
123CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : ^.*[@%!/|\'`#&?]
124.endif
125
126# This macro is used to check local parts of recipients in non-local
127# domains. It thus allows your own users to send outgoing messages to
128# sites that use slashes and vertical bars in their local parts. It blocks
129# local parts that begin with a dot, slash, or vertical bar, but allows
130# these characters within the local part. However, the sequence /../ is
131# barred. The use of some other non-alphanumeric characters is blocked.
132# The motivation here is to prevent your users (or your users' viruses)
133# from mounting certain kinds of attack on remote sites.
134.ifndef CHECK_RCPT_REMOTE_LOCALPARTS
135CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!\'`#&?] : ^.*/\\.\\./
136.endif