Files
NewSzxcn-Email/deploy/postfix/entrypoint.sh
T

10 lines
308 B
Bash
Raw Normal View History

2026-06-14 01:07:48 +08:00
#!/bin/sh
set -eu
: "${LANQIN_PUBLIC_HOSTNAME:=mail.example.com}"
postconf -e "myhostname = ${LANQIN_PUBLIC_HOSTNAME}"
postconf -e "myorigin = ${LANQIN_PUBLIC_HOSTNAME}"
postconf -e "smtpd_milters = inet:opendkim:8891"
postconf -e "non_smtpd_milters = inet:opendkim:8891"
postfix check
exec postfix start-fg