summaryrefslogtreecommitdiff
path: root/conf/postfix_main.cf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/postfix_main.cf')
-rw-r--r--conf/postfix_main.cf43
1 files changed, 43 insertions, 0 deletions
diff --git a/conf/postfix_main.cf b/conf/postfix_main.cf
new file mode 100644
index 0000000..7e11ff1
--- /dev/null
+++ b/conf/postfix_main.cf
@@ -0,0 +1,43 @@
1# See /usr/share/postfix/main.cf.dist for a commented, more complete version
2
3
4# Debian specific: Specifying a file name will cause the first
5# line of that file to be used as the name. The Debian default
6# is /etc/mailname.
7myorigin = /etc/mailname
8
9smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
10biff = yes
11
12# appending .domain is the MUA's job.
13append_dot_mydomain = no
14
15# It's 2013; we expect mail to be delivered quickly. Generate "delayed mail" warnings after 7 minutes.
16delay_warning_time = 7m
17
18readme_directory = no
19
20# TLS parameters
21smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
22smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
23smtpd_use_tls=yes
24smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
25smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
26
27# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
28# information on enabling SSL in the smtp client.
29
30alias_maps = hash:/etc/aliases
31alias_database = hash:/etc/aliases
32relayhost =
33mynetworks = 127.0.0.0/8 !127.84.111.114/32
34mailbox_size_limit = 0
35recipient_delimiter = +
36inet_interfaces = all
37
38# Samizdat: this is necessary for .onion URLs to resolve (until we implement DNSSEC).
39smtp_host_lookup = native
40# postfix versions before 2.11:
41disable_dns_lookups = yes
42# postfix versions 2.11 and later:
43#smtp_dns_support_level = disabled