]> git.somenet.org - root/pub/somesible.git/blob - roles/server/mail/postfix/files/default/master.cf
roles/server/nginx/vhost-unified
[root/pub/somesible.git] / roles / server / mail / postfix / files / default / master.cf
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8 #
9 # Postfix master process configuration file.  For details on the format
10 # of the file, see the master(5) manual page (command: "man 5 master" or
11 # on-line: http://www.postfix.org/master.5.html).
12 #
13 # Do not forget to execute "postfix reload" after editing this file.
14 #
15 # ==========================================================================
16 # service type  private unpriv  chroot  wakeup  maxproc command + args
17 #               (yes)   (yes)   (no)    (never) (100)
18 # ==========================================================================
19 smtp      inet  n       -       n       -       -       smtpd
20   -o content_filter=spamassassin
21   -o smtpd_milters=unix:/run/pyspf-milter/pyspf-milter.sock,unix:/run/opendkim/opendkim.sock,unix:/run/opendmarc/opendmarc.sock
22   -o non_smtpd_milters=unix:/run/pyspf-milter/pyspf-milter.sock,unix:/run/opendkim/opendkim.sock,unix:/run/opendmarc/opendmarc.sock
23 submission inet n       -       n       -       -       smtpd
24   -o syslog_name=postfix/submission
25   -o smtpd_tls_security_level=encrypt
26   -o smtpd_sasl_auth_enable=yes
27   -o smtpd_reject_unlisted_recipient=no
28   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
29   -o milter_macro_daemon_name=ORIGINATING
30   -o smtpd_milters=unix:/run/opendkim/opendkim.sock
31   -o non_smtpd_milters=unix:/run/opendkim/opendkim.sock
32   -o cleanup_service_name=cleanupsubmission
33 #smtp      inet  n       -       y       -       1       postscreen
34 #smtpd     pass  -       -       y       -       -       smtpd
35 #dnsblog   unix  -       -       y       -       0       dnsblog
36 #tlsproxy  unix  -       -       y       -       0       tlsproxy
37 #smtps     inet  n       -       y       -       -       smtpd
38 #  -o syslog_name=postfix/smtps
39 #  -o smtpd_tls_wrappermode=yes
40 #  -o smtpd_sasl_auth_enable=yes
41 #  -o smtpd_reject_unlisted_recipient=no
42 #  -o smtpd_client_restrictions=$mua_client_restrictions
43 #  -o smtpd_helo_restrictions=$mua_helo_restrictions
44 #  -o smtpd_sender_restrictions=$mua_sender_restrictions
45 #  -o smtpd_recipient_restrictions=
46 #  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
47 #  -o milter_macro_daemon_name=ORIGINATING
48 #628       inet  n       -       y       -       -       qmqpd
49 pickup    unix  n       -       y       60      1       pickup
50 cleanup   unix  n       -       y       -       0       cleanup
51 cleanupsubmission   unix  n       -       y       -       0       cleanup
52   -o header_checks=regexp:/etc/postfix/header_checks_out.regexp
53 qmgr      unix  n       -       n       300     1       qmgr
54 #qmgr     unix  n       -       n       300     1       oqmgr
55 tlsmgr    unix  -       -       y       1000?   1       tlsmgr
56 rewrite   unix  -       -       y       -       -       trivial-rewrite
57 bounce    unix  -       -       y       -       0       bounce
58 defer     unix  -       -       y       -       0       bounce
59 trace     unix  -       -       y       -       0       bounce
60 verify    unix  -       -       y       -       1       verify
61 flush     unix  n       -       y       1000?   0       flush
62 proxymap  unix  -       -       n       -       -       proxymap
63 proxywrite unix -       -       n       -       1       proxymap
64 smtp      unix  -       -       y       -       -       smtp
65 relay     unix  -       -       y       -       -       smtp
66         -o syslog_name=postfix/$service_name
67 #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
68 showq     unix  n       -       y       -       -       showq
69 error     unix  -       -       y       -       -       error
70 retry     unix  -       -       y       -       -       error
71 discard   unix  -       -       y       -       -       discard
72 local     unix  -       n       n       -       -       local
73 virtual   unix  -       n       n       -       -       virtual
74 lmtp      unix  -       -       n       -       -       lmtp
75 anvil     unix  -       -       y       -       1       anvil
76 scache    unix  -       -       y       -       1       scache
77 postlog   unix-dgram n  -       n       -       1       postlogd
78 #
79 # ====================================================================
80 # Interfaces to non-Postfix software. Be sure to examine the manual
81 # pages of the non-Postfix software to find out what options it wants.
82 #
83 # Many of the following services use the Postfix pipe(8) delivery
84 # agent.  See the pipe(8) man page for information about ${recipient}
85 # and other message envelope options.
86 # ====================================================================
87 #
88
89 spamassassin unix -     n       n       -       -       pipe
90   user=debian-spamd argv=/usr/bin/spamc -x -X -d 127.0.0.1 -s 10000000 -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
91
92 #sympa   unix    -       n       n       -       -       pipe
93 #  flags=hqRu null_sender= user=sympa argv=/usr/lib/sympa/bin/queue ${nexthop}
94 #sympabounce unix -      n       n       -       -       pipe
95 #  flags=hqRu null_sender= user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${nexthop}