I've been looking over the vpopmail web site, faq and documents, and I have
a couple of quick questions.
I've been running qmail for about 3 years now, so I'm very familiar with
it's operation, so don't worry :)
I'm currently running it on a Mandrake Linux 7.0 box, and I built it from
source, not an rpm.
I've patched checkpassword to use PAM for authentication, as well as to
handle adding IP's to my pop-before-smtp database.
I'm not looking to migrate my existing local users or virtual domains to
vpopmail at this time, but I have a new customer who needs a number of
mailboxes, so I have a chance to try vpopmail :)
My understanding is that vchkpw is essentially a drop-in replacement for
checkpassword, and checks based on the following criteria:
if the login is just for username, it authenticates out of /etc/passwd or
/etc/shadow
if the login is username%domain.name, it then uses it's own mechanism to
authenticate
So, if I understand it correct, replacing checkpassword with vchkpw in my
startup script will not break my current users (i.e., they will still be
able to authenticate, and will be able to pick up their e-mail from
~user/Maildir). For the username%domain.name users, they will pick up mail
from ~vpopmail/domain.name/user/Maildir. Do I have that right?
Next, if I use the --enable-roaming-users=y option to ./configure, it will
use a cdb database, and do pop-before-smtp for the vpopmail users. Will
this also update the valid pop-before-smtp IP list for local users that are
NOT vpopmail users?
My current startup script for qmail-smtpd is:
/usr/local/bin/tcpserver -u 504 -g 2108 -c 100 -x/etc/smtp.cdb 0 smtp \
/usr/local/bin/rblsmtpd -b /usr/local/bin/rblsmtpd -b -rdul.maps.vix.com \
/usr/local/bin/rblsmtpd -b -r \
"relays.mail-abuse.org:Open relay problem - \
see <http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%>" \
/var/qmail/bin/qmail-smtpd &
And for qmail-pop3:
/usr/local/bin/tcpserver -c 100 0 110 \
/var/qmail/bin/qmail-popup mail.webmast.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
So, if I understand all the docs correctly, after installing vpopmail, all I
should have to do is change the location of my tcprule set cdb file for
qmail-smtpd, and replace /bin/checkpassword with vchkpw. Once I do that and
restart, I should have no change for my existing local users and virtual
domains that route to a local user, and now have the capability to start
adding vpopmail users what don't require a local user. Correct?
Sorry for the length, and thanks in advance for any help and advice.
Dave Weiner
CTO, WebMasters, Inc.
800-472-9203
http://www.webmast.com