I'm also using the single-user method on a new mail service I just set up.
My system is up and running ok using this method.  I've noticed that nobody
seems to answer posts on this list which deal with the single-user method,
so I'm going to answer, even though I am not very experienced and this
probably won't help much.

Did you set the path to the popusers file in checkpoppassword.c before you
compiled it?

You might try using Paul Greg's hacked version of checkpoppassword at least
temporarily because it does extensive logging to syslog.  At least you will
find out this way if checkpasswd is being invoked ok.

I tried the telnet methods below on my system:

>
> telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK <1500 [EMAIL PROTECTED]>
> user toto
> +OK
> pass titi
> -ERR authorization failed
> Connection closed by foreign host.
>
I was able to get this method to authorize on my system.

>
> I also tried:
> /var/qmail/bin/qmail-popup earth.care2.com /bin/checkpasswd
> +OK <[EMAIL PROTECTED]>
> user toto
> +OK
> pass titi
> -ERR authorization failed
>
 I was able to get this method to authorize, but had to add the path to
qmail-pop3 and the delivery type, i.e.:

/var/qmail/bin/qmail-popup earth.care2.com /bin/checkpasswd
/var/qmail/qmail-pop3d Maildir

as per man qmail-popup.

Dennis Duval

Reply via email to