Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-24-2003, 09:19 AM
|
#1
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Rep:
|
POP3 authentication failure
I installed qpopper-4.0.5 from source; configured it with the --disable-specialauth option and compiled, but I always have the following error when connecting to my mailbox:
-ERR [AUTH] Password supplied for "username" is incorrect
The error is the same regardless of whether I try to login via telnet or a mail client, and to what user account.
There is a delay of cca. 10 s before rejecting the request. (When I set the mail client to use encrypted authentication, the connection is rejected without delay)
I want qpopper to use /etc/passwd for authentication and let me in. Is it possible?
Last edited by J_Szucs; 07-24-2003 at 09:21 AM.
|
|
|
07-24-2003, 09:29 AM
|
#2
|
Member
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362
Rep:
|
qpopper should be using /etc/passwd for authentication. Can you take a look at you system's maillog for qpopper errors? You might also want to check syslog (messages) for authentication errors. It might be a pam restriction that is in place.
I've compiled qpopper 4.0.5 many times before and have never seen this problem before... I prefer qpopper over the pop3 server from the imap server package because it is leaner.
I hope this helps, good luck.
|
|
|
07-24-2003, 09:44 AM
|
#3
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Original Poster
Rep:
|
/var/log/maillog does not contain any error messages but those of sendmail
/var/log/messages contains the same error message plus the following:
[AUTH] failed attempted login to username from host (cross.foo.bar) 192.168.226.3.
As for the pam restriction: can pam restrictions prevail even if I have the default installation?
I did not change the default configuration options except for using the --disable-specialauth option.
Last edited by J_Szucs; 07-24-2003 at 10:05 AM.
|
|
|
07-24-2003, 04:08 PM
|
#4
|
Member
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362
Rep:
|
Pam restrictions can be placed on the qpopper completely isolated from the actual installation of qpopper itself. If you are running qpopper from xinetd, there could be a host restriction in the xinetd configuration... Without more information, I can't be sure.
|
|
|
07-24-2003, 05:07 PM
|
#5
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Original Poster
Rep:
|
You are right, I found an uncommented line applicable to pop3 in pam.conf.
I deleted that line, but qpopper still does not work.
I start qpopper from inetd. Is that the problem?
|
|
|
07-25-2003, 03:40 AM
|
#6
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Original Poster
Rep:
|
By the way: it should not be a pam failure; if it was, the error message would read '... PAM authentication failure ...' (I found a lot of these errors with google).
The qpopper README tells something about /etc/shadow. I do not have that file. Is that a problem?
It must be something trivial.
(Many struggle here with samba - for me it worked almost 'out of the box' - thought I am lucky - now s[u]{1}cking with qpopper...)
|
|
|
07-25-2003, 05:56 AM
|
#7
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Original Poster
Rep:
|
I compiled qpopper with the debug mode enabled.
Here is the log found after an unsuccessful connection:
Jul 25 10:49:59.006 2003 [4923] Trace and Debug destination is file "/var/log/poplog" [pop_init.c:888]
Jul 25 10:49:59.006 2003
Jul 25 10:49:59.016 2003 [4923] (v4.0.5) Servicing request from "cross.foo.bar" at 192.168.226.3 [pop_init.c:1186]
Jul 25 10:49:59.016 2003
Jul 25 10:49:59.016 2003 [4923] before TLS; tls_support==0 [popper.c:181]
Jul 25 10:49:59.016 2003
Jul 25 10:49:59.016 2003 [4923] Skipped TLS Init [popper.c:205]
Jul 25 10:49:59.016 2003
Jul 25 10:49:59.017 2003 [4923] (v4.0.5) Intro [popper.c:247]
Jul 25 10:49:59.017 2003
Jul 25 10:49:59.017 2003 [4923] +OK Qpopper (version 4.0.5) at pollux.foo.bar starting. [popper.c:260]
Jul 25 10:49:59.017 2003
Jul 25 10:49:59.018 2003 [4923] Qpopper ready for input from (null) at cross.foo.bar [192.168.226.3] [popper.c:294]
Jul 25 10:49:59.018 2003
Jul 25 10:49:59.021 2003 [4923] Received (10): "USER username" [pop_get_command.c:105]
Jul 25 10:49:59.021 2003
Jul 25 10:49:59.023 2003 [4923] home (15): '/usr/home/username' [pop_user.c:224]
Jul 25 10:49:59.023 2003
Jul 25 10:49:59.023 2003 [4923] +OK Password required for username. [pop_user.c:437]
Jul 25 10:49:59.023 2003
Jul 25 10:49:59.023 2003 [4923] user returned 1; CurrentState now auth2 [popper.c:338]
Jul 25 10:49:59.023 2003
Jul 25 10:49:59.024 2003 [4923] Qpopper ready for input from username at cross.foo.bar [192.168.226.3] [popper.c:294]
Jul 25 10:49:59.024 2003
Jul 25 10:49:59.025 2003 [4923] Received: "pass xxxxxxxxx" [pop_get_command.c:96]
Jul 25 10:49:59.025 2003
Jul 25 10:50:09.046 2003 [4923] username at cross.foo.bar (192.168.226.3): -ERR [AUTH] Password supplied for "username" is incorrect. [pop_pass.c:1230]
Jul 25 10:50:09.046 2003
Jul 25 10:50:09.047 2003 [4923] [AUTH] Failed attempted login to username from host (cross.foo.bar) 192.168.226.3 [pop_pass.c:1383]
Jul 25 10:50:09.047 2003
Jul 25 10:50:19.056 2003 [4923] pass returned 0; CurrentState now halt [popper.c:338]
Jul 25 10:50:19.056 2003
Jul 25 10:50:19.057 2003 [4923] +OK Pop server at pollux.foo.bar signing off. [popper.c:360]
Jul 25 10:50:19.057 2003
Jul 25 10:50:19.057 2003 [4923] (v4.0.5) Ending request from "username" at (cross.foo.bar) 192.168.226.3 [popper.c:378]
|
|
|
07-25-2003, 07:30 AM
|
#8
|
Member
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362
Rep:
|
So you've got no /etc/shadow file? This is a pretty good indication that you're not using shadow passwords, so all your passwords are actually being stored in /etc/passwd (I think). This also means that you should compile qpopper with --disable-specialauth. I'm not sure what the default is, but if your not using shadow passwords, you'll want this disabled.
See botton of page 17: ftp://ftp.qualcomm.com/eudora/server...pper/GUIDE.pdf
There's no problem with running qpopper from xinetd, that's how I've always done it. It can be run standalone if compiled with --enable-standalone, but that's not a problem here. Just for giggles, what does your /etc/xinetd.d/popper file (or similar) contain?
Good luck!
|
|
|
07-25-2003, 08:14 AM
|
#9
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Original Poster
Rep:
|
Naturally I compiled qpopper with the --disable-specialauth option.
Also tried compilation with any combination of other options that might count and, doing all that with several qpopper versions, with the same result. (Just being over the 100th compilation...)
Today I begin my summer holliday, (the server is already shut down), so I cannot make any attempts or survey for two weeks.
Thanks for your kind attention!
|
|
|
All times are GMT -5. The time now is 02:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|