Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
16
etc/init/smtp.conf
Normal file
16
etc/init/smtp.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
description "sendmail Daemon startup"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [2345] and (started ifup))
|
||||||
|
stop on runlevel [016]
|
||||||
|
|
||||||
|
console none
|
||||||
|
|
||||||
|
script
|
||||||
|
/sbin/CheckPid /var/run/sendmail.pid
|
||||||
|
if [ -f /etc/mail/sendmail.cf ]; then
|
||||||
|
/usr/sbin/sendmail -bD -q30m -om
|
||||||
|
fi
|
||||||
|
end script
|
30
init/genpkg
30
init/genpkg
@ -38,17 +38,19 @@ WDIR=`pwd`
|
|||||||
mkdir -p etc/mail
|
mkdir -p etc/mail
|
||||||
touch etc/mail/local-host-names
|
touch etc/mail/local-host-names
|
||||||
mkdir -p var/spool/mqueue
|
mkdir -p var/spool/mqueue
|
||||||
cd etc/init.d
|
if [ -d /var/install/sysvinit ]; then
|
||||||
chmod 755 smtp
|
cd etc/init.d
|
||||||
mkdir rc{0,1,2,3,4,5,6}.d
|
chmod 755 smtp
|
||||||
for i in 0 1 2 6; do
|
mkdir rc{0,1,2,3,4,5,6}.d
|
||||||
cd rc$i.d
|
for i in 0 1 2 6; do
|
||||||
ln -s ../smtp K70smtp
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../smtp K70smtp
|
||||||
done
|
cd ..
|
||||||
for i in 3 4 5; do
|
done
|
||||||
cd rc$i.d
|
for i in 3 4 5; do
|
||||||
ln -s ../smtp S20smtp
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../smtp S20smtp
|
||||||
done
|
cd ..
|
||||||
cd $WDIR
|
done
|
||||||
|
cd $WDIR
|
||||||
|
fi
|
||||||
|
@ -28,9 +28,9 @@
|
|||||||
#Aufrufparameter:
|
#Aufrufparameter:
|
||||||
#keine
|
#keine
|
||||||
#
|
#
|
||||||
#Letzte Änderung von: $Author$
|
#Letzte Änderung von: $Author: kueller $
|
||||||
#Datum der letzten Änderung: $Date$
|
#Datum der letzten Änderung: $Date: 2007-04-29 10:56:32 +0000 (So, 29 Apr 2007) $
|
||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision: 3786 $
|
||||||
#
|
#
|
||||||
#$Log$
|
#$Log$
|
||||||
#Revision 1.11 2007/04/29 10:56:32 kueller
|
#Revision 1.11 2007/04/29 10:56:32 kueller
|
||||||
|
85
tmp/postremove
Normal file
85
tmp/postremove
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.rainmaker-mm.de/RMM/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $Source$
|
||||||
|
#
|
||||||
|
#(c) Rainmaker MultiMedia OHG
|
||||||
|
#This program is free software; you can redistribute it and/or
|
||||||
|
#modify ist under the terms of the GNU General Public License
|
||||||
|
#as published by the Free Software Foundation; either version
|
||||||
|
#2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
#This program is distributed in the hope that it will be useful,
|
||||||
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
#See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
#You should have received a copy of the GNU General Public License
|
||||||
|
#along with this program; if not write to the Free Software Foundation,
|
||||||
|
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
#
|
||||||
|
#Beschreibung:
|
||||||
|
#postinstall für das Sendmail Packet. Nach Abfrage diverse Konfigurations-
|
||||||
|
#parameter wird mit dem m4 Mechanismuss eine Konfiguration für Sendmail
|
||||||
|
#erstellt.
|
||||||
|
#
|
||||||
|
#Aufrufparameter:
|
||||||
|
#keine
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author$
|
||||||
|
#Datum der letzten Änderung: $Date$
|
||||||
|
#Version der Datei: $Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.11 2007/04/29 10:56:32 kueller
|
||||||
|
#Gruppe smmsp bekommt gid 23, user smmsp uid 44
|
||||||
|
#
|
||||||
|
#Revision 1.10 2004/09/19 15:02:42 kueller
|
||||||
|
#Anpassung des useradd - ist der user bereits im install system vorhanden
|
||||||
|
#schlug dieser fehl.
|
||||||
|
#
|
||||||
|
#Revision 1.9 2002/10/09 08:15:30 kueller
|
||||||
|
#Einsatz des neuen GPL Monsum Projekt Headers
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#Revision 1.8 2002/06/21 12:41:01 hkueller
|
||||||
|
#Rechte der Clientmqueue werden als tmp rechte (1777) gesetzt. damit
|
||||||
|
#funktioniert sendmail mua auch richtig
|
||||||
|
#
|
||||||
|
#Revision 1.7 2002/06/21 12:16:38 hkueller
|
||||||
|
#Korrektur der Berechtigungen für /var/spool/clientmqueue. Sendmail kann so
|
||||||
|
#auch als MUA arbeiten (link sendmail auf mail)..
|
||||||
|
#
|
||||||
|
#Revision 1.6 2002/02/07 19:50:54 hkueller
|
||||||
|
#Korrektur der Macroeinstellungen zur Sendmail.cf generierung
|
||||||
|
#
|
||||||
|
#Revision 1.5 2002/02/06 11:45:53 hkueller
|
||||||
|
#Abfrage, ob neu anzulegene User bereits vorhanden, hinzugefügt
|
||||||
|
#
|
||||||
|
#Revision 1.4 2001/10/29 11:26:19 kueller
|
||||||
|
#Verwendung von $WDIR im postinstall kollidiert mit $WDIR in installpkg. Dadurch
|
||||||
|
#entstehen fehler bei der installation mehrerer packages
|
||||||
|
#$WDIR in $INSTDIR umbenannt
|
||||||
|
#
|
||||||
|
#Revision 1.3 2001/09/24 12:19:17 kueller
|
||||||
|
#Fehler - durch den Wegfall der include option in $HOSTNAME.mc muß
|
||||||
|
#natürlich die nächste Ausgabe eine neue Datei erzeugen, und nicht anhängen!
|
||||||
|
#
|
||||||
|
#Revision 1.2 2001/09/24 12:08:43 kueller
|
||||||
|
#include darf in M4 Konfigfile nicht mehr verwendet werden - wird direkt
|
||||||
|
#in sendmail.cf geschrieben, was zu fehlermeldungen und abbruch von sendmail
|
||||||
|
#führt
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/09/24 11:29:11 kueller
|
||||||
|
#AddOns für sendmail
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
if getent passwd smmsp 2>&1 >/dev/null; then
|
||||||
|
userdel smmsp
|
||||||
|
fi
|
||||||
|
if getent group smmsp 2>&1 >/dev/null; then
|
||||||
|
groupdel smmsp
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user