summaryrefslogtreecommitdiffstats
path: root/extra/postfix/post-install
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-10 09:04:45 +0100
committersibel <lesibel@free.fr>2011-03-10 09:04:45 +0100
commite39dcabf52705cf10d8760e40a320def21b2bd12 (patch)
treee9da12ddbd960e3936e48ec58e1e2ed4a9c1ae3b /extra/postfix/post-install
parentc687289d96408f4ad4605abaa20d7e4ac13c2db1 (diff)
downloadnutyx-pakxe-e39dcabf52705cf10d8760e40a320def21b2bd12.tar.gz
nutyx-pakxe-e39dcabf52705cf10d8760e40a320def21b2bd12.tar.bz2
nutyx-pakxe-e39dcabf52705cf10d8760e40a320def21b2bd12.tar.xz
nutyx-pakxe-e39dcabf52705cf10d8760e40a320def21b2bd12.zip
postfix, déplacé dans ouvert
Diffstat (limited to 'extra/postfix/post-install')
-rw-r--r--extra/postfix/post-install21
1 files changed, 0 insertions, 21 deletions
diff --git a/extra/postfix/post-install b/extra/postfix/post-install
deleted file mode 100644
index 5f397b2d4..000000000
--- a/extra/postfix/post-install
+++ /dev/null
@@ -1,21 +0,0 @@
- if [ -z "`grep '^postdrop::' /etc/group`" ]; then
- groupadd -g 75 postdrop >& /dev/null
- fi
- if [ -z "`grep '^postfix::' /etc/group`" ]; then
- groupadd -g 73 postfix >& /dev/null
- fi
- if [ -z "`grep '^postfix:' /etc/passwd`" ]; then
- useradd -u 73 -d /var/spool/postfix -g postfix -s /bin/false postfix
- else
- # fix a packaging bug from before (postfix should have no shell)
- usermod -s /bin/false postfix
- fi
-
- chown postfix /var/spool/postfix/{active,bounce,corrupt,defer,deferred,\
-flush,hold,incoming,private,public,maildrop,trace,saved}
- chown postfix /var/lib/postfix
- chgrp postdrop /var/spool/postfix/{public,maildrop}
- chgrp postdrop /usr/sbin/postqueue
- chgrp postdrop /usr/sbin/postdrop
- chmod g+s /usr/sbin/{postqueue,postdrop}
-