reassign 781776 postfix
thanks

A patch like the attached one for the postfix postinst file should fix this.

Restorecon won't do any harm if it's installed but SE Linux is not enabled.  
Adding this patch will not have any noticable down-side but will make SE Linux 
systems work correctly without this problem.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
--- /var/lib/dpkg/info/postfix.postinst	2014-11-04 17:32:48.000000000 +1100
+++ /tmp/postfix.postinst	2015-09-14 00:38:53.378791422 +1000
@@ -17,6 +17,7 @@
     SCRIPT=/etc/postfix/postfix-script
     POSTDROP=/usr/sbin/postdrop
     mkdir -p $MAILDROP
+    [ -x /sbin/restorecon ] && /sbin/restorecon $MAILDROP
     if ! chown postfix:postdrop $MAILDROP 2>/dev/null; then
 	addgroup --system postdrop
 	chown postfix:postdrop $MAILDROP
@@ -55,6 +56,7 @@
 makedir() {
     if [ ! -d $1 ]; then
 	mkdir $1
+	[ -x /sbin/restorecon ] && /sbin/restorecon $1
     fi
     chown $2 $1 && chmod $3 $1
 }

Reply via email to