Re: qmail pop3 AUTH-ERR

"Webmaster" <[email protected]> Mon, 23 Sep 2002 11:36:08 +0900
Newsgroups gmane.comp.djb.checkpassword
Organization President, Riks NET Corp.
Message-ID <002d01c262a9$fa1d1440$086ecc3d@LocalHost>
I am always be a RedHat user. Now I run my servers with the distro 7.3.
In my time with RedHat & qmail, I was using initd and then I changed into xinetd and then I changed into daemontools &
ucspi-tcp-0.88.
We  can start qmail in many ways. It is true. BUT, So far I think the best way is using the daemontools & ucspi-tcp.

I saw your xinetd configuration, and there is nothing wrong in the syntax, EXCEPT, qmailpop3d & checkpassword is designed to work
with daemontools & ucspi-tcp. I tried the same things as you are doing now, none of the startup script rom the xinetd will work
perfectly, but, in the end, I installed the daemontools & ucspi-tcp.
I think for he standard qmail server the run script for qmail-pop3d will look like this:

#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
/var/qmail/bin/qmail-popup DOMAIN.COM /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1

maybe you would like to consider to install these together in your redhat box now?
- daemontools-0.76
- qmail-1.03
- ucspi-tcp-0.88
- checkpassword-0.90

By the, way, be careful with the permission of the checkpassword. chmod 4710 & chown root:nofiles

Hope this will help..

RIK

----- Original Message -----
From: "romeo" <[email protected]>
To: <[email protected]>
Sent: Friday, September 20, 2002 11:55 AM
Subject: qmail pop3 AUTH-ERR


> Hello !
> I have installed qmail on the linux-firewall IPCOP (see
> www.ipcop.org). I have installed xinetd. I have tested the
> /bin/checkpassword programm manually as descibed on the qmail webpage.
> It works fine. But if I test it with telnet on port 110 in connection
> with xinetd I get the message:
>
> -ERR authorization failed
>
> My xinetd.conf is:
>
> service smtp
> {
>         socket_type     = stream
>         protocol        = tcp
>         user            = root
>         wait            = no
>         server          = /var/qmail/bin/tcp-env
>         server_args     = /var/qmail/bin/qmail-smtpd Maildir
>         #disable         = no
> }
> service pop3
> {
>         socket_type     = stream
>         protocol        = tcp
>         user            = qmaild
>         wait            = no
>         server          = /var/qmail/bin/qmail-popup
>         server_args     = intern.eproduction.ch /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
> #        disable         = no
> }
>
>
> I have also tried:
>
>         server_args     = qmail-popup intern.eproduction.ch /bin/checkpassword
>
>
>
>
> Do you have any ideas in wich cases the ERR-Message comes
> (checkpassword works, I am pretty shure)
>
> Thank you very much
>
> Greetings, Romeo
>
>