On Fri, October 29, 2004 13:20, [EMAIL PROTECTED] said:
>
>>
>> [EMAIL PROTECTED] wrote:
>>
>>> setup:
>>>
>>>
>>> # MAP Server (dovecot)
>>> # PHP (4.38 http://www.substantis.com/phpinfo.php)
>>> # Web server ( Apache/2.0.51 (Fedora))
>>> # Platform (Fedora Core 2)
>>> # How your software was installed (.tar.gz / configured config.pl
)
>>> # SquirrelMail version (1.4.3a)
>>>
>>>
>>> problem: i can't log into squirrelmail. the error code is "You
must
>>> be logged in to access this page."
>>>
>>> testing: confirmed passwords from local terminal.
>>>
>>
>> as in telnet localhost 143??
>>
>> what do your IMAP logs say?
>>
>>
> everything looks ok with dovecot. i am user validuser as a local
account
> for testing. the strange thing is that even when i get rejected for
a
> login using a valid username and password, i get the message, ""You
must
> be logged in to access this page," but when i login using a bogus
name, i
> get a distinctly different error using a bogus username and
password
> "Unknown user or password incorrect."
>
>
> 1. testing dovecot from local terminal:
> [EMAIL PROTECTED] root]# telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK dovecot ready.
> 1 login validuser password
> 1 OK Logged in.
>
>
> this telnet session gets logged in /var/log/maillog Oct 28 21:30:36
testy
> imap-login: Login: maw [127.0.0.1]
> Oct 28 21:33:06 testy imap-login: Login: maw [127.0.0.1]
>
>
>
> When i attempt to login with a valid user name and password,
> i get the what looks like a valid login:
>
> var/log/maillog Oct 28 21:14:53 testy imap-login: Login: validuser
> [127.0.0.1]
>
>
> but the system logs say i didn't enter a user id / password: Oct 28
> 22:03:56 testy dovecot(pam_unix)[12167]: authentication failure;
logname=
> uid=0 euid=0 tty= ruser= rhost=
>
> when i use a bogus username and password, i get this: Oct 28
22:21:34
> testy dovecot(pam_unix)[12186]: check pass; user unknown Oct 28
22:21:34
> testy dovecot(pam_unix)[12186]: authentication failure; logname=
uid=0
^^^^^
> euid=0 tty= ruser= rhost=
Isn't uid=0 root ?
I think dovecot will not allow root to log in..
-kim
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
http://messenger.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users