email box empty styling

This commit is contained in:
debu-2 2026-10-05 21:34:12 +05:30
parent 1ee8a58117
commit 5cb49f4cb1
19 changed files with 547 additions and 67 deletions

View file

@ -4,8 +4,10 @@ RUN apk add --no-cache postfix openssl
COPY main.cf /etc/postfix/main.cf
COPY master.cf /etc/postfix/master.cf
COPY outbound_header_checks /etc/postfix/outbound_header_checks
COPY entrypoint.sh /entrypoint.sh
RUN chmod 0644 /etc/postfix/main.cf /etc/postfix/master.cf && \
RUN chmod 0644 /etc/postfix/main.cf /etc/postfix/master.cf \
/etc/postfix/outbound_header_checks && \
chmod 0755 /entrypoint.sh && \
mkdir -p /var/spool/postfix/pid

View file

@ -100,6 +100,7 @@ install_relay_maps
postconf -e "myhostname = ${MAIL_HOSTNAME}"
postconf -e "mydomain = ${MAIL_DOMAIN}"
postconf -e "myorigin = \$mydomain"
postconf -e "smtp_header_checks = regexp:/etc/postfix/outbound_header_checks"
# STARTTLS cert for inbound providers (Gmail, Zoho, etc.)
mkdir -p /etc/postfix/certs

View file

@ -0,0 +1,2 @@
# Remove internal Docker/LAN Received hops before internet delivery.
/^Received: from .* \[(10\.|127\.|172\.(1[6-9]|2[0-9]|3[0-9])\.|192\.168\.)/ IGNORE