Enable both IP4 and IP6
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 23s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 53s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
Deon George 2025-05-10 13:02:20 +10:00
parent ba36e8db6d
commit f3d239ff26
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ RUN apk add shadow \
# Config postfix # 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 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%^#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 include /etc/postfix/include
COPY ssl /etc/postfix/ssl COPY ssl /etc/postfix/ssl
RUN chmod 644 /etc/postfix/ssl/ca.crts /etc/postfix/include/*cf RUN chmod 644 /etc/postfix/ssl/ca.crts /etc/postfix/include/*cf

View File

@ -6,7 +6,7 @@ smtpd_helo_required = yes
recipient_delimiter = + recipient_delimiter = +
disable_vrfy_command = yes disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/custom/header_checks header_checks = regexp:/etc/postfix/custom/header_checks
#inet_protocols = ipv4, ipv6 inet_protocols = ipv4, ipv6
local_recipient_maps = local_recipient_maps =
mailbox_size_limit = 133169152 mailbox_size_limit = 133169152
qmqpd_authorized_clients = 127.0.0.1 [::1] qmqpd_authorized_clients = 127.0.0.1 [::1]