|
From: Serge L. <sma...@us...> - 2008-09-15 17:18:59
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv7547 Modified Files: postfix Log Message: - added /var/lib/postfix, data_dir has been changed to /var/spool/postfix Index: postfix =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/postfix,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- postfix 12 Aug 2008 01:06:01 -0000 1.35 +++ postfix 15 Sep 2008 17:18:53 -0000 1.36 @@ -75,6 +75,7 @@ mkdir -p $CDDIR/usr/{bin,sbin} || exit 1 mkdir -p $CDDIR/usr/libexec/postfix || exit 1 mkdir -p $CDDIR/usr/lib || exit 1 + mkdir -p $CDDIR/var/lib/postfix || exit 1 copy_man man/man1 copy_man man/man5 copy_man man/man8 @@ -114,6 +115,7 @@ replace_str $ETCDIR/etc/postfix/main.cf "manpage_directory =" "#manpage_directory =" replace_str $ETCDIR/etc/postfix/main.cf "sample_directory =" "#sample_directory =" replace_str $ETCDIR/etc/postfix/main.cf "readme_directory =" "#readme_directory =" + replace_str $ETCDIR/etc/postfix/main.cf "/var/lib/postfix" "/var/spool/postfix" # set correct file permissions chmod 755 $CDDIR/usr/libexec/postfix/* || exit 1 @@ -126,6 +128,7 @@ chmod 755 $CDDIR/var/spool/postfix/public || exit 1 chmod 755 $ETCDIR/etc/postfix/post-install || exit 1 chmod 755 $ETCDIR/etc/postfix/postfix-script || exit 1 + chown 101.0 $CDDIR/var/lib/postfix || exit 1 groupadd -g 101 postfix || exit 1 groupadd -g 102 postdrop || exit 1 |