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]
> > 
> 
> 

Reply via email to