| 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 | # hcoop-change: List of domains that accept mail from local users. |
| 67 | # Mail sent to other domains we manage will be transformed into a |
| 68 | # local address by /etc/aliases. |
| 69 | domainlist unix_domains = deleuze.hcoop.net:localhost |
| 70 | |
| 71 | # List of sender networks (IP addresses) to _unconditionally_ relay |
| 72 | # _for_. If you intend to be SMTP AUTH server, you do not need to enter |
| 73 | # anything here. |
| 74 | .ifndef MAIN_RELAY_NETS |
| 75 | MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF |
| 76 | .endif |
| 77 | hostlist relay_from_hosts = MAIN_RELAY_NETS |
| 78 | |
| 79 | |
| 80 | # Specify the domain you want to be added to all unqualified addresses |
| 81 | # here. Unqualified addresses are accepted only from local callers by |
| 82 | # default. The recipient_unqualified_hosts option can be used to permit |
| 83 | # unqualified addresses from remote sources. |
| 84 | # If qualify_domain is not set, the primary_hostname value is used for |
| 85 | # qualification. |
| 86 | # The ifdef bracket makes sure that an empty debconf value is correctly |
| 87 | # translated to "unset". |
| 88 | .ifdef DC_visiblename |
| 89 | qualify_domain = DC_visiblename |
| 90 | .endif |
| 91 | |
| 92 | # only used for satellite-system |
| 93 | .ifndef DCreadhost |
| 94 | DCreadhost = DEBCONFreadhostDEBCONF |
| 95 | .endif |
| 96 | |
| 97 | #for satellite and smarthost-systems |
| 98 | .ifndef DCsmarthost |
| 99 | DCsmarthost = DEBCONFsmarthostDEBCONF |
| 100 | .endif |
| 101 | |
| 102 | # listen on all all interfaces? |
| 103 | .ifdef MAIN_LOCAL_INTERFACES |
| 104 | local_interfaces = MAIN_LOCAL_INTERFACES |
| 105 | .else |
| 106 | DEBCONFlistenonpublicDEBCONF |
| 107 | .endif |
| 108 | |
| 109 | .ifndef LOCAL_DELIVERY |
| 110 | # The default transport, set in /etc/exim4/update-exim4.conf.conf, |
| 111 | # defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities |
| 112 | LOCAL_DELIVERY=DEBCONFlocaldeliveryDEBCONF |
| 113 | .endif |
| 114 | |
| 115 | # The gecos field in /etc/passwd holds not only the name. see passwd(5). |
| 116 | gecos_pattern = ^([^,:]*) |
| 117 | gecos_name = $1 |
| 118 | |
| 119 | |
| 120 | # define a macro DCconfig_smarthost, DCconfig_satellite, etc. we need this |
| 121 | # for .ifdef ... .endif |
| 122 | .ifndef DCconfig_satellite |
| 123 | .ifndef DCconfig_internet |
| 124 | .ifndef DCconfig_local |
| 125 | .ifndef DCconfig_smarthost |
| 126 | DCconfig_DEBCONFconfigtypeDEBCONF = 1 |
| 127 | .endif |
| 128 | .endif |
| 129 | .endif |
| 130 | .endif |
| 131 | |
| 132 | |
| 133 | # define macros to be used in acl/30_exim4-config_check_rcpt to check |
| 134 | # recipient local parts for strange characters. |
| 135 | |
| 136 | # This macro definition really should be in |
| 137 | # acl/30_exim4-config_check_rcpt but cannot be there due to |
| 138 | # http://www.exim.org/bugzilla/show_bug.cgi?id=101 as of exim 4.62. |
| 139 | |
| 140 | # These macros are documented in acl/30_exim4-config_check_rcpt, |
| 141 | # can be changed here or overridden by a locally added configuration |
| 142 | # file as described in README.Debian chapter 2.1.2 |
| 143 | |
| 144 | .ifndef CHECK_RCPT_LOCAL_LOCALPARTS |
| 145 | CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : ^.*[@%!/|`#&?] |
| 146 | .endif |
| 147 | |
| 148 | .ifndef CHECK_RCPT_REMOTE_LOCALPARTS |
| 149 | CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./ |
| 150 | .endif |
| 151 | |
| 152 | # always log tls_peerdn as we use TLS for outgoing connects by default |
| 153 | # hcoop-change: add +tls_ciper |
| 154 | .ifndef MAIN_LOG_SELECTOR |
| 155 | MAIN_LOG_SELECTOR = +tls_cipher +tls_peerdn |
| 156 | .endif |
| 157 | |
| 158 | # hcoop-change: use file_transport = address_file for /etc/aliases |
| 159 | # delivery, as per old configuration |
| 160 | SYSTEM_ALIASES_FILE_TRANSPORT = address_file |
| 161 | |
| 162 | # hcoop-change: deliver mail to AFS |
| 163 | MAILDIR_HOME_MAILDIR_LOCATION = /afs/hcoop.net/common/email |