commit 6ade076a6300b30126636c8743146cac1a610de3 Author: kueller Date: Mon Jan 3 10:48:06 2011 +0000 Neue Version V963 git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_qpopper@5933 504e572c-2e33-0410-9681-be2bf7408885 diff --git a/etc/pam.d/pop3 b/etc/pam.d/pop3 new file mode 100644 index 0000000..d5a1f64 --- /dev/null +++ b/etc/pam.d/pop3 @@ -0,0 +1,19 @@ +#!/bin/bash +#Default Konfigurations Files für libpam (pop3 Protokoll daemon) +#Verhalten wie std. Unix +#(c) Rainmaker MultiMedia OHG +# +#$Author$ +#$Date$ +#$Revision$ +# +#$Log$ +#Revision 1.1 2001/12/14 18:13:15 kueller +#pam steuerdatei für qpopper hinzugefügt +# +# + +auth requisite pam_unix_auth.so +account required pam_unix_acct.so +password required pam_unix_passwd.so +session required pam_unix_session.so diff --git a/etc/xinetd.d/pop3 b/etc/xinetd.d/pop3 new file mode 100644 index 0000000..31a91b2 --- /dev/null +++ b/etc/xinetd.d/pop3 @@ -0,0 +1,11 @@ +service pop3 +{ + disable = no + socket_type = stream + protocol = tcp + wait = no + user = root + server = /usr/sbin/popper +} + + diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100644 index 0000000..52b9e4f --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,59 @@ +#!/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 qpopper package. Es wird ein Eintrag in /etc/inetd.conf +#erzeugt. +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.7 2007/04/29 11:04:25 kueller +#smmsp group muss gid 23 bekommen +# +#Revision 1.6 2006/06/08 13:50:04 kueller +#inetd.conf eintrag nur wenn file existiert. /etc/xinetd.d/pop3 fuer +#xinetd eingebaut +# +#Revision 1.5 2002/10/09 08:45:41 kueller +#Einsatz des neuen GPL Monsum Projekt Headers. +# +# + +if [ -f /etc/inetd.conf ]; then + if ! grep popper /etc/inetd.conf >/dev/null 2>&1; then + echo "pop3 stream tcp nowait root /usr/sbin/popper" >>/etc/inetd.conf + fi +fi +if ! getent group smmsp 2>&1 >/dev/null; then + groupadd -g 23 smmsp +fi + +chown root:smmsp /var/mail +chmod 775 /var/mail +chown root:smmsp /usr/sbin/popper +chmod 2755 /usr/sbin/popper diff --git a/tmp/postremove b/tmp/postremove new file mode 100644 index 0000000..f10ecff --- /dev/null +++ b/tmp/postremove @@ -0,0 +1,47 @@ +#!/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 qpopper package. Es wird ein Eintrag in /etc/inetd.conf +#erzeugt. +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author: kueller $ +#Datum der letzten Änderung: $Date: 2007-04-29 13:04:25 +0200 (So, 29 Apr 2007) $ +#Version der Datei: $Revision: 3787 $ +# +#$Log$ +#Revision 1.7 2007/04/29 11:04:25 kueller +#smmsp group muss gid 23 bekommen +# +#Revision 1.6 2006/06/08 13:50:04 kueller +#inetd.conf eintrag nur wenn file existiert. /etc/xinetd.d/pop3 fuer +#xinetd eingebaut +# +#Revision 1.5 2002/10/09 08:45:41 kueller +#Einsatz des neuen GPL Monsum Projekt Headers. +# +# + +sed -i -e "/^pop3.*\/usr\/bin\/popper/d" /etc/inetd.conf