Linux - SoftwareThis 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.
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.
I've installed SuSE 8.2 but I can't get POP3 or IMAP servers within the xinetd service to accept user logins, (I really want to use IMAP to set up a webmail server). The POP/IMAP server responds but I don't understand the login error I'm getting.
Shown below is the result of trying to telnet to the POP or IMAP server:
(user gavin exists on the machine and I can login as an ordinary user)
POP3 (Port 110)
linux:/etc # telnet 192.168.7.1 110
Trying 192.168.7.1...
Connected to 192.168.7.1.
Escape character is '^]'.
+OK POP3 linux.domain.name v2001.80 server ready
user gavin
-ERR Unknown AUTHORIZATION state command
^]
telnet> close
Connection closed.
linux:/etc #
IMAP (Port 143)
linux:/etc # telnet 192.168.7.1 143
Trying 192.168.7.1...
Connected to 192.168.7.1.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS LOGINDISABLED]
linux.domain.name IMAP4rev1 2002.332 at Tue, 28 Oct 2003 12:29:29
+0000 (GMT)
login gavin
login BAD Command unrecognized/login please: GAVIN
^]
telnet> close
Connection closed.
linux:/etc #
As far as I can see the error "ERR Unknown AUTHORIZATION state command" for the POP3 login is trying to say that the POP server didn't expect a user login at that point (in its current state). If I remember correctly the POP server is either in the AUTHORIZATION, TRANSACTION or UPDATE state. In each of these states it will only accept certain commands.
I suspect that I'm missing something VERY obvious - like by default each user has to somehow be "enabled" to allow access to its mail via POP3 / IMAP deamon?
I had a similar problem on a box running RH 7.2. It was giving me "Bad login" error,
even though the user name and password were correct. The pop file from /etc/pam.d/ directory was missing.
You might be missing some configuration file required for authentication.
You may be onto something here, PAM is something that I'm not familiar with. I've had a look at the man pages and I'm slowly getting the picture.
Can you point me a bit further in the right direction eg what should be in my /etc/pam.d/imap or pop3 configuration file, or where to look for more help?
Thanks.
Yes I think so, its very similar ... although is the:
auth required pam_mail.so
line significant? When editing files in /etc/pam.d do I have to restart a service (like xinetd?) or do the changes take effects without this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.