Enable both IP4 and IP6
This commit is contained in:
parent
ba36e8db6d
commit
f3d239ff26
@ -20,6 +20,7 @@ RUN apk add shadow \
|
||||
# Config postfix
|
||||
RUN echo "policyd-spf unix - n n - 0 spawn user=policyd-spf argv=/usr/bin/postfix-policyd-spf-perl" >> /etc/postfix/master.cf
|
||||
RUN sed -i -e 's%^#mynetworks = hash:/etc/postfix/network_table%mynetworks = /etc/opendkim/signing/TrustedHosts%' /etc/postfix/main.cf
|
||||
RUN sed -i -e 's%^inet_protocols%#&%' /etc/postfix/main.cf
|
||||
COPY include /etc/postfix/include
|
||||
COPY ssl /etc/postfix/ssl
|
||||
RUN chmod 644 /etc/postfix/ssl/ca.crts /etc/postfix/include/*cf
|
||||
|
@ -6,7 +6,7 @@ smtpd_helo_required = yes
|
||||
recipient_delimiter = +
|
||||
disable_vrfy_command = yes
|
||||
header_checks = regexp:/etc/postfix/custom/header_checks
|
||||
#inet_protocols = ipv4, ipv6
|
||||
inet_protocols = ipv4, ipv6
|
||||
local_recipient_maps =
|
||||
mailbox_size_limit = 133169152
|
||||
qmqpd_authorized_clients = 127.0.0.1 [::1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user