On Fri, Feb 04, 2000 at 06:39:10PM -0600, Director tecnico del Nodo Nicarao -- Juan
Navas wrote:
> I'm still having problems setting up a pop account without a system
> account.Everything has been ok so far. I can send mails from anywhere and
> qmail redirect everyone to the non system pop account test mailbox
> (./qmail/popboxes/domain-com/test).But when I try to check these mails the
> system tells me that the password is incorrect for the user test (I use
> the password testpw -- DmIMm9e5Hc8ic).
>
> .
> .
> # telnet mailhost 110
> Trying mailhost...
> Connected to mailhost.
> Escape character is '^]'.
> +OK QPOP (version 2.53) at mailhost starting.
> USER test
> +OK Password required for test.
> PASS testpw
> -ERR Password supplied for "test" is incorrect.
> +OK Pop server at mailhost signing off.
> Connection closed by foreign host.
> #
> .
> .
>
> It seems to me that qpop doesn't recognize the password file (poppasswd)
> that is located on ./qmail/users
No, it doesn't. qpopper is not a part of qmail, and even if you were using
qmail-pop3d you'd need a special version of checkpassword for it to recognize
non-system accounts with an external POP database.
> **** poppasswd ****
> testid:DmIMm9e5Hc8ic:popuser:./qmail/popboxes/domain-com/test
> **** poppasswd ****
This means absolutely nothing to qpopper.
> popuser is a valid system account with a proper group and user ID.
>
>
> Here's what I have on ./qmail/users/assign
>
>
> =domian-com-test:popuser:888:888:./qmail/popboxes/domain-com/test:::
> .
>
> Should I run an additional daemon ir order to make this password file
> valid for qpop? I did believe that only qpop was necessary.
You can't use qpopper with a non-system user database (unless you get in there
and hack it). You're going to need qmail-pop3d, and you're going to have to use
maildir-format mailboxes. You're also going to have to use a custom
checkpassword. The one at http://www.palomine.net/qmail/checkcdb.tar.gz will
work with the poppasswd database you're trying to use.
Chris