1
# See /usr/share/postfix/main.cf.dist for a commented, more complete
4
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
7
# appending .domain is the MUA's job.
8
append_dot_mydomain = no
10
# Uncomment the next line to generate "delayed mail" warnings
11
#delay_warning_time = 4h
13
myhostname = server1.example.com
14
alias_maps = hash:/etc/aliases
15
alias_database = hash:/etc/aliases
16
myorigin = /etc/mailname
17
mydestination = server1.example.com, localhost.example.com, localhost
19
mynetworks = 127.0.0.0/8
20
mailbox_command = procmail -a "$EXTENSION"
21
mailbox_size_limit = 0
22
recipient_delimiter = +
24
smtpd_sasl_local_domain =
25
smtpd_sasl_auth_enable = yes
26
smtpd_sasl_security_options = noanonymous
27
broken_sasl_auth_clients = yes
28
smtpd_recipient_restrictions =
29
permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
30
smtpd_tls_auth_only = no
33
smtp_tls_note_starttls_offer = yes
34
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
35
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
36
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
37
smtpd_tls_loglevel = 1
38
smtpd_tls_received_header = yes
39
smtpd_tls_session_cache_timeout = 3600s
40
tls_random_source = dev:/dev/urandom