1postfix_master_selinux(8)SELinux Policy postfix_masterpostfix_master_selinux(8)
2
3
4
6 postfix_master_selinux - Security Enhanced Linux Policy for the post‐
7 fix_master processes
8
10 Security-Enhanced Linux secures the postfix_master processes via flexi‐
11 ble mandatory access control.
12
13 The postfix_master processes execute with the postfix_master_t SELinux
14 type. You can check if you have these processes running by executing
15 the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep postfix_master_t
20
21
22
24 The postfix_master_t SELinux type can be entered via the postfix_mas‐
25 ter_exec_t file type.
26
27 The default entrypoint paths for the postfix_master_t domain are the
28 following:
29
30 /usr/sbin/postcat, /usr/sbin/postfix, /usr/sbin/postlog,
31 /usr/sbin/postkick, /usr/sbin/postlock, /usr/sbin/postalias,
32 /usr/sbin/postsuper, /usr/libexec/postfix/master
33
35 SELinux defines process types (domains) for each process running on the
36 system
37
38 You can see the context of a process using the -Z option to ps
39
40 Policy governs the access confined processes have to files. SELinux
41 postfix_master policy is very flexible allowing users to setup their
42 postfix_master processes in as secure a method as possible.
43
44 The following process types are defined for postfix_master:
45
46 postfix_master_t
47
48 Note: semanage permissive -a postfix_master_t can be used to make the
49 process type postfix_master_t permissive. SELinux does not deny access
50 to permissive process types, but the AVC (SELinux denials) messages are
51 still generated.
52
53
55 SELinux policy is customizable based on least access required. post‐
56 fix_master policy is extremely flexible and has several booleans that
57 allow you to manipulate the policy and run postfix_master with the
58 tightest access possible.
59
60
61
62 If you want to allow all domains to execute in fips_mode, you must turn
63 on the fips_mode boolean. Enabled by default.
64
65 setsebool -P fips_mode 1
66
67
68
70 The SELinux process type postfix_master_t can manage files labeled with
71 the following file types. The paths listed are the default paths for
72 these file types. Note the processes UID still need to have DAC per‐
73 missions.
74
75 cluster_conf_t
76
77 /etc/cluster(/.*)?
78
79 cluster_var_lib_t
80
81 /var/lib/pcsd(/.*)?
82 /var/lib/cluster(/.*)?
83 /var/lib/openais(/.*)?
84 /var/lib/pengine(/.*)?
85 /var/lib/corosync(/.*)?
86 /usr/lib/heartbeat(/.*)?
87 /var/lib/heartbeat(/.*)?
88 /var/lib/pacemaker(/.*)?
89
90 cluster_var_run_t
91
92 /var/run/crm(/.*)?
93 /var/run/cman_.*
94 /var/run/rsctmp(/.*)?
95 /var/run/aisexec.*
96 /var/run/heartbeat(/.*)?
97 /var/run/pcsd-ruby.socket
98 /var/run/corosync-qnetd(/.*)?
99 /var/run/corosync-qdevice(/.*)?
100 /var/run/corosync.pid
101 /var/run/cpglockd.pid
102 /var/run/rgmanager.pid
103 /var/run/cluster/rgmanager.sk
104
105 krb5_host_rcache_t
106
107 /var/tmp/krb5_0.rcache2
108 /var/cache/krb5rcache(/.*)?
109 /var/tmp/nfs_0
110 /var/tmp/DNS_25
111 /var/tmp/host_0
112 /var/tmp/imap_0
113 /var/tmp/HTTP_23
114 /var/tmp/HTTP_48
115 /var/tmp/ldap_55
116 /var/tmp/ldap_487
117 /var/tmp/ldapmap1_0
118
119 mailman_data_t
120
121 /etc/mailman.*
122 /var/lib/mailman(/.*)?
123 /var/spool/mailman.*
124
125 postfix_data_t
126
127 /var/lib/postfix.*
128
129 postfix_private_t
130
131 /var/spool/postfix/private(/.*)?
132
133 postfix_prng_t
134
135 /etc/postfix/prng_exch
136
137 postfix_spool_t
138
139 /var/spool/postfix.*
140 /var/spool/postfix/defer(/.*)?
141 /var/spool/postfix/flush(/.*)?
142 /var/spool/postfix/deferred(/.*)?
143 /var/spool/postfix/maildrop(/.*)?
144
145 postfix_var_run_t
146
147 /var/spool/postfix/pid/.*
148
149 root_t
150
151 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
152 /
153 /initrd
154
155
157 SELinux requires files to have an extended attribute to define the file
158 type.
159
160 You can see the context of a file using the -Z option to ls
161
162 Policy governs the access confined processes have to these files.
163 SELinux postfix_master policy is very flexible allowing users to setup
164 their postfix_master processes in as secure a method as possible.
165
166 The following file types are defined for postfix_master:
167
168
169
170 postfix_master_exec_t
171
172 - Set files with the postfix_master_exec_t type, if you want to transi‐
173 tion an executable to the postfix_master_t domain.
174
175
176 Paths:
177 /usr/sbin/postcat, /usr/sbin/postfix, /usr/sbin/postlog,
178 /usr/sbin/postkick, /usr/sbin/postlock, /usr/sbin/postalias,
179 /usr/sbin/postsuper, /usr/libexec/postfix/master
180
181
182 Note: File context can be temporarily modified with the chcon command.
183 If you want to permanently change the file context you need to use the
184 semanage fcontext command. This will modify the SELinux labeling data‐
185 base. You will need to use restorecon to apply the labels.
186
187
189 semanage fcontext can also be used to manipulate default file context
190 mappings.
191
192 semanage permissive can also be used to manipulate whether or not a
193 process type is permissive.
194
195 semanage module can also be used to enable/disable/install/remove pol‐
196 icy modules.
197
198 semanage boolean can also be used to manipulate the booleans
199
200
201 system-config-selinux is a GUI tool available to customize SELinux pol‐
202 icy settings.
203
204
206 This manual page was auto-generated using sepolicy manpage .
207
208
210 selinux(8), postfix_master(8), semanage(8), restorecon(8), chcon(1),
211 sepolicy(8), setsebool(8)
212
213
214
215postfix_master 23-02-03 postfix_master_selinux(8)