

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] MySQL support for mai...| From | Sent On | Attachments |
|---|---|---|
| rom...@rs-labs.com | Nov 11, 2003 10:09 am | |
| Thomas Hug | Nov 11, 2003 10:41 am | |
| Roman Medina | Nov 15, 2003 4:06 am | |
| Thomas Hug | Nov 15, 2003 4:27 am | |
| Thomas Hug | Nov 15, 2003 4:33 am | |
| Roman Medina | Nov 15, 2003 11:27 am | |
| Thomas Hug | Nov 15, 2003 3:57 pm | |
| Martin List-Petersen | Nov 16, 2003 10:04 am | |
| Thomas Hug | Nov 16, 2003 10:08 am | |
| Martin List-Petersen | Nov 16, 2003 10:13 am | |
| Thomas Hug | Nov 16, 2003 10:22 am | |
| Martin List-Petersen | Nov 16, 2003 10:27 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] MySQL support for maildrop | Actions... |
|---|---|---|
| From: | Roman Medina (rom...@rs-labs.com) | |
| Date: | Nov 15, 2003 4:06:44 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Using the info provided by Thomas Hug <to...@nine.ch>, I wrote this "mini-howto/draft" about adding mysql-virtual support to courier-maildrop for Debian 3.0. Hope it helps. Thanks, Thomas :)
=====
0) Be sure that your system has the appropiated development packages. For instance: apt-get install dpkg-dev, apt-get install fakeroot 1) Get Courier source: apt-get source courier. Amongst other things, a new directory is created. Enter that directory: cd courier-0.37.3 2) Add config options for MySQL support in Maildrop: vi debian/rules. The options are: --enable-maildropmysql --with-mysqlconfig=/etc/courier/maildropmysqlrc
For instance:
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=\$${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 \ --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 -oi -t" \ --enable-sendmail="/usr/sbin/sendmail" \ --with-cachedir=/var/cache/sqwebmail \ --with-calendardir=/var/run/courier/calendar \ --with-webadmindir=/usr/share/courier/webadmin \ --disable-root-check $(NONSSL_CONFOPTS) \ --enable-maildropmysql \ --with-mysqlconfig=/etc/courier/maildropmysqlrc
3) Install some packages you will need for the next step. In particular: apt-get install libmysqlclient10-dev libpam0g-dev libpam0g-dev libperl-dev zlib1g-dev debhelper libldap2-dev libsasl-dev expect libgdbmg1-dev4) Rebuild package: dpkg-buildpackage -rfakeroot 5) Now you should have the new package created in: ../courier-maildrop_0.37.3-2.3_i386.deb 6) Install the new package: dpkg -i ../courier-maildrop_0.37.3-2.3_i386.deb
=====
Now, I have one minor problem:
test:~# apt-get upgrade -s Reading Package Lists... Done Building Dependency Tree... Done 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Inst courier-maildrop (0.37.3-2.3 Debian:3.0r1a/stable, Debian-Security:3.0/stable) Conf courier-maildrop (0.37.3-2.3 Debian:3.0r1a/stable, Debian-Security:3.0/stable) test:~#
Apt-get tries to replace my customized package. How is the best approach to solve it? Changing version number? Tunning config file for apt? Please, detailed example would be welcome.
Saludos, --Roman
-- PGP Fingerprint: 09BB EFCD 21ED 4E79 25FB 29E1 E47F 8A7D EAD5 6742 [Key ID: 0xEAD56742. Available at KeyServ]







