The alternative way, of course, is to use the slightly more out-of-date
packages that Debian provides.

Download (or dselect) the qmail-src package in Debian, the run
"build-qmail" (during installation this will mention this, so don't

After that, grab the vpopmail packages in Debian as well, and install

Blam. Apart from some tweaking, you're done.

Of course, you don't get the new fancy features that are in the latest
versions, but it works, and so far for us it has been reliable.


----- Original Message -----
From: "David Phillips" <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 10:06 AM
Subject: Re: [vchkpw] Vpopmail Debian

> Zeno Davatz writes:
> > So you also suggest not using the binaries from the Debian packages
> > for my Mail-setup?
> This is my recommendation for the easiest and best vpopmail setup on
> This is from memory, so I might be missing something:
> * Add Gerrit Pape's repository to your apt sources list.  Install the
> package.  This will install qmail, including the necessary uids and
> * Install the qmail-run package.  This will setup qmail as the mail
> agent under daemontools.  This will uninstall exim or whatever MTA you
> already have installed.
> * Change the /var/qmail/rc file to deliver to Maildir.  This will break
> for local users and cause the mail system not to work as it would on a
> standard Debian system.  The "mail" program, for example, does not work
> Maildir.  But for a POP toaster using vpopmail, this doesn't really
> The file should look like this:
> #!/bin/sh
> exec env - PATH="/var/qmail/bin:$PATH" \
>  qmail-start ./Maildir/
> * By default, the qmail-run package sets up qmail to log to syslog, as
> standard for Debian.  However, the daemontools method (as setup by
> qmail-conf) is much better, in my opinion.  Fix the qmail-send and
> qmail-smtpd services to do this.  qmail-smtpd may already be setup this
> In the log directory of the service directory (say
> change main to be a symlink to the log directory, say
> Change the run script for the log service to be as follows:
> #!/bin/sh
> exec setuidgid qmaill multilog t ./main
> * Install vpopmail from source.  The Debian packages are pretty old and
> to be buggy, at least the last time I tried.
> * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to
> vpopmail.  The tcp.smtp.cdb file needs to point to the one in the
> home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb).  This step makes
> POP-before-SMTP work.
> * Install a qmail-pop3d service.  The easiest way to do this is
> You could use qmail-conf to redo all the qmail services, but it is
easier to
> stick with the ones that qmail-run sets up:
> * Allow incoming connections to pop3d.  By default, it does not allow
> connections.  There is an add-client script in
> /var/qmail/service/qmail-pop3d that can be used.  To simply allow
> connections from everywhere, create an empty tcp file and run the
> You will need to run the Makefile after using add-client.
> * Change the qmail-pop3d run script to use vpopmail.  It needs to use
> as the checkpassword program.  Change this to your vchkpw program (ex.
> /home/vpopmail/bin/vchkpw).  The parameter to be changed is the second
> parameter to qmail-popup.
> * Restart all of the services:
> svc -t /service/qmail-*
> * You can make things easier if you add /var/qmail/bin and the vpopmail
> directory to root's PATH.
> --
> David Phillips <[EMAIL PROTECTED]>

Reply via email to