Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From ubuntu:trusty
From ubuntu:latest
MAINTAINER Elliott Ye

# Set noninteractive mode for apt-get
Expand Down
2 changes: 2 additions & 0 deletions assets/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ tail -f /var/log/mail.log
EOF
chmod +x /opt/postfix.sh
postconf -e myhostname=$maildomain
postconf -e local_recipient_maps=
postconf -F '*/*/chroot = n'

############
Expand Down Expand Up @@ -58,6 +59,7 @@ if [[ -n "$(find /etc/postfix/certs -iname *.crt)" && -n "$(find /etc/postfix/ce
# /etc/postfix/main.cf
postconf -e smtpd_tls_cert_file=$(find /etc/postfix/certs -iname *.crt)
postconf -e smtpd_tls_key_file=$(find /etc/postfix/certs -iname *.key)
postconf -e smtpd_tls_loglevel=2
chmod 400 /etc/postfix/certs/*.*
# /etc/postfix/master.cf
postconf -M submission/inet="submission inet n - n - - smtpd"
Expand Down