· 8 years ago · Dec 22, 2016, 06:29 PM
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
9smtpd_banner = $myhostname ESMTP $mail_name (Raspbian)
10biff = no
11
12# appending .domain is the MUA's job.
13append_dot_mydomain = no
14
15# Uncomment the next line to generate "delayed mail" warnings
16#delay_warning_time = 4h
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:${data_directory}/smtpd_scache
25smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
26
27smtpd_sasl_type = dovecot
28smtpd_sasl_path = private/auth
29smtpd_sasl_auth_enable = yes
30
31# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
32# information on enabling SSL in the smtp client.
33
34myhostname = raspberrypi
35alias_maps = hash:/etc/aliases
36alias_database = hash:/etc/aliases
37myorigin = /etc/mailname
38mydestination = jurek.tk, raspberrypi, localhost.localdomain, localhost
39relayhost =
40mynetworks = 127.0.0.0/8 192.168.1.12
41mailbox_size_limit = 0
42recipient_delimiter = +
43inet_interfaces = all