squirrelmail error message issue.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

squirrelmail error message issue.

Rajesh M-3
hi

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.

can somebody please let me know the reason for this ?

rajesh


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Reply | Threaded
Open this post in threaded view
|

Re: squirrelmail error message issue.

Paul Lesniewski
On 11/23/14, Rajesh M. <[hidden email]> wrote:

> hi
>
> 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 Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Reply | Threaded
Open this post in threaded view
|

Re: squirrelmail error message issue.

Rajesh M-3
In reply to this post by Rajesh M-3
----- Original Message -----
From: Paul Lesniewski [mailto:[hidden email]]
To: [hidden email]
Sent: Sun, 23 Nov 2014 12:19:10 -0800
Subject: Re: [SM-USERS] squirrelmail error message issue.

On 11/23/14, Rajesh M. <[hidden email]> wrote:

> hi
>
> 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 Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

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 "[hidden email]"
Nov 25 08:47:46 imap-login: Info: Aborted login (auth failed, 1 attempts in 2 secs): user=<[hidden email]>, 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=<"[hidden email]">, 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

rajesh


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Reply | Threaded
Open this post in threaded view
|

Re: squirrelmail error message issue.

Paul Lesniewski
>> hi
>>
>> 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 "[hidden email]"
> Nov 25 08:47:46 imap-login: Info: Aborted login (auth failed, 1 attempts in
> 2 secs): user=<[hidden email]>, 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=<"[hidden email]">, 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 [hidden email] 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.

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

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users