chiark / gitweb /
Makefile, spam.m4, user-spam.m4: Put user limit config in its own file.
[exim-config] / config.m4
CommitLineData
185b5456
MW
1### -*-m4-*-
2###
3### Basic configuration settings for distorted.org.uk Exim configuration
4###
5### (c) 2012 Mark Wooding
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This program is free software; you can redistribute it and/or modify
11### it under the terms of the GNU General Public License as published by
12### the Free Software Foundation; either version 2 of the License, or
13### (at your option) any later version.
14###
15### This program is distributed in the hope that it will be useful,
16### but WITHOUT ANY WARRANTY; without even the implied warranty of
17### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18### GNU General Public License for more details.
19###
20### You should have received a copy of the GNU General Public License
21### along with this program; if not, write to the Free Software Foundation,
22### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24## Master domain name.
25DEFCONF(master_domain, distorted.org.uk)
26
27## The smarthost for satellite hosts.
28DEFCONF(smarthost, mail.distorted.org.uk)
29
30## The user who runs verification filters.
31DEFCONF(filter_user, Debian-exim)
32
b1d083dd
MW
33## Administrative groups.
34DEFCONF(admin_groups, root : adm)
e8fc7835 35DEFCONF(trusted_groups, root : adm)
b1d083dd 36
185b5456
MW
37## Where the spam filter is.
38DEFCONF(spamd_address, 172.29.199.179)
39DEFCONF(spamd_port, 783)
40
41## Default spam limit for incoming mail (multiplied by ten).
42DEFCONF(spam_max, 50)
43
ea823544
MW
44## Userv stuff for debugging.
45DEFCONF(userv_opts, )
46
185b5456
MW
47## Which interfaces to listen on. Exim checks for the literal string `::0'
48## when setting things up: don't use `::', or we'll be tripped up by Linux's
49## demented non-`IPV6_V6ONLY' behaviour.
50DEFCONF(interfaces, m4_ifelse(MODE, satellite, 127.0.0.1 ; ::1,
51 0.0.0.0 ; ::0))
52
d411be33
MW
53## Main and submission port numbers. (This is sometimes tweaked for
54## testing.)
55DEFCONF(smtp_port, 25)
185b5456
MW
56DEFCONF(submission_port, 587)
57
58## Locations of other configuration files.
59DEFCONF(sysconf_dir, /etc/mail)
60DEFCONF(userconf_dir, $home/.mail)
61DEFCONF(alias_file, /etc/aliases)
62DEFCONF(ca_dir, /etc/ca)
63
64## User address suffix handling.
025eb2ed 65DEFCONF(user_suffix_list, +* : -*)
185b5456
MW
66DEFCONF(user_extaddr_regexp, $acl_c_user([-+@]|\$))
67DEFCONF(user_extaddr_fixup, ${sg {$local_part_suffix}{^[-+]}{}})
68
69## Other hosts allowed to relay mail through us.
70DEFCONF(relay_clients, +trusted)
71
72## TLS-related settings. We're assuming GNUTLS here, rather than OpenSSL.
73## For local connections we are very strict. For random clients, we try
74## fairly hard to encourage any kind of crypto on the grounds that probably
75## nobody can verify our certificate anyway.
76DEFCONF(good_ciphers, NONE<::>m4_dnl
b6d74252 77:+VERS-TLS1.2:+VERS-TLS1.1:+VERS-TLS1.0<::>m4_dnl
185b5456
MW
78:+DHE-RSA:+DHE-DSS<::>m4_dnl
79:+AES-256-CBC:+AES-128-CBC<::>m4_dnl
b6d74252 80:+SHA256:+SHA384:+SHA512:+SHA1<::>m4_dnl
185b5456
MW
81:+SIGN-RSA-SHA512:+SIGN-RSA-SHA384:+SIGN-RSA-SHA256:+SIGN-DSA-SHA256<::>m4_dnl
82:+CTYPE-X.509<::>m4_dnl
83:+COMP-NULL<::>m4_dnl
84)
85DEFCONF(acceptable_ciphers, NORMAL<::>m4_dnl
86:-MD5<::>m4_dnl
87)
88
89###----- That's all, folks --------------------------------------------------