Ruben Vandille wrote:
> 
> Hi guys,
> 
> I got a problem.
> I added a new virtual domain, but I wanted the mail in the users homedir,
> so I did it like this:
> [root@devet001 gaia.be]# vadddomain -i 515 -g 100 -d /home/gaia gaia.be
> 
> All necessary changes were done correctly: vadddomain added the directory
> structure in /home/gaia/domains/gaia.be/, and the right line in assign:
> [root@devet001 gaia.be]# cat /var/qmail/users/assign
> ...
> +gaia.be-:gaia.be:515:100:/home/gaia/domains/gaia.be:-::
> .
> 
> Qmail delivers mail to "[EMAIL PROTECTED]" correctly, I can read the mail
> using cat /home/gaia/domains/gaia.be/postmaster/Maildir/new/*
> But I can't read mail using POP3 and I can't configure the domain using
> qmailadmin!
> My maillog shows this:
> Feb 18 04:09:00 devet001 vpopmail[13540]: vchkpw: No user found
> [EMAIL PROTECTED]
> 
> I can see the user's information:
> [root@devet001 gaia.be]# vuserinfo [EMAIL PROTECTED]
> name:   postmaster
> passwd: NMkBpXcSV2rpg
> uid:    1
> gid:    0
>          all services available
> gecos:  Postmaster
> dir:    /home/gaia/domains/gaia.be/postmaster
> quota:  NOQUOTA
> 
> But I can't change the user's password:
> [root@devet001 gaia.be]# vpasswd [EMAIL PROTECTED]
> Enter the user's new password:
> Please type it again for verification:
> vpasswd: error changing the password for user '[EMAIL PROTECTED]':
>    Invalid or unknown virtual user
> 
> Is there anybody who knows what the problem could be? And maybe he/she
> knows a solution for this problem?
> 
> Thanks in advance,
> 
> Ruben.

I will take a look at it. This is the first report of any type
of problem like this.

One thing I do know, you'll need to make qmailadmin be setuid root.
Otherwise it won't be able to go into the users directory.
By default, qmailadmin gets installed setuid vpopmail.

Ken Jones

Reply via email to