On Wed, 25 Aug 1999, Sander Wissing wrote:
> Hi all,
>
> I am sure this is a FAQ, so if there is a FAQ please just point me to
> it, but can anyone point me towards a .deb installation of qmail
> somewhere?
There are several debian packages of qmail-related software.
The latest of them are (all in the unstable (potato) distribution but work
pretty stable):
Mandatory:
qmail-src 1.03-6 Contains the main qmail package source with
init.d wrapper, some patches, and so one...
tcpserver-src 0.84-? tcpserver source package.
Add-on:
rblsmtpd-src ??? RBL extension to tcpserver, qmail works without it.
vchkpw 3.1.2 virtual domain management package... a bit old
version, latest source is 3.4.7, and probably need to
be modified a bit, since it puts virtual user and
domain mail to an inconvenient place, IMHO.
(/var/state/vchkpw)
ezmlm-idx-src
and so on and so on... :-)
Installing them:
first of all, you have to have a perl package which provides the
virtual package perl5. The potato version does this, the slink does
NOT. However you can recompile the perl-5.004 suite of perl packages on
slink and install them. This provides perl5. This is needed to install
vchkpw_3.1.2 and qmail_1.03-6 debian packages. (The pre and post install
scripts are in perl, and the package dependency is stated to be perl5, and
dpkg does not allow to install the package until perl5 is provided).
if you are stuck at here, then send me an email, and I send instructions
on how to do this in private email, since it can be considered offtopic.
After this you need to build the binary packages which have -src in the
package name. this can be carried out in many ways, the most common is:
# dpkg -i packagename-src...
# build-packagename
after this you have the binary package you can install.
You first have to install tcpserver afterwards qmail. The rest are
arbitrary.
If you do not use vchkpw then you can enable qmail-pop3d by deleting a few
hashmarks from /etc/init.d/qmail (there are comments there... :-), and add
a stop statement to the stop part which has been forgotten to be put in..
:-)
The statement is:
start-stop-daemon --user root --stop --quiet --oknodo --exec
/usr/bin/tcpserver
All in one line of course.
And to be conforming to the debian policy put in these two lines after the
two similar at the first page of the script:
test -x /usr/sbin/qmail-popup || exit 0
test -x /usr/sbin/qmail-pop3d || exit 0
(This has also been forgotten.)
If you use vchkpw then you do not need to do any of this.
Of course both versions (vchkpw and the base qmail package) has a
checkpassword program which supports shadow passwords.
I beg everyone's pardon who considers debian related qmail answers
offtopic.
Robert Varga