diff --git a/01-basic.sh b/01-basic.sh index de0afc2..36ba2f0 100755 --- a/01-basic.sh +++ b/01-basic.sh @@ -27,7 +27,7 @@ cp ${SOURCE_DIR}/etc/issue.template /etc/issue.template cp ${SOURCE_DIR}/sbin/issue-gen /sbin/issue-gen # 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 mkdir /etc/ssl/private diff --git a/basic/etc/postfix/main.cf b/basic/etc/postfix/main.cf index 2b9e3c5..12933f9 100644 --- a/basic/etc/postfix/main.cf +++ b/basic/etc/postfix/main.cf @@ -3,11 +3,6 @@ biff = no compatibility_level = 2 inet_interfaces = loopback-only inet_protocols = ipv4 -mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 -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 +mynetworks = 127.0.0.0/8 172.17.0.0/24 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_use_tls=yes