Script d'installation du paquetage "sendmail"


echo "Updating etc/rc.config..."
if [ -x bin/fillup ] ; then
  bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.sendmail
else
  echo "ERROR: fillup not found. This should not happen. Please compare"
  echo "etc/rc.config and var/adm/fillup-templates/rc.config.sendmail and"
  echo "update by hand."
fi
MAILS_SPOOLED=false
for i in var/mqueue/* ; do
    test -f $i && {
        MAILS_SPOOLED=true
        break
    }
done
if test "$MAILS_SPOOLED" = true ; then
    mkdir -p var/adm/notify/messages
    cat << EOT > var/adm/notify/messages/Mailqueue-changes
Hallo,  (english text below)
Ab der SuSE Linux 6.0 haben wir das Verzeichnis in dem sendmail seine
Mail queue zwischenspeichert von /var/mqueue nach /var/spool/mqueue
verschoben.  In Ihrem System scheinen während des Updates noch Mails
in der Queue gesteckt zu haben. Folgendermassen können Sie diese wieder
in die Queue einreihen (als Benutzer root):
   rcsendmail stop
   mv /var/mqueue/* /var/spool/mqueue
   rcsendmail start
Hello,
With 6.0 of SuSE Linux we moved the spool directory for sendmail from
/var/mqueue to /var/spool/mqueue.  Your system seems to have spooled
mails in /var/mqueue.  Please move them to /var/spool/mqueue with
(as user root):
   rcsendmail stop
   mv /var/mqueue/* /var/spool/mqueue
   rcsendmail start
Have a lot of fun...
                          Your SuSE Team
EOT
fi


(c) S.u.S.E. - Dernière mise à jour: 23.03.99 02:54;