Re: squirrelmail error message issue.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please don't top-post and please quote your replies!  What a mess.

>>>> i am using dovecot for pop3 and imap along with qmail toaster
>>>>
>>>> i had recently changed over from a 32 bit system to a 64 bit system.
>>>>
>>>> i use squirrelmail.
>>>>
>>>> the issue i face is that when the user inserts an invalid password then
>>>> the
>>>> message he gets is connection dropped by imap server  (instead of
>>>> invalid
>>>> userid or password)
>>>>
>>>> such a message confuses the user.
>>>>
>>>> my earlier 32 bit version used to give the correct message
>>>>
>>>> i am posting this issue here because i am not sure if this is
>>>> squirrelmail
>>>> issue or a dovecot issue.
>>>
>>> Probably a Dovecot issue.  The answer is in your logs.
>>>
>>>
>>> paul
>>>
>> thanks for your reply
>>
>> i intentionaly put the wrong password and checked the dovecot log and the
>> message i got was
>>
>> # tail -f /var/log/dovecot.log | grep "xxx@xxxxxxx"
>> Nov 25 08:47:46 imap-login: Info: Aborted login (auth failed, 1 attempts
>> in
>> 2 secs): user=<xxx@xxxxxxx>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
>> secured, session=<xObTWqYIwgB/AAAB>
>>
>> but in the squirrelmail login page instead of the message "unknown user
>> or
>> password incorrect" i get the message
>>
>> ERROR: Connection dropped by IMAP server.
>> Query: LOGOUT
>>
>>
>> in my old server where it is working correctly dovecot logs shows the
>> error
>>
>> Nov 25 14:46:12 imap-login: Info: Aborted login (auth failed, 1
>> attempts):
>> user=<"xxx@xxxxxxx">, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
>>> and squirrelmail gives the error : "unknown user or password incorrect"
>> which is correct.
>>
>> is there any other place i need to check or some other config file
>> (either
>> squirrelmail or dovecot) that i need to modify
>>
>> could you kindly guide me
>
> At the command line:
>
> telnet localhost 143 (or whatever port your Dovecot server is listening on)
> A LOGIN xxx@xxxxxxx wwwww
> B LOGOUT
>
> See what the IMAP response is to line A.  It is probably not giving a
> valid response such as "NO login failed."  If it's giving a "BAD"
> response, you need to fix your Dovecot settings.
>
> squirrelmail version : Version: 1.4.22
>
> dovecot version : 2.2.7
>
> i followed your advice and here is the response from the server
>
> A LOGIN user@xxxxxxxxxx 111
> A NO [AUTHENTICATIONFAILED] Authentication failed.
> B LOGOUT
> Connection closed by foreign host.
>
> dovecot log file shows as follows
>
> Jan 15 07:21:35 imap-login: Info: Aborted login (auth failed, 1 attempts in
> 14 secs): user=<user@xxxxxxxxxx>, method=PLAIN, rip=127.0.0.1,
> lip=127.0.0.1, secured, session=<PV7GF6cM3wB/AAAB>
>
> the error squirrelmail shows is : connection dropped by imap server. query
> logout.

Looks fine - standard Dovecot response.  I just tested here and
SquirrelMail reports the correct message to the user based on the same
response.  You'll have to dig around and see why your installation of
Dovecot is dropping when talking to SquirrelMail.  Maybe tcpdump or
ngrep will help you.  Make sure there's no proxy in the middle.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux