|
Suche |
Sie können die quellen auf der offiziellen Seite von Sqwebmail finden: http://www.courier-mta.org/sqwebmail/ Diese können Sie dann mit einem einfachen wget auf Ihren Server herunterladen. Sie können auch die gewünschte Version direkt über folgende Adresse herunterladen: http://prdownloads.sourceforge.net/courier/ Hier noch einige nützliche Links: Für diesen Abschnitt nehmen wir als Beispiel die Installation von sqwebmail-4.0.7 auf einem dedizierten Server. Wir verbinden uns zuerst per SSH mit dem Server (siehe dazu auch folgende Hilfe: Wie kann ich mich per SSH mit meinem Server verbinden? $ ssh root@nsXXXX.ovh.net Password: Last login: Fri Dec 12 10:18:19 2003 from XXXXXXXXXX Red Hat Linux release 7.2 (Enigma) Linux nsXXXX.ovh.net 2.4.23 #1 lun déc 1 21:20:36 CET 2003 i686 unknown machine : XXX release : 1.45 ip : 213.186.XX.X hostname : nsXXXX.ovh.net [root@nsXXXX root]# wget http://ovh.dl.sourceforge.net/sourceforge/courier/sqwebmail-4.0.7.tar.bz2 -O /home/ovh/src/soft/sqwebmail-4.0.7.tar.bz2 [root@nsXXXX root]# cd /home/ovh/src [root@nsXXXX src]# tar -xjf soft/sqwebmail-4.0.7.tar.bz2 Also wurden die Quellen in das Verzeichnis /home/ovh/src platziert; dieses enthält alle auf dem Server kompilierten Programme. Kommen wir nun zur Kompilierung. Zuerst sehen wir uns die Konfiguration der vorherigen Version von Sqwebamil an, indem wir die Datei config.status betrachten. [root@nsXXXX src]# ls -ld sqwebmail* drwxrwxrwx 24 alias users 4096 sep 12 10:48 sqwebmail-3.5.1.20030319 drwxrwxrwx 24 alias users 4096 déc 12 17:26 sqwebmail-4.0.7 Wir editieren nun die Datei "config.status" mit einem beliebigen Editor: [root@nsXXXX src]# vi sqwebmail-3.5.1.20030319/config.status oder [root@nsXXXX src]# pico sqwebmail-3.5.1.20030319/config.status ... Von dort können wir dann die Basiskonfiguration von Sqwebmail sichern, in unserem Fall haben wir gefunden: exec /bin/sh ./configure '--enable-cgibindir=/home/ovh/cgi-bin/' '--enable-imagedir=/home/ovh/www/webmail' '--with-authvchkpw' '--without-authpam' '--without-authuserdb' '--without-authpwd' '--without-authshadow' '--without-authldap' '--without-authdaemon' --with-db=gdbm --with-userdb=/etc/userdb --with-formdata --enable-utf7-folder-encoding --enable-unicode=iso-8859-1,utf-8 --prefix=/usr/local/share/sqwebmail --with-makedatprog=${prefix}/libexec/sqwebmail/makedatprog-with-authchangepwdir=${prefix}/libexec/authlib --with-authdaemonvar=/usr/local/share/sqwebmail/var/authdaemon --sysconfdir=/usr/local/share/sqwebmail --with-package=sqwebmail --with-version=3.5.1.20030319 --without-socks --no-create --no-recursion Wir werden unseren ./configure Befehl demantsprechend anpassen, dies ergibt dann: [root@nsXXXX src]# cd sqwebmail-4.0.7 [root@nsXXXX sqwebmail-4.0.7]# ./configure --enable-cgibindir=/home/ovh/cgi-bin/ --enable-imagedir=/home/ovh/www/webmail --with-authvchkpw --without-authpam --without-authuserdb --without-authpwd --without-authshadow --without-authldap --without-authdaemon --with-db=gdbm --with-userdb=/etc/userdb --with-formdata --enable-utf7-folder-encoding --enable-unicode=iso-8859-1,utf-8 --prefix=/usr/local/share/sqwebmail --with-makedatprog=/usr/local/share/sqwebmail/libexec/sqwebmail/makedatprog-with-authchangepwdir=/usr/local/share/sqwebmail/libexec/authlib --with-authdaemonvar=/usr/local/share/sqwebmail/var/authdaemon --sysconfdir=/usr/local/share/sqwebmail --with-package=sqwebmail --with-version=4.0.7 --without-socks Dies kann mehrere Minuten dauern, das ist ganz normal. Danach testen wir die Konfiguration: [root@nsXXXX sqwebmail-4.0.7 ]# make configure-check SqWebMail? CGI will be installed in /home/ovh/cgi-bin/ Images will be installed in /home/ovh/www/webmail make[1]: Entre dans le répertoire `/home/ovh/src/sqwebmail-4.0.7/sqwebmail' URL to the image directory is /webmail make[1]: Quitte le répertoire `/home/ovh/src/sqwebmail-4.0.7/sqwebmail' Das sieht alles korrekt konfiguriert aus, wir können also nun die Kompilierung starten: [root@nsXXXX sqwebmail-4.0.7 ]# make Dies kann ebenfalls mehrere Minuten dauern, das ist ganz normal. Wenn die Kompilierung abgeschlossen ist überprüfen wir alles indem wir folgendes eingeben: [root@nsXXXX sqwebmail-4.0.7 ]# make check [root@nsXXXX sqwebmail-4.0.7 ]# make install [root@nsXXXX sqwebmail-4.0.7 ]# make install-configure [root@nsXXXX sqwebmail-4.0.7 ]# chown vpopmail.vchkpw /home/ovh/cgi-bin/sqwebmail [root@nsXXXX sqwebmail-4.0.7 ]# chmod 755 /home/ovh/cgi-bin/sqwebmail Achtung!! Vergessen Sie nicht, den sqwebmaild Daemon neu zu starten, damit die neue Version übernommen wird, sonst erhalten Sie den Fehler: ''Internal Error The webmail system is temporarily unavailable. An error occured in function write: Transport endpoint is not connected'' [root@nsXXXX sqwebmail-4.0.7 ]# /usr/local/share/sqwebmail/libexec/sqwebmaild.rc stop [root@nsXXXX sqwebmail-4.0.7 ]# /usr/local/share/sqwebmail/libexec/sqwebmaild.rc start Anschliessend testen wir noch den Zugang zum Webmail: http://nsXXXX.ovh.net/cgi-bin/sqwebmail. Verbinden Sie sich mit Ihrem POP-Account um sicherzugehen dass alles korrekt funktioniert. |