Quoting Dave 'Duke of URL' Weiner <[EMAIL PROTECTED]>:
> 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
I have never used /etc/passwd users with vpopmail, but it's my
understanding that you can use them in addition to virtual
domains, so you could have both.
> 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?
Sounds right to me. But I highly recommend setting up a test
box to make sure this will work ahead of time.
> 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?
Yes. I think that if vchkpw is compiled with roaming user
support, any successful authentication (regardless of where the
auth info is stored) will allow that IP to relay.
> 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.
I'm pretty sure your setup will work as you expect. But testing
it on a test box will tell you for sure.
Since you're running your POP server as root, you shouldn't have
any permission issues with vchkpw updating the cdb relay file.
You may need to specify the location of the tcp.smtp when
compiling vpopmail.
Good luck.
-Bill