Re: [SM-USERS] Squirrelmail, browsers show html code instead of interpreting it

2014-12-08 Thread Paul Lesniewski
On 12/4/14, Michael Peek  wrote:
> Hi guys,
>
> I'm hoping this is an easy fix.  I've tried installing Squirrelmail from
> both the distribution's repository and from the downloaded latest stable
> release, and I get the same problem either way.  When I point my browser
> at Squirrelmail, I get this: http://i.imgur.com/qSHWIfm.png.  The
> browser is showing HTML code rather than interpreting it.  This is true
> for Google Chrome, Firefox, and Internet Explorer.

That's because your server's PHP installation is borked.  Make sure
PHP is installed and correctly configured.

> Squirrelmail versions: 1.4.22 (downloaded), and 2:1.4.23~svn20120406-2
> (from Ubuntu 14.04 repository)
> Plugins: none
> PHP: 5.5.9-1ubuntu4.5
> Web server: Apache 2.4.7-1ubuntu4.1
> IMAP server: Courier 4.10.0-20120615-1ubuntu3
> SMTP server: Exim 4.82-3ubuntu2
> OS and Distro: Linux catus 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13
> 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux -- Ubuntu 14.04.1
> Browsers: Chrome 39.0.2171.71-1, Firefox 34.0+build2-0ubuntu0.14.04.1,
> IE 11.0.9600.17239
> Error messages: [From configtest]: ERROR: You have enabled mbstring
> overloading. It can cause problems with SquirrelMail scripts that rely
> on single byte string functions.

-- 
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: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] squirrelmail error message issue.

2014-12-08 Thread 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 "x...@yyy.com"
> Nov 25 08:47:46 imap-login: Info: Aborted login (auth failed, 1 attempts in
> 2 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
> secured, session=
>
> 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=<"x...@yyy.com">, 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 x...@yyy.zzz w
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: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users