Exim

Gerrit P. Haase gp@familiehaase.de
Tue Aug 27 22:47:00 GMT 2002


Hallo Pierre,

> http://home.attbi.com/~phumblet/setup.hint
> http://home.attbi.com/~phumblet/exim-4.10-1.tar.bz2
> http://home.attbi.com/~phumblet/exim-4.10-1.src.tar.bz2

$ cat etc/postinstall/exim.sh
#! /bin/sh
set -e
cd /etc
if [ ! -e exim.conf ]
  then   
  cp -p exim.conf.default exim.conf
  sys="`uname -a`"
  nt="`expr "${sys}" : "CYGWIN_NT"`"
  if [ $nt -ne 0 ]
  then
    chown SYSTEM:ADMINISTRATORS /var/spool/exim
    chown SYSTEM:ADMINISTRATORS /var/log/exim
    chown SYSTEM:ADMINISTRATORS /etc/exim.conf
    chown SYSTEM:ADMINISTRATORS /etc/exim.conf.default
    chmod 777 /var/spool/exim /var/log/exim
    chmod 644 /etc/exim.conf*
  fi
fi

ADMINISTRATORS group doesn't exist in my german NT4...
wouldn't it be better to choose a numeric gid?


Gerrit
-- 
=^..^=



More information about the Cygwin-apps mailing list