As quoted from vchkpw's FAQs:
"vchkpw is a collection of programs to automate creation and maintence of
non /etc/passwd virutal domain email and pop accounts for qmail
installations."
If you want 'user' to be able to login using /etc/passwd information, I
suspect you setup two Qmails.
I am not thinking too much about it, but you may just be able to run two
qmail-pop3d sessions. One using checkpoppassword and the other running
vchkpw's password. This would be binded to two different IPs.
Then you will have to edit your control/virtualdomains and user/assign
files to route the mail correctly for local users (using the same
qmail-smtpd running on one IP and port).
I would setup vchkpw to operate normally with virtual domains and hosts,
then try to get qmail-pop3d binded to another IP, editting the files, and
putting checkpoppasswd in place after vchkpw is working. This is because
vchkpw re-writes your control/* files (just some of them) and some files in
users/*. But it does not keep track of what's in there after it edits.
Therefore you want to edit the control/* and assign/* files after vchkpw is
installed and working because vchkpw will only add to/remove what you
add/remove via vchkpw's scripts.
Eric Duncan
President.and.CEO
The.Public.Network
http://www.thepublic.net
[EMAIL PROTECTED]
Paul Farber writes:
> But the problem then is that if a user uses "peter" with no domain then
> the default /home/vpopmail/vpasswd is used. From the virtual domains
> howto. The "real" username/passwords are located in /etc/passwd.
>
> Is there a way to get vchkpw to look use /etc/passwd for an existing qmail
> setup running pop3d? Or can vchkpw only go have virtual users/doamins?
>
> IE f-tech.net is my "real" mail server but I want to add
> "haven.k12-pa-us" and benesch.f-tech.net as virtual mail domains.
>
> Thanks
>
> Paul D. Farber II
> Farber Technology
> Ph. 570-628-5303
> Fax 570-628-5545
> [EMAIL PROTECTED]
>
> On Sun, 1 Aug 1999 [EMAIL PROTECTED] wrote:
>
> > vchkpw uses the same qmail-pop3d. All you have to do is change your
> > startup script for qmail to remove the default 'checkpoppasswd' (or
> > whatever it to called). Then insert the compiled program
> > '/home/popusers/bin/vchkpw' in place of it. Here's my Qmail startup
> > scripts from BEFORE and AFTER:
> >
> > Before:
> >
> > /usr/local/bin/tcpserver -R -H -c 20 0 pop3 /var/qmail/bin/qmail-popup
> > thepublic.net /var/qmail/users/checkpoppasswd /var/qmail/bin/qmail-pop3d
> > Maildir &
> > ^- All on one line.
> >
> > (I know you can break this up, but why complex things?)
> >
> > See that I am using /var/qmail/users/checkpoppasswd? This is a modified
> > checkpoppasswd that I have done.
> >
> > When you install vchkpw, all you do is change to:
> >
> > After:
> >
> > /usr/local/bin/tcpserver -H -R -c 20 0 pop3 /var/qmail/bin/qmail-popup
> > thepublic.net /home/popusers/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
> > &
> > ^- All on one line.
> >
> > See. No mystery here. vchkpw is a different user authentication. vchkpw
> > also re-writes several files in the /var/qmail/control/* directory.
> > Including virtualdomains and rctphosts. So back them up before continuing.
> > You can edit them later.
> >
> > vchkpw also rewrites the /var/qmail/users/assign file to it's format. So
> > this means any passwords you might have stored here already will be gone.
> > You can backup a copy of it and delete what you have. Then edit the
> > directories later.
> >
> > That's basically the procedure for 'upgrading' to vchkpw. I use the
> > default qmail-pop3d and smtpd. As well as Qmail's 4 daemon's running,
> > hosting close to 200 domains now. It hasn't flinched. Not bad for a
> > little program called Qmail and vchkpw. :)
> >
> >
> > Eric Duncan
> >
> > President.and.CEO
> > The.Public.Network
> > http://www.thepublic.net
> > [EMAIL PROTECTED]
> >
> >
> >
> > Paul Farber writes:
> >
> > > hello all
> > >
> > > I'm tring to set up two qmail-pop3d daemons using tcpserver on a RH 5.2
> > > box. I've modified the qmail-pop3d.init files and added the service
> > > (vpop-3 108/tcp) and it starts up.
> > >
> > > I want to use vchpwd and qmailadmin to host more than one virtual domain.
> > > The INSTALL and FAQ don't cover what to do when you are adding vchkpw and
> > > still keep the original qmail-pop3d service running.
> > >
> > > Any advice?
> > >
> > > Paul D. Farber II
> > > Farber Technology
> > > Ph. 570-628-5303
> > > Fax 570-628-5545
> > > [EMAIL PROTECTED]
> > >
> >
> >
>