From: paul@city-fan.org (Paul Howarth) Date: Tue, 17 Mar 2009 15:25:26 +0000 Subject: [refpolicy] milter-state-dir.patch Message-ID: <49BFC0E6.6040801@city-fan.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com This is a patch to support a single system-wide spamassassin configuration using spamass-milter. Current policy only supports a spamassassin configuration that uses separate per-user config files, which are stored either in ~/.spamassassin for real users or in some system-specific directory probably labelled spamassassin_spool_t for virtual users. The current Fedora spamass-milter package runs as user sa-milt, having a home directory of /var/run/spamass-milter. This has proved to be an unfortunate choice because all files (including the system-wide spamassassin preferences and bayes databases) get cleared out of that directory on reboot (http://bugzilla.redhat.com/489995). I therefore intend to change the home directory of this user to /var/lib/spamass-milter. This patch provides for appropriate labelling and rules for this directory to allow spamass-milter and spamassassin to work in this configuration. Paul. -------------- next part -------------- A non-text attachment was scrubbed... Name: milter-state-dir.patch Type: text/x-patch Size: 2963 bytes Desc: not available Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20090317/093c621f/attachment.bin