Also: Der SMTP-Teil funktioniert. D.h. ich kann eMails über den Courier
versenden und eMails werden richtig zugestellt.
Aber der IMAP-Server bereitet mir Kopfzerbrechen. Im der /etc/courier/imapd
habe ich folgendes stehen (u.A.):
ADDRESS=0 # d.h. er soll alle Adressen annehmen, oder?
AUTHMODULES="authdaemon"
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
Der authdaemon ist auf authshadow konfiguriert. Da ich mich per SMTP-Auth
authentifizieren kann, gehe ich auch davon aus, das dieser Funktioniert.
Wenn ich allerdings versuche mich anzumelden (Mit KMail, SSL eingeschaltet und
PLAIN) bekomme ich die Meldung: Login Failed.
Ehrlich gesagt, glaube ich der imapd läuft nichteinmal. Denn ein ps -A | grep
courier ergibt:
# ps -A | grep courier
135 ? 00:00:00 courierlogger
189 ? 00:00:00 couriertcpd
191 ? 00:00:00 courierlogger
208 ? 00:00:00 couriertcpd
215 ? 00:00:00 courierlogger
273 ? 00:00:00 couriertcpd
275 ? 00:00:00 courierlogger
291 ? 00:00:00 courierd
292 ? 00:00:00 courierd
295 ? 00:00:00 courierfilter
297 ? 00:00:00 courierlogger
298 ? 00:00:00 courieruucp
299 ? 00:00:00 courierlocal
302 ? 00:00:00 courierfax
305 ? 00:00:00 courieresmtp
306 ? 00:00:00 courierdsn
309 ? 00:00:00 couriertcpd
311 ? 00:00:00 courierlogger
Selbst nach einem "/etc/init.d/courer-imap start" sieht das nicht anders aus!
Der Authdaemon läuft übrigens. Was mich auch stutzig macht, ist das ich in
der /var/log/messages auch keinen Hinweis auf meine Login-Versuche sehe!
Wir kann ich das Ding denn starten? Oder ist es das schon? Oder hat jemand
sonst eine Idee?
Gruß & Danke
Volker
Am Ende von /etc/imapd steht
IMAPDSTART=YES
?
--
Mit freundlichen Grüßen
Peer Oliver Schmidt
the internet company
PGP Key ID: 0x83E1C2EA
Gruß & Danke
Volker
>>Am Ende von /etc/imapd steht
>>
>>IMAPDSTART=YES
>
> leider ja! Trotzdem danke für den Tip!
courierauthtest schon ausprobiert? Maildirs sind angelegt?
# /usr/sbin/courierauthtest -m authshadow username
No matching module found!
Authentication FAILED!
Das wird's wohl sein. Aber wie bekomme ich das hin? Im Zweifelsfall werde ich
wohl auf userdb wechseln. Aber shadow finde ich für meinen Fall irgendwie
eleganter.
> Maildirs sind angelegt?
ja.
Gruß & Danke
Volker
Soeviel ich weiss ist authpwd, authshadow, authvchkpw nicht inkludiert
(nur die manpages), d.h. es fehlen einfach diese Module.
$ apt-cache search ^courier-auth
courier-authdaemon - Courier Mail Server - Authentication daemon
courier-authmysql - Courier Mail Server - MySQL authentication
courier-authpostgresql - Courier Mail Server - PostgreSQL Authentication
$ apt-file list courier-authdaemon
courier-authdaemon: etc/courier/authdaemonrc
courier-authdaemon: etc/courier/authdaemonrc
courier-authdaemon: etc/init.d/courier-authdaemon
courier-authdaemon: etc/init.d/courier-authdaemon
courier-authdaemon: usr/lib/courier/authlib/authdaemon
courier-authdaemon: usr/lib/courier/authlib/authdaemon
courier-authdaemon: usr/lib/courier/authlib/authdaemond
courier-authdaemon: usr/lib/courier/authlib/authdaemond
courier-authdaemon: usr/lib/courier/authlib/authdaemond.plain
courier-authdaemon: usr/lib/courier/authlib/authdaemond.plain
courier-authdaemon: usr/share/doc/courier-authdaemon/NEWS.Debian.gz
courier-authdaemon: usr/share/doc/courier-authdaemon/NEWS.Debian.gz
courier-authdaemon: usr/share/doc/courier-authdaemon/changelog.Debian.gz
courier-authdaemon: usr/share/doc/courier-authdaemon/changelog.Debian.gz
courier-authdaemon: usr/share/doc/courier-authdaemon/copyright
courier-authdaemon: usr/share/doc/courier-authdaemon/copyright
courier-authdaemon: usr/share/man/man7/authcram.7.gz
courier-authdaemon: usr/share/man/man7/authcram.7.gz
courier-authdaemon: usr/share/man/man7/authdaemon.7.gz
courier-authdaemon: usr/share/man/man7/authdaemon.7.gz
courier-authdaemon: usr/share/man/man7/authdaemond.7.gz
courier-authdaemon: usr/share/man/man7/authdaemond.7.gz
courier-authdaemon: usr/share/man/man7/authlib.7.gz
courier-authdaemon: usr/share/man/man7/authlib.7.gz
courier-authdaemon: usr/share/man/man7/authpam.7.gz
courier-authdaemon: usr/share/man/man7/authpam.7.gz
courier-authdaemon: usr/share/man/man7/authpwd.7.gz
courier-authdaemon: usr/share/man/man7/authpwd.7.gz
courier-authdaemon: usr/share/man/man7/authshadow.7.gz
courier-authdaemon: usr/share/man/man7/authshadow.7.gz
courier-authdaemon: usr/share/man/man7/authuserdb.7.gz
courier-authdaemon: usr/share/man/man7/authuserdb.7.gz
courier-authdaemon: usr/share/man/man7/authvchkpw.7.gz
courier-authdaemon: usr/share/man/man7/authvchkpw.7.gz
Wenn man ins rules file des Debian Courier Sourcepackeges sieht
steht folgendes:
$ head -73 courier-0.47/debian/rules
#!/usr/bin/make -f
#
# Copyright 2000,2001,2002,2003,2004 by Stefan Hornburg (Racke) <ra...@linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it 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.
BUILD=$(shell pwd)/debian/tmp
RELUP=$(shell dpkg-parsechangelog | perl -ne 'print $$1 if /^Version: (.*?)-(.*)$$/')
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=2
# This has to be exported to make some magic below work.
export DH_OPTIONS
# Common configuration options
NONSSL_CONFOPTS=--without-certdb --without-authpgsql
COMMON_CONFOPTS=--prefix=/usr --mandir=\$${prefix}/share/man \
--with-piddir=/var/run/courier \
--sysconfdir=/etc/courier \
--libexecdir=\$${prefix}/lib/courier \
--datadir=\$${prefix}/lib/courier \
--localstatedir=/var/lib/courier \
--sbindir=\$${exec_prefix}/sbin \
--with-mailuser=daemon \
--with-mailgroup=daemon \
--without-socks \
--enable-workarounds-for-imap-client-bugs \
--with-authpam \
--without-authpwd \
--with-authmysql \
--with-mysql-includes=/usr/include/mysql \
--with-mysql-libs=/usr/lib \
--with-authpgsql \
--with-pgsql-includes=/usr/include/postgresql \
--with-pgsql-libs=/usr/lib \
--without-authshadow \
--without-authvchkpw \
--with-authdaemonvar=/var/run/courier/authdaemon \
--with-authldap \
--with-authcram \
--with-db=gdbm \
--without-fcgi \
--with-htmllibdir=/usr/share/sqwebmail \
--with-ispell=/usr/bin/ispell \
--enable-imageurl=/sqwebmail \
--with-mailer="/usr/sbin/sendmail" \
--enable-sendmail="/usr/sbin/sendmail" \
--with-cachedir=/var/cache/sqwebmail \
--with-calendardir=/var/run/courier/calendar \
--with-webadmindir=/usr/share/courier/webadmin \
--enable-userdb \
--enable-syslog=1 \
--enable-unicode \
--disable-root-check
--
Mit freundlichen Grüßen,
Ing. Reinhold Fischer
> $ apt-file list courier-authdaemon
[...]
vielen Dank! Das klingt doch sehr überzeugend!
Wie gesagt, ich bin mit Debian nicht sehr vertraut. Also ich habe nun
folgnedes gemacht um die Sourcen selbst mit den richtigen Optionen zu
übersetzen:
1. Die Sourcen heruntergleaden:
apt-get source courier-mta
2. Die rules editiert:
COMMON_CONFOPTS=--prefix=/usr --mandir=\$${prefix}/share/man \
--with-piddir=/var/run/courier \
--sysconfdir=/etc/courier \
--libexecdir=\$${prefix}/lib/courier \
--datadir=\$${prefix}/lib/courier \
--localstatedir=/var/lib/courier \
--sbindir=\$${exec_prefix}/sbin \
--with-mailuser=daemon \
--with-mailgroup=daemon \
--without-socks \
--enable-workarounds-for-imap-client-bugs \
--without-authpam \
--with-authpwd \
--without-authmysql \
--without-mysql-includes=/usr/include/mysql \
--without-mysql-libs=/usr/lib \
--without-authpgsql \
--without-pgsql-includes=/usr/include/postgresql \
--without-pgsql-libs=/usr/lib \
--with-authshadow \
--without-authvchkpw \
--with-authdaemonvar=/var/run/courier/authdaemon \
--without-authldap \
--without-authcram \
--with-db=db \
--without-fcgi \
--with-htmllibdir=/usr/share/sqwebmail \
--with-ispell=/usr/bin/ispell \
--enable-imageurl=/sqwebmail \
--with-mailer="/usr/sbin/sendmail" \
--enable-sendmail="/usr/sbin/sendmail" \
--with-cachedir=/var/cache/sqwebmail \
--with-calendardir=/var/run/courier/calendar \
--with-webadmindir=/usr/share/courier/webadmin \
--enable-userdb \
--enable-syslog=1 \
--enable-unicode \
--disable-root-check
Aus gdmb habe ich db gamacht, da ich mich sonst vor Abhängigkeiten nicht mehr
retten konnte. Ich denke, ich habe nur alle Abhängigkeiten aufgelöst:
# apt-get build-dep courier-mta
Reading Package Lists... Done
Building Dependency Tree... Done
Package gs-aladdin has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
However the following packages replace it:
gs-esp gs-common gs
E: Some broken packages were found while trying to process build-dependencies.
You might want to run `apt-get -f install' to correct these.
Ich habe deshalb gs-common installiert, wobei ich noch nicht überzeugt bin,
das ich das auf meinem Server möchte. Nun sind da immernoch diese "broken
packages". Das `apt-get -f install' sagt:
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Ok, und dann der Versuch Courier zu compilieren:
# dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: source package is courier
dpkg-buildpackage: source version is 0.47-2.backports.org.1
dpkg-buildpackage: source maintainer is Norbert Tretkowski
<tretk...@inittab.de>
dpkg-buildpackage: host architecture is i386
dpkg-checkbuilddeps: Unmet build dependencies: libmysqlclient10-dev,
libpam0g-dev, libgdbm-dev | libgdbmg1-dev, libperl-dev, zlib1g-dev, debhelper
(>= 4.1.16), libsasl2-dev | libsasl-dev, expect, mgetty-fax, netpbm,
libfam-dev, libssl-dev, postgresql-dev, automake1.8, libtool
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
Ach so. Ich habe das courier-package von backports...
Tja, nun bin ich am Ende meiner Weisheit!
Gruß & Danke
Volker
Verwendest du Woody, Sarge oder Sid?
Ich bin gerade dabei mir Packages für Sarge zu basteln, da
ich vchkpw benötige.
Wenn es funktioniert, kann ich dann die Anleitung zum
Package-Bau posten.
> 2. Die rules editiert:
> --without-authpam \
> --with-authpwd \
Währe mir ein zu hohes Risiko
> --without-authmysql \
> --without-mysql-includes=/usr/include/mysql \
> --without-mysql-libs=/usr/lib \
OK
> --without-authpgsql \
> --without-pgsql-includes=/usr/include/postgresql \
> --without-pgsql-libs=/usr/lib \
OK
> --with-authshadow \
OK
> --without-authldap \
OK
> --without-authcram \
Also das würde ich aktivieren
> --with-db=db \
> Aus gdmb habe ich db gamacht, da ich mich sonst vor Abhängigkeiten nicht mehr
> retten konnte. Ich denke, ich habe nur alle Abhängigkeiten aufgelöst:
Aber gdbm ist standard und wird auch bei normalen courier
installationen verwendet. Das würde ich nicht ändern.
> # apt-get build-dep courier-mta
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Package gs-aladdin has no available version, but exists in the database.
> This typically means that the package was mentioned in a dependency and
> never uploaded, has been obsoleted or is not available with the contents
> of sources.list
> However the following packages replace it:
> gs-esp gs-common gs
> E: Some broken packages were found while trying to process build-dependencies.
> You might want to run `apt-get -f install' to correct these.
>
> Ich habe deshalb gs-common installiert, wobei ich noch nicht überzeugt bin,
> das ich das auf meinem Server möchte. Nun sind da immernoch diese "broken
Das wird nur zum compilieren benötigt.
Und auf nem Server hat ein Compiler nichts verloren.
> packages". Das `apt-get -f install' sagt:
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 packages upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
>
> Ok, und dann der Versuch Courier zu compilieren:
> # dpkg-buildpackage -rfakeroot -us -uc
> dpkg-buildpackage: source package is courier
> dpkg-buildpackage: source version is 0.47-2.backports.org.1
> dpkg-buildpackage: source maintainer is Norbert Tretkowski
> <tretk...@inittab.de>
> dpkg-buildpackage: host architecture is i386
> dpkg-checkbuilddeps: Unmet build dependencies: libmysqlclient10-dev,
entfewrnen
> libpam0g-dev, libgdbm-dev | libgdbmg1-dev, libperl-dev, zlib1g-dev, debhelper
entfernen ersetzen gegen libdb3-dev ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(sollte dann funktionieren) installieren
> (>= 4.1.16), libsasl2-dev | libsasl-dev, expect, mgetty-fax, netpbm,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
installieren installieren
> libfam-dev, libssl-dev, postgresql-dev, automake1.8, libtool
habe ich installieren entfernen ^^^^^^^^^^^^^^^^^^^^
deaktiviert installieren
Hau das Zeugs aus der debian/control.
> Ach so. Ich habe das courier-package von backports...
Da kannste auch gleich das aus SID/SARGE holen.
> Tja, nun bin ich am Ende meiner Weisheit!
>
> Gruß & Danke
> Volker
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Sven
--
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
[The Cardigans - No sleep]
--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-g...@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listm...@lists.debian.org (engl)
> Verwendest du Woody, Sarge oder Sid?
Wenn er backports.org verwendet, ja wohl WOODY.
> Ich bin gerade dabei mir Packages für Sarge zu basteln, da
> ich vchkpw benötige.
>
> Wenn es funktioniert, kann ich dann die Anleitung zum
> Package-Bau posten.
Unter SARGE/SID ist es gleich compiliert, nur nicht unter
WOODY, denn dort mußte die *-dev selber installieren
> Verwendest du Woody, Sarge oder Sid?
Woody
> Ich bin gerade dabei mir Packages für Sarge zu basteln, da
> ich vchkpw benötige.
>
> Wenn es funktioniert, kann ich dann die Anleitung zum
> Package-Bau posten.
Das wäre super!
Gruß & vielen Dank
Volker
Aehm durch diese Aenderung stimmen dann natuerlich die Build-Depends und
Depends des Pakets nicht mehr bzw Du must diese Aenderung dann auch im
control file reflektieren.
> Ich denke, ich habe nur alle Abhängigkeiten aufgelöst:
> # apt-get build-dep courier-mta
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Package gs-aladdin has no available version, but exists in the database.
> This typically means that the package was mentioned in a dependency and
> never uploaded, has been obsoleted or is not available with the contents
> of sources.list
> However the following packages replace it:
> gs-esp gs-common gs
> E: Some broken packages were found while trying to process build-dependencies.
> You might want to run `apt-get -f install' to correct these.
>
> Ich habe deshalb gs-common installiert, wobei ich noch nicht überzeugt bin,
> das ich das auf meinem Server möchte.
Auf einem Server baut man keine Pakete wenn das nicht seine einzige Aufgabe
ist. Produktivsysteme im allgemeinen sollten wenn moegliche keine Entwickler
Tools bereit stellen um evtl. einbrechern nicht gleich die bastel Umgebung
zu geben die sie ggf benoetigen.
> Nun sind da immernoch diese "broken
> packages". Das `apt-get -f install' sagt:
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 packages upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
>
> Ok, und dann der Versuch Courier zu compilieren:
> # dpkg-buildpackage -rfakeroot -us -uc
> dpkg-buildpackage: source package is courier
> dpkg-buildpackage: source version is 0.47-2.backports.org.1
> dpkg-buildpackage: source maintainer is Norbert Tretkowski
> <tretk...@inittab.de>
> dpkg-buildpackage: host architecture is i386
> dpkg-checkbuilddeps: Unmet build dependencies: libmysqlclient10-dev,
> libpam0g-dev, libgdbm-dev | libgdbmg1-dev, libperl-dev, zlib1g-dev, debhelper
> (>= 4.1.16), libsasl2-dev | libsasl-dev, expect, mgetty-fax, netpbm,
> libfam-dev, libssl-dev, postgresql-dev, automake1.8, libtool
> dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
> dpkg-buildpackage: (Use -d flag to override.)
>
> Ach so. Ich habe das courier-package von backports...
Dir fehlen Pakete die die header files enthalten die du zum uebersetzen dieses
Paketes benoetigst. Im Uebrigen sind diese durch deine Aenderung an den
configure optionen zT eh falsch. Du moechtest ja Berkley DB anstatt von gdbm
verwenden.
Vielleicht hilft dir das ein wenig weiter, Du solltest dich aber im
Zweifelsfalle aber erstmal mit der Paketverwaltung beschaeftigen.
http://www.de.debian.org/doc/devel-manuals#maint-guide
http://www.de.debian.org/doc/
Vielleicht hilft dir das ja ein wenig weiter.
> Soeviel ich weiss ist authpwd, authshadow, authvchkpw nicht inkludiert
> (nur die manpages), d.h. es fehlen einfach diese Module.
ich habe eben mal eine Pause gemacht und in aller Ruhe über das Problem
nachgedacht. Ich kam zu dem Ergebnis, dass sich der ganze Aufwand mit dem
Compilieren usw. nicht lohnt. Dann nehme ich doch eben authuserdb!
Gedacht, getan. Der courierauthtest scheint jetzt auch zu funktionieren:
# courierauthtest volker passwort
Trying authdaemon...
Authenticated: module authdaemon
Home directory: /home/volker
UID/GID: 1000/100
Maildir: /home/volker/Maildir
AUTHADDR=volker
AUTHFULLNAME=<none>
OPTIONS=<none>
Aber einloggen geht nicht:
# telnet server 143
Trying ......
Connected to server
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc. See
COPYING for distribution information.
001 LOGIN volker passwort
001 NO Login failed.
In der imapd steht folgendes:
AUTHMODULES="authdaemon"
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA AUTH=PLAIN IDLE"
Beim setzen des Passwortes mit userdbpw habe ich keine Option - wie md5 -
gesetzt. Also sollte PLAIN doch funktionieren, oder?
IMAP_TLS_REQUIRED=0, also sollte der Telnet-Login erlaubt sein.
Weiß jemand Rat?
Gruß & vielen Dank!
Vollker
Am Freitag, 29. April 2005 13:36 schrieb Volker Katz:
> Am Freitag 29 April 2005 13:06 schrieb Reinhold Fischer:
> > Am Freitag, 29. April 2005 12:41 schrieb Volker Katz:
> > > Am Freitag 29 April 2005 10:27 schrieb Reinhold Fischer:
> > > > Am Freitag, 29. April 2005 08:47 schrieb Volker Katz:
> > > > > ich versuche mich gerade daran den Courier als MTA und IMAP-Server zu
> > > > > installieren. Leider bin ich mit Debian nicht sehr vertraut, was mir
> > > > > hier
>
> > Ich bin gerade dabei mir Packages für Sarge zu basteln, da
> > ich vchkpw benötige.
> >
> > Wenn es funktioniert, kann ich dann die Anleitung zum
> > Package-Bau posten.
> Das wäre super!
Hier ist die Anleitung, wie ich für Sarge die Packages baue:
root# apt-get install \
libgdbm-dev \
libvpopmail-dev \
vpopmail-bin \
openssl \
libssl-dev \
libmysqlclient10 \
libvpopmail-freecdb \
libvpopmail1 \
mysql-common \
libmysqlclient12-dev \
libpam0g-dev \
mgetty-fax \
libldap2-dev \
libsasl2-dev \
libfam-dev \
postgresql-dev
user$ mkdir debbuild
user$ cd debbuild
user$ apt-get source courier
user$ cd courier-[0-9]*
user$ NEWVERSION=`dpkg-parsechangelog | sed -n 's/^Version: //p'`.rf.1
user$ DEBEMAIL=linux...@aon.at dch -v $NEWVERSION created packages for additional auth methodes
user$ cd debian
user$ cp -a rules rules.orig
user$ sed -e 's/--without-authpwd/--with-authpwd/g' \
-e 's/--without-authshadow/--with-authshadow/g' \
-e 's/--without-authvchkpw/--with-authvchkpw/g' \
-e 's|\([[:space:]]*\)dh_movefiles.*|## Install additional auth modules\n\1cd authlib \&\& cp authpwd authshadow authvchkpw authcustom authuserdb authcram authtest authinfo authenumerate authdaemontest $(BUILD)/usr/lib/courier/authlib/ \n\1find $(BUILD)/usr/lib/courier/authlib/ -perm +u+x -type f \| xargs chmod u+rwx,go+rx\n\n&|' \
-e 's/#*\([[:space:]]*\)dh_installchangelogs -p courier-authdaemon.*/&\n\1dh_installchangelogs -p courier-authpwd\n\1dh_installchangelogs -p courier-authshadow\n\1dh_installchangelogs -p courier-authvchkpw\n\1dh_installchangelogs -p courier-authcustom\n\1dh_installchangelogs -p courier-authuserdb\n\1dh_installchangelogs -p courier-authcram/' \
-e 's/.*File(s) found not belonging to any package*/#&/' \
rules.orig > rules
user$ diff rules.orig rules
user$ echo "usr/lib/courier/authlib/authpwd" > courier-authpwd.files
user$ echo "usr/lib/courier/authlib/authshadow" > courier-authshadow.files
user$ echo "usr/lib/courier/authlib/authvchkpw" > courier-authvchkpw.files
user$ echo "usr/lib/courier/authlib/authcustom" > courier-authcustom.files
user$ echo "usr/lib/courier/authlib/authuserdb" > courier-authuserdb.files
user$ echo "usr/lib/courier/authlib/authcram" > courier-authcram.files
user$ echo "usr/lib/courier/authlib/authtest" > courier-authtest.files
user$ echo "usr/lib/courier/authlib/authinfo" > courier-authtest.files
user$ echo "usr/lib/courier/authlib/authenumerate" > courier-authtest.files
user$ echo "usr/lib/courier/authlib/authdaemontest" > courier-authtest.files
user$ cat<<'__EOF__'>> control
Package: courier-authpwd
Architecture: any
Depends: ${shlibs:Depends}, courier-base (>= ${RELUP}), courier-authdaemon (>= ${RELUP})
Suggests: courier-doc
Description: Courier Mail Server - Pwd Authentication
This package contains the pwd authentication module for
the Courier Mail Server.
Package: courier-authshadow
Architecture: any
Depends: ${shlibs:Depends}, courier-base (>= ${RELUP}), courier-authdaemon (>= ${RELUP})
Suggests: courier-doc
Description: Courier Mail Server - Shadow Authentication
This package contains the shadow authentication module for
the Courier Mail Server.
Package: courier-authvchkpw
Architecture: any
Depends: ${shlibs:Depends}, courier-base (>= ${RELUP}), courier-authdaemon (>= ${RELUP})
Suggests: courier-doc
Description: Courier Mail Server - VPopMail Authentication
This package contains the vpopmail authentication module for
the Courier Mail Server.
Package: courier-authcustom
Architecture: any
Depends: ${shlibs:Depends}, courier-base (>= ${RELUP}), courier-authdaemon (>= ${RELUP})
Suggests: courier-doc
Description: Courier Mail Server - Custom Authentication
This package contains the custom authentication module for
the Courier Mail Server.
Package: courier-authuserdb
Architecture: any
Depends: ${shlibs:Depends}, courier-base (>= ${RELUP}), courier-authdaemon (>= ${RELUP})
Suggests: courier-doc
Description: Courier Mail Server - UserDB Authentication
This package contains the userdb authentication module for
the Courier Mail Server.
Package: courier-authcram
Architecture: any
Depends: ${shlibs:Depends}, courier-base (>= ${RELUP}), courier-authdaemon (>= ${RELUP})
Suggests: courier-doc
Description: Courier Mail Server - CRAM Authentication
This package contains the cram authentication module for
the Courier Mail Server.
Package: courier-authtest
Architecture: any
Depends: ${shlibs:Depends}, courier-base (>= ${RELUP}), courier-authdaemon (>= ${RELUP})
Suggests: courier-doc
Description: Courier Mail Server - Test Authentication
This package contains the test authentication module for
the Courier Mail Server.
__EOF__
cd ..
user$ dpkg-buildpackage -us -uc -rfakeroot
user$ ls -1 courier-auth*
courier-authcram_0.47-4.rf.1_i386.deb
courier-authcustom_0.47-4.rf.1_i386.deb
courier-authdaemon_0.47-4.rf.1_i386.deb
courier-authmysql_0.47-4.rf.1_i386.deb
courier-authpostgresql_0.47-4.rf.1_i386.deb
courier-authpwd_0.47-4.rf.1_i386.deb
courier-authshadow_0.47-4.rf.1_i386.deb
courier-authtest_0.47-4.rf.1_i386.deb
courier-authuserdb_0.47-4.rf.1_i386.deb
courier-authvchkpw_0.47-4.rf.1_i386.deb
--
Mit freundlichen Grüßen,
Reinhold Fischer