Initial import
[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 # 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.
24 exim_path = /usr/sbin/exim4
25
26 # Macro defining the main configuration directory.
27 # We do not use absolute paths.
28 .ifndef CONFDIR
29 CONFDIR = /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
35 DEBCONFminimaldnsDEBCONF
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
41 DC_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
48 MAIN_LOCAL_DOMAINS = DEBCONFlocal_domainsDEBCONF
49 .endif
50 domainlist local_domains = MAIN_LOCAL_DOMAINS
51
52 .ifndef MAIN_RELAY_TO_DOMAINS
53 MAIN_RELAY_TO_DOMAINS = DEBCONFrelay_domainsDEBCONF
54 .endif
55 domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
56
57 .ifndef MAIN_RELAY_NETS
58 MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF
59 .endif
60 hostlist 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
72 qualify_domain = DC_visiblename
73 .endif
74
75 # only used for satellite-system
76 .ifndef DCreadhost
77 DCreadhost = DEBCONFreadhostDEBCONF
78 .endif
79
80 #for satellite and smarthost-systems
81 .ifndef DCsmarthost
82 DCsmarthost = DEBCONFsmarthostDEBCONF
83 .endif
84
85 # listen on all all interfaces?
86 .ifdef MAIN_LOCAL_INTERFACES
87 local_interfaces = MAIN_LOCAL_INTERFACES
88 .else
89 DEBCONFlistenonpublicDEBCONF
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
95 LOCAL_DELIVERY=DEBCONFlocaldeliveryDEBCONF
96 .endif
97
98 # The gecos field in /etc/passwd holds not only the name. see passwd(5).
99 gecos_pattern = ^([^,:]*)
100 gecos_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
109 DCconfig_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
123 CHECK_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
135 CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!\'`#&?] : ^.*/\\.\\./
136 .endif