mailman_queue_selinux(8)
π
mailman_queue_selinux(8) β the SELinux glow-up for your mailman_queue girlies
okay so real talk, this is the mailman_queue_selinux(8) page, and it's about the SELinux policy that keeps your mailman_queue processes living their best, most locked-down lives. grab a snack, bestie, we're getting into it π
β¨ NAME β¨
mailman_queue_selinux β the whole Security Enhanced Linux Policy situation for the mailman_queue processes. yeah. that's the vibe.
π¦ DESCRIPTION π¦
Security-Enhanced Linux secures the mailman_queue processes via flexible mandatory access control. mandatory, bestie. it's not a suggestion, it's a whole lifestyle π
The mailman_queue processes execute with the mailman_queue_t SELinux type. and like, how do you even know if you've got these processes running? you run the ps command with the -Z qualifier, duh. it's giving "who are you wearing" but for security contexts π
For example:
ps -eZ | grep mailman_queue_t
go off, ps. go off. π₯
πͺ ENTRYPOINTS πͺ
The mailman_queue_t SELinux type can be entered via the mailman_queue_exec_t file type. that's the doorway, no cap.
The default entrypoint paths for the mailman_queue_t domain are literally these:
/etc/cron.(daily|monthly)/mailman, /usr/lib/mailman.*/cron/.*,
/usr/lib/mailman.*/bin/qrunner
write them down, screenshot them, tattoo them, whatever works π
π PROCESS TYPES π
okay so SELinux defines process types (domains) for each process running on the system. one domain per process, main character energy for everyone.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. the SELinux mailman_queue policy is very flexible, allowing users to setup their mailman_queue processes in as secure a method as possible. flexible AND secure? we love a multitasker π
The following process types are defined for mailman_queue:
mailman_queue_tβ the one, the only, the domain in question β¨
Note:semanage permissive -a mailman_queue_tcan be used to make the process typemailman_queue_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it stops blocking you, but it's still taking notes in the group chat π
πΈ BOOLEANS πΈ
SELinux policy is customizable based on least access required. the mailman_queue policy is extremely flexible and has several booleans that allow you to manipulate the policy and run mailman_queue with the tightest access possible. tightest access = bestie behavior, fr fr π«Ά
If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default. (yes queen, it's already on)
setsebool -P fips_mode 1
If you want to allow system to run with NIS, you must turn on the nis_enabled boolean. Disabled by default. (she's off, you gotta ask nicely)
setsebool -P nis_enabled 1
ποΈ MANAGED FILES ποΈ
The SELinux process type mailman_queue_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. heads up though: the process's UID still needs to have DAC permissions. SELinux isn't out here doing your homework for you π
faillog_t
/var/log/btmp.*
/run/faillock(/.*)?
/var/log/faillog.*
/var/log/tallylog.*
fusefs_t
/run/user/[0-9]+/gvfs
krb5_host_rcache_t
/var/tmp/krb5_0.rcache2
/var/cache/krb5rcache(/.*)?
/var/tmp/nfs_0
/var/tmp/DNS_25
/var/tmp/host_0
/var/tmp/imap_0
/var/tmp/HTTP_23
/var/tmp/HTTP_48
/var/tmp/ldap_55
/var/tmp/ldap_487
/var/tmp/ldapmap1_0
mailman_archive_t
/var/lib/mailman.*/archives(/.*)?
mailman_data_t
/etc/mailman.*
/var/lib/mailman(/.*)?
/var/spool/mailman.*
mailman_lock_t
/run/lock/mailman.*
/run/lock/subsys/mailman.*
mailman_log_t
/var/log/mailman.*
mailman_queue_tmp_t
(no paths listed here in the original, and we're not out here inventing them, bestie β the type is just chilling π)
π FILE CONTEXTS π
SELinux requires files to have an extended attribute to define the file type. it's like a name tag but for security π·οΈ
You can see the context of a file using the -Z option to ls.
Policy governs the access confined processes have to these files. the SELinux mailman_queue policy is very flexible, allowing users to setup their mailman_queue processes in as secure a method as possible. iconic behavior, honestly.
β STANDARD FILE CONTEXT β
SELinux defines the file context types for mailman_queue. if you wanted to store files with these types in different paths, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk. step one, step two, slay π
semanage fcontext -a -t mailman_queue_exec_t '/srv/mailman_queue/content(/.*)?'
restorecon -R -v /srv/mymailman_queue_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise β¨
The following file types are defined for mailman_queue:
mailman_queue_exec_t
- Set files with the
mailman_queue_exec_ttype, if you want to transition an executable to themailman_queue_tdomain.
Paths:
/etc/cron.(daily|monthly)/mailman, /usr/lib/mailman.*/cron/.*,
/usr/lib/mailman.*/bin/qrunner
mailman_queue_tmp_t
- Set files with the
mailman_queue_tmp_ttype, if you want to store mailman queue temporary files in the/tmpdirectories. tiny little temp files, living their truth π§
Note: File context can be temporarily modified with thechconcommand. If you want to permanently change the file context you need to use thesemanage fcontextcommand. This will modify the SELinux labeling database. You will need to userestoreconto apply the labels.chconis the "ugh fine, whatever" fix,semanage fcontextis the "we're actually doing this properly" fix, iykyk π
π₯οΈ COMMANDS π₯οΈ
semanage fcontext can also be used to manipulate default file context mappings.
semanage permissive can also be used to manipulate whether or not a process type is permissive.
semanage module can also be used to enable/disable/install/remove policy modules.
semanage boolean can also be used to manipulate the booleans.
system-config-selinux is a GUI tool available to customize SELinux policy settings. yes, a GUI. for the girlies who prefer clicking π
βοΈ AUTHOR βοΈ
This manual page was auto-generated using sepolicy manpage. not me being literally generated by a script π she's self-made!
π SEE ALSO π
selinux(8), mailman_queue(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page, bestie!! π this little number is mailman_queue, dated 26-10-06, and it's page mailman_queue_selinux(8) of the manual β go forth and label responsibly, you've got this π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: selinux-policy-doc 20250627+git412.dbf877ab7-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms