SELinux Policy for SMF Milters

Here is an SELinux policy module to support the smf-* packages here.

It extends the milter policy that is present in Fedora 9 and Red Hat Enterprise Linux 5 onwards.

Quick Install Guide

Create a directory /root/selinux.local and copy the policy files from here into that directory. Then build and install the modules (you'll need the make and checkpolicy packages installed first, plus selinux-policy-devel for distributions that do not include it in the main selinux-policy package).

# cd /root/selinux.local
# chcon -R -t usr_t .
# ln -s /usr/share/selinux/devel/Makefile .
# make
# semodule -i smfs.pp

If you have already installed the smf-sav or smf-spf packages, you'll need to fix up the file contexts:

# restorecon -rvF $(rpm -ql smf-sav)
# restorecon -rvF $(rpm -ql smf-spf)

Paul Howarth <>

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]smfs.fc2012-07-03 16:24 229  
[TXT]smfs.if2012-07-03 16:24 1.0K 
[   ]smfs.te2012-07-03 16:24 801