diff options
Diffstat (limited to 'conf/postfix_main.cf')
-rw-r--r-- | conf/postfix_main.cf | 43 |
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. | ||
7 | myorigin = /etc/mailname | ||
8 | |||
9 | smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) | ||
10 | biff = yes | ||
11 | |||
12 | # appending .domain is the MUA's job. | ||
13 | append_dot_mydomain = no | ||
14 | |||
15 | # It's 2013; we expect mail to be delivered quickly. Generate "delayed mail" warnings after 7 minutes. | ||
16 | delay_warning_time = 7m | ||
17 | |||
18 | readme_directory = no | ||
19 | |||
20 | # TLS parameters | ||
21 | smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem | ||
22 | smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key | ||
23 | smtpd_use_tls=yes | ||
24 | smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache | ||
25 | smtp_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 | |||
30 | alias_maps = hash:/etc/aliases | ||
31 | alias_database = hash:/etc/aliases | ||
32 | relayhost = | ||
33 | mynetworks = 127.0.0.0/8 !127.84.111.114/32 | ||
34 | mailbox_size_limit = 0 | ||
35 | recipient_delimiter = + | ||
36 | inet_interfaces = all | ||
37 | |||
38 | # Samizdat: this is necessary for .onion URLs to resolve (until we implement DNSSEC). | ||
39 | smtp_host_lookup = native | ||
40 | # postfix versions before 2.11: | ||
41 | disable_dns_lookups = yes | ||
42 | # postfix versions 2.11 and later: | ||
43 | #smtp_dns_support_level = disabled | ||