1user_mail_selinux(8)       SELinux Policy user_mail       user_mail_selinux(8)
2
3
4

NAME

6       user_mail_selinux  -  Security  Enhanced Linux Policy for the user_mail
7       processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the user_mail  processes  via  flexible
11       mandatory access control.
12
13       The  user_mail processes execute with the user_mail_t SELinux type. You
14       can check if you have these processes running by executing the ps  com‐
15       mand with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep user_mail_t
20
21
22

PROCESS TYPES

24       SELinux defines process types (domains) for each process running on the
25       system
26
27       You can see the context of a process using the -Z option to ps
28
29       Policy governs the access confined processes have  to  files.   SELinux
30       user_mail  policy  is  very  flexible  allowing  users  to  setup their
31       user_mail processes in as secure a method as possible.
32
33       The following process types are defined for user_mail:
34
35       user_mail_t
36
37       Note: semanage permissive -a  user_mail_t  can  be  used  to  make  the
38       process  type  user_mail_t  permissive. SELinux does not deny access to
39       permissive process types, but the AVC (SELinux  denials)  messages  are
40       still generated.
41
42

BOOLEANS

44       SELinux   policy  is  customizable  based  on  least  access  required.
45       user_mail policy is extremely flexible and has  several  booleans  that
46       allow  you to manipulate the policy and run user_mail with the tightest
47       access possible.
48
49
50
51       If you want to allow all domains to execute in fips_mode, you must turn
52       on the fips_mode boolean. Enabled by default.
53
54       setsebool -P fips_mode 1
55
56
57
58       If  you  want  to  allow  system  to run with NIS, you must turn on the
59       nis_enabled boolean. Disabled by default.
60
61       setsebool -P nis_enabled 1
62
63
64
65       If you want to support SAMBA home directories, you  must  turn  on  the
66       use_samba_home_dirs boolean. Disabled by default.
67
68       setsebool -P use_samba_home_dirs 1
69
70
71

MANAGED FILES

73       The  SELinux process type user_mail_t can manage files labeled with the
74       following file types.  The paths listed are the default paths for these
75       file types.  Note the processes UID still need to have DAC permissions.
76
77       cifs_t
78
79
80       courier_spool_t
81
82            /var/spool/courier(/.*)?
83            /var/spool/authdaemon(/.*)?
84
85       etc_aliases_t
86
87            /etc/mail/.*.db
88            /etc/mail/aliases.*
89            /etc/postfix/aliases.*
90            /etc/aliases
91            /etc/aliases.db
92
93       etc_mail_t
94
95            /etc/mail(/.*)?
96
97       exim_log_t
98
99            /var/log/exim[0-9]?(/.*)?
100
101       exim_spool_t
102
103            /var/spool/exim[0-9]?(/.*)?
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       mail_home_rw_t
120
121            /root/Maildir(/.*)?
122            /root/.esmtp_queue(/.*)?
123            /var/lib/arpwatch/.esmtp_queue(/.*)?
124            /var/cache/ddclient/.esmtp_queue(/.*)?
125            /home/[^/]+/.maildir(/.*)?
126            /home/[^/]+/Maildir(/.*)?
127            /home/[^/]+/.esmtp_queue(/.*)?
128
129       mail_home_t
130
131            /root/.mailrc
132            /root/.esmtprc
133            /root/.forward
134            /root/dead.letter
135            /home/[^/]+/.forward[^/]*
136            /home/[^/]+/.mailrc
137            /home/[^/]+/.esmtprc
138            /home/[^/]+/dead.letter
139
140       mail_spool_t
141
142            /var/mail(/.*)?
143            /var/spool/imap(/.*)?
144            /var/spool/mail(/.*)?
145            /var/spool/smtpd(/.*)?
146
147       mqueue_spool_t
148
149            /var/spool/(client)?mqueue(/.*)?
150            /var/spool/mqueue.in(/.*)?
151
152       nfs_t
153
154
155       sendmail_log_t
156
157            /var/log/mail(/.*)?
158            /var/log/sendmail.st.*
159
160       user_home_t
161
162            /home/[^/]+/.+
163
164       user_mail_tmp_t
165
166
167       uucpd_spool_t
168
169            /var/spool/uucp(/.*)?
170            /var/spool/uucppublic(/.*)?
171
172

COMMANDS

174       semanage  fcontext  can also be used to manipulate default file context
175       mappings.
176
177       semanage permissive can also be used to manipulate  whether  or  not  a
178       process type is permissive.
179
180       semanage  module can also be used to enable/disable/install/remove pol‐
181       icy modules.
182
183       semanage boolean can also be used to manipulate the booleans
184
185
186       system-config-selinux is a GUI tool available to customize SELinux pol‐
187       icy settings.
188
189

AUTHOR

191       This manual page was auto-generated using sepolicy manpage .
192
193

SEE ALSO

195       selinux(8),  user_mail(8), semanage(8), restorecon(8), chcon(1), sepol‐
196       icy(8), setsebool(8)
197
198
199
200user_mail                          23-12-15               user_mail_selinux(8)
Impressum