Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Qmail-pop3d authentication problem

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


john at j2lstech

Jun 2, 2009, 4:23 PM

Post #1 of 2 (1201 views)
Permalink
Qmail-pop3d authentication problem

Hi

I have been running qmail for several years. Recently, I had to
bring up a hot backup server after a mail server crashed. The admin I
put on this did NOT do a full job of installing qmail and I have had
nothing but headaches re-tracing her steps. Anyway, I have the basic
install of qmail up and running (it is sending and receiving emails).
The trouble comes in with Qmail-pop3d. It is failing to authenticate
from remote connections using user accounts and passwords I KNOW
exist. I am using Maildir format. Any help or suggestions would be
appreciated.

Thanks
JJ

Here is a local test of qmail-popup....

# ./qmail-popup /bin/checkpassword id
+OK <7154.1243953583@/bin/checkpassword>
user ********
+OK
pass ************
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),
6(disk),10(wheel)
[root@?????? bin]#

Here is the contents of /var/qmail/supervise/qmil-pop3d/run file
#!/bin/sh
exec /usr/local/bin/softlimit -m 5000000 /usr/local/bin/tcpserver -v -
R -H -l 0 0 110 /var/qmail/bin/qmail-popup ??????.?????.com /bin/
checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1

Ownership of /bin/checkpassword

-rwx------ 1 root root 14496 May 3 18:15 checkpassword

Contents of /var/log/qmail/pop3d/current

@400000004a23d0aa36065c44 tcpserver: status: 0/40
@400000004a23d0c82b4dda84 tcpserver: status: 1/40
@400000004a23d0c82b4f9bbc tcpserver: pid 2204 from 24.229.11.254
@400000004a23d0c82b4fca9c tcpserver: ok 2204 0:64.34.95.49:110 :
24.229.11.254::39066
@400000004a23d0d5148b162c tcpserver: end 2204 status 256
@400000004a23d0d5148b1a14 tcpserver: status: 0/40
@400000004a23d66c21ad50a4 tcpserver: status: 1/40
@400000004a23d66c21af63e4 tcpserver: pid 2312 from 24.229.11.254
@400000004a23d66c21af9a94 tcpserver: ok 2312 0:64.34.95.49:110 :
24.229.11.254::44751
@400000004a23d67809e9123c tcpserver: end 2312 status 256
@400000004a23d67809e91a0c tcpserver: status: 0/40
@400000004a244a6f3781f40c tcpserver: status: 1/40
@400000004a244a6f3783e424 tcpserver: pid 4287 from 24.229.11.254
@400000004a244a6f37841304 tcpserver: ok 4287 0:64.34.95.49:110 :
24.229.11.254::43634
@400000004a244a700b545654 tcpserver: end 4287 status 256
@400000004a244a700b545a3c tcpserver: status: 0/40
@400000004a25223e0cb60164 tcpserver: status: 1/40
@400000004a25223e0cb7ed94 tcpserver: pid 6773 from 24.229.11.254
@400000004a25223e0cb8205c tcpserver: ok 6773 0:64.34.95.49:110 :
24.229.11.254::44882
@400000004a25224f2b1fd544 tcpserver: end 6773 status 256
@400000004a25224f2b1fdd14 tcpserver: status: 0/40
@400000004a25225408aa681c tcpserver: status: 1/40
@400000004a25225408ac2954 tcpserver: pid 6782 from 24.229.11.254
@400000004a25225408ac5834 tcpserver: ok 6782 0:64.34.95.49:110 :
24.229.11.254::46376
@400000004a25226c11abdf54 tcpserver: end 6782 status 256
@400000004a25226c11abe724 tcpserver: status: 0/40


lists-qmail at maexotic

Jun 3, 2009, 7:17 AM

Post #2 of 2 (1055 views)
Permalink
Re: Qmail-pop3d authentication problem [In reply to]

On Tue, Jun 02, 2009 at 07:23:43PM -0400, John Jones wrote:
> # ./qmail-popup /bin/checkpassword id
> +OK <7154.1243953583@/bin/checkpassword>

you've got the command line wrong. It should read:

# ./qmail-popup example.com /bin/checkpassword id

Please try again and see if you get any errors.
All else looks correct at first glance.

\Maex

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.