[ start | index | login ]
start > knowledgebase > linux > mail > maildrop with mysql support on debian sarge

maildrop with mysql support on debian sarge

Created by luben. Last edited by luben, one year and 361 days ago. Viewed 2,728 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Maildrop with MySQL Support on Debian Sarge

The default maildrop package in Debian Sarge comes without MySQL support. If you want to enable MySQL support you have to compile it from source:

apt-get install dpkg-dev
apt-get install fakeroot
cd /usr/local/src
apt-get source maildrop
cd maildrop-1.5.3

Edit the file debian/rules and add the lines:

--enable-syslog=1 --enable-maildropmysql --with-mysqlconfig=/etc/maildropmysql.config --without-db \\
--enable-maildrop-uid=5000 --enable-maildrop-gid=5000 --enable-trusted-users="root postfix vmail"

Now build and install .deb package:

apt-get build-dep maildrop
dpkg-buildpackage -rfakeroot -uc -b
dpkg -i maildrop_1.5.3-1.1sarge1_i386.deb

Note: The above setup assumes that your user and group vmail have UID/GID 5000. This may be different on your system. Check your vmail user in /etc/passwd and set accordingly.

请以发表评论身份登录
Powered by snipsnap.org Found a mistake in a howto? Let us know via an email to p.blikibugs at rimuhosting com.