Files
argocd-apps/apps/base/mail/smarthost/master.cf
T
unkin-agent 7501dbca7d
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Add postfix smarthost to the mail namespace
2026-10-12 21:33:42 +11:00

39 lines
2.2 KiB
CFEngine3

# inbound-relay: gateways (no milter) and Stalwart's outbound relay (pod CIDR, rspamd milter).
25 inet n - n - - smtpd
-o syslog_name=postfix/inbound-relay
-o mynetworks=$pod_networks
-o smtpd_client_restrictions=$inbound_client_restrictions
-o smtpd_recipient_restrictions=$inbound_recipient_restrictions
-o smtpd_milters=
-o smtpd_milter_maps=cidr:/etc/postfix/milter.cidr
# submission-internal: lab networks and pods, always through rspamd.
587 inet n - n - - smtpd
-o syslog_name=postfix/submission-internal
-o smtpd_client_restrictions=$submission_client_restrictions
-o smtpd_milters=$rspamd_milter
pickup unix n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr unix n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o syslog_name=postfix/$service_name
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
postlog unix-dgram n - n - 1 postlogd