paulbsd-salt/states/postfix/templates/master.cf.j2

57 lines
2.9 KiB
Plaintext
Raw Permalink Normal View History

2020-07-10 00:58:55 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
2022-12-03 00:05:37 +01:00
smtp inet n - - - - smtpd
pickup unix n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr unix n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
2020-07-10 00:58:55 +02:00
2022-12-03 00:05:37 +01:00
submission inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
-o smtpd_tls_security_level=encrypt
-o smtpd_tls_auth_only=yes
smtps inet n - n - - smtpd
2020-08-10 09:41:22 +02:00
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
2022-12-03 00:05:37 +01:00
dovecot unix - n n - - pipe
2020-07-19 23:43:55 +02:00
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
2022-12-03 00:05:37 +01:00
maildrop unix - n n - - pipe
2020-07-10 00:58:55 +02:00
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
2022-12-03 00:05:37 +01:00
uucp unix - n n - - pipe
2020-07-10 00:58:55 +02:00
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
2022-12-03 00:05:37 +01:00
maildb unix - n n - - pipe
2021-07-17 15:23:05 +02:00
flags=DROhu user=vmail:vmail argv=/usr/local/apps/maildb/maildb.py --config /usr/local/apps/config/common.ini ${sender} ${original_recipient}
2020-07-10 00:58:55 +02:00
2022-12-03 00:05:37 +01:00
127.0.0.1:10025 inet n - n - - smtpd
2020-07-10 00:58:55 +02:00
-o content_filter=
-o mynetworks=127.0.0.0/8
2021-08-19 21:15:24 +02:00
-o smtpd_recipient_restrictions=permit_mynetworks,reject