Simplify Postfix configuration
This commit is contained in:
parent
5477e36dec
commit
1a5ad7ba15
@ -27,7 +27,7 @@ cp ${SOURCE_DIR}/etc/issue.template /etc/issue.template
|
|||||||
cp ${SOURCE_DIR}/sbin/issue-gen /sbin/issue-gen
|
cp ${SOURCE_DIR}/sbin/issue-gen /sbin/issue-gen
|
||||||
|
|
||||||
# Configure Postfix
|
# Configure Postfix
|
||||||
# cp ${SOURCE_DIR}/etc/postfix/main.cf /etc/postfix/main.cf
|
cp ${SOURCE_DIR}/etc/postfix/main.cf /etc/postfix/main.cf
|
||||||
|
|
||||||
# Create a self-signed certificate
|
# Create a self-signed certificate
|
||||||
mkdir /etc/ssl/private
|
mkdir /etc/ssl/private
|
||||||
|
@ -3,11 +3,6 @@ biff = no
|
|||||||
compatibility_level = 2
|
compatibility_level = 2
|
||||||
inet_interfaces = loopback-only
|
inet_interfaces = loopback-only
|
||||||
inet_protocols = ipv4
|
inet_protocols = ipv4
|
||||||
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
|
mynetworks = 127.0.0.0/8 172.17.0.0/24
|
||||||
recipient_delimiter = +
|
|
||||||
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
|
|
||||||
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
|
|
||||||
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
|
|
||||||
smtpd_use_tls=yes
|
|
||||||
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
||||||
smtp_use_tls=yes
|
smtp_use_tls=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user