pop3 unable to authenticate on solaris 10 mail server

Both snoop and wireshark yield the same error/feedback during the attempted client connections regardless of valid user and password.POPResponse: --ERR Unknown AUTHORIZATION state command
[201 byte] By [homeslicea] at [2007-11-27 3:52:14]
# 1
what pop3 server you are using ? Regards
mtalhaa at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
If I telnet to my pop3 server on port 110, or run /usr/local/sbin/ipop3d I get the following....:+OK POP3 pike 2006e.96 server readyThe server pop3 runs on is a solaris 10 6/06 release 118833-06.
homeslicea at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
What happens when you telnet to port 110 and try to login with "USER" and "PASS" statements? I may be wise to start a truss on the child after you got the banner.
hspaansa at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

After typing....

USER me PASS mypassword

I receive the error noted in my original post while interacting with pop3....

-ERR Unknown AUTHORIZATION state command

Truss echo's the typing to the screen, but doesn't reveal any clues as to why AUTHORIZATION is failing.

Is my /etc/pam.conf OK? Its POP3 lines look like this based upon an example I found on-line....:

pop3auth required pam_unix.so try_first_pass

pop3account required pam_unix.so

pop3session required pam_permit.so

Although, after looking in /usr/lib/security,...I noticed that "pam_unix.so" and "pam_permit.so" didn't exist. Isn't that were they're supposed to be?

I then changed the pop3 lines to look the following based upon what did exist in /usr/lib/security....:

pop3auth required pam_unix_auth.so try_first_pass

pop3account required pam_unix_account.so

pop3session required pam_permit_session.so

I still got the "-ERR Unknown AUTHORIZATION state command" error after I did this -- did I need to stop and restart anything to get the OS to re-read the pam.conf?

What else could it be?

homeslicea at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5
There needs to be a newline between the two commands likeUSER mePASS password
hspaansa at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6

Hey, thanks for replying...yeah, I tried that too, and still got the same error.

Since then, I've downloaded and compiled qpopper and I can now connect to the server from the client and authenticate -- horray!

But, it appears I have another problem that is not related to POP or qpopper -- my solaris sendmail server won't relay mail from the clients. So, only internal mail works from the clients. When you're on the server, inbound and outbound mail works to and from the wan, just not from the clients.

Any ideas how to turn on relay capability in sendmail on solaris?(maybe I should post this as another question)

Thanks,

-h

homeslicea at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7
How do you configure your pam.conf to have qpopper authenticate through pam and LDAP server?Thanks,--xinhuan
xhza at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 8
You can turn on relay for client machines by adding your subnet to the file/etc/mail/relay-domainsEg if your subnet is 123.123.123.x add123.123.123 to the file
robert.cohena at 2007-7-12 8:56:16 > top of Java-index,Solaris Operating System,Solaris 10 Features...