From 7678a96cd563dafb3a77a83fae91eabea80a34e2 Mon Sep 17 00:00:00 2001 From: Jinnan Wang Date: Wed, 26 Feb 2014 14:09:40 +0800 Subject: [PATCH] Fix Bug 1691 We research postfix project,found that postfix have self-security solution. We think we can restore postfix source package to origin. --- install_shell/other.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install_shell/other.sh b/install_shell/other.sh index 1d40f5c..4c56599 100755 --- a/install_shell/other.sh +++ b/install_shell/other.sh @@ -79,11 +79,11 @@ setcap "cap_sys_time+ep" /bin/date #解决/var/log/errors中postfix/sendmail:fatal:chair /var/spool/postfix:Permission denied?报错问题 #解决/var/log/messages中的/usr/sbin/cron[2856]: (sysadmin) MAIL (mailed 126 bytes of output but got status 0x004b )的报错问题 -mkfifo /var/spool/postfix/public/pickup -chown postfix.postfix /var/spool/postfix/public/pickup -setfacl -m u:sysadmin:rwx /var/spool/postfix -setfacl -m u:sysadmin:rwx /var/spool/postfix/* -setfacl -m u:sysadmin:rwx /usr/sbin/postdrop +#mkfifo /var/spool/postfix/public/pickup +#chown postfix.postfix /var/spool/postfix/public/pickup +#setfacl -m u:sysadmin:rwx /var/spool/postfix +#setfacl -m u:sysadmin:rwx /var/spool/postfix/* +#setfacl -m u:sysadmin:rwx /usr/sbin/postdrop #解决定时抓取占用最大内存的进程名,并记录到/var/log/messages文件中