Hi Everyone,

I've having problems with SquirrelMail and Courier-IMAP.
And wonder if anyone has had a similar experience, or could help?

In fact, I'm having the same problems as reported by another user (Artem) on the SquirrelMail web site here:

http://www.squirrelmail.org/wiki/en_US/SquirrelMailAndCourierIMap

After logging onto Squirrel with a valid username/password, the main window shows the following error:

"Unknown response from IMAP server:1.Array0"

And displays no messages and an empty drop down folder lists.

The apache error log shows:

PHP Notice: Array to string conversion in /usr/share/squirrelmail/functions/imap_messages.php on line 516, referer: https://MYDOMAIN/src/left_main.php PHP Notice: Undefined index: flags in /usr/share/squirrelmail/functions/imap_mailbox.php on line 485, referer: https://MYDOMAIN/src/left_main.php PHP Warning: in_array(): Wrong datatype for second argument in /usr/share/squirrelmail/functions/imap_mailbox.php on line 485, referer: https://MYDOMAIN/src/left_main.php PHP Notice: Undefined index: unformatted in /usr/share/squirrelmail/functions/imap_mailbox.php on line 486, referer: https://MYDOMAIN/src/left_main.php PHP Notice: Undefined index: unformatted-disp in /usr/share/squirrelmail/functions/imap_mailbox.php on line 507, referer: https://MYDOMAIN/src/left_main.php PHP Warning: Illegal offset type in /usr/share/squirrelmail/functions/mailbox_display.php on line 815, referer: https://MYDOMAIN/src/left_main.php PHP Warning: Illegal offset type in /usr/share/squirrelmail/functions/mailbox_display.php on line 815, referer: https://MYDOMAIN/src/left_main.php PHP Warning: Illegal offset type in /usr/share/squirrelmail/functions/mailbox_display.php on line 815, referer: https://MYDOMAIN/src/left_main.php PHP Warning: Illegal offset type in /usr/share/squirrelmail/functions/mailbox_display.php on line 815, referer: https://MYDOMAIN/src/left_main.php PHP Warning: Illegal offset type in /usr/share/squirrelmail/functions/mailbox_display.php on line 815, referer: https://MYDOMAIN/src/left_main.php PHP Notice: Undefined index: FROM in /usr/share/squirrelmail/functions/mailbox_display.php on line 82, referer: https://MYDOMAIN/src/left_main.php PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/share/squirrelmail/functions/mailbox_display.php on line 99, referer: https://MYDOMAIN/src/left_main.php PHP Notice: Undefined index: SUBJECT in /usr/share/squirrelmail/functions/mailbox_display.php on line 186, referer: https://MYDOMAIN/src/left_main.php
[snip]

My squirrel config is:

$domain                 = '';
$imapServerAddress      = 'localhost';
$imapPort               = 143;
$useSendmail            = true;
$smtpServerAddress      = 'localhost';
$smtpPort               = 25;
$sendmail_path          = '/usr/sbin/sendmail';
$pop_before_smtp        = false;
$imap_server_type       = 'courier';
$invert_time            = false;
$optional_delimiter     = '.';

$default_folder_prefix          = 'INBOX';
$trash_folder                   = 'Trash';
$sent_folder                    = 'Sent';
$draft_folder                   = 'Drafts';
$default_move_to_trash          = true;
$default_move_to_sent           = true;
$default_save_as_draft          = true;
$show_prefix_option             = false;
$list_special_folders_first     = true;
$use_special_folder_color       = true;
$auto_expunge                   = true;
$default_sub_of_inbox           = false;
$show_contain_subfolders_option = false;
$default_unseen_notify          = 2;
$default_unseen_type            = 1;
$auto_create_special            = false;
$delete_folder                  = true;
$noselect_fix_enable            = false;
[snip]

(I have tried several combinations of delimiter and prefix)

I have checked that the IMAP server is working using telnet.

I have searched the Squirrelmail website and the mailing lists, and have found no answers. Although, on similar case was solved by switching off the a php accelerator. I tried this (I was using mmcache) but it made no difference.

My system is Fedora Core 2 with Plesk 7.5 reloaded.

I've been using RPMS from atomic rocket turtle, which are supposed to be plesk friendly - www.http://www.atomicrocketturtle.com.

squirrelmail    1.4.4-4.rhfc2.art
httpd           2.0.51-2.9
courier-imap    3.0.8-fc2.build75041208.20
psa-qmail       1.03-fc2.build75041208.20

And my problems are with the RPMS fresh out of the box - no plugins, mods, etc.

I have set-up squirrel on Mandrake 9.1 before without any problems, so I am not a complete newbie. None-the-less, this one has me stumped.

So, any help/thoughts would be greatly appreciated!

Thanks,
--
Adrian Keeling-Look


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
--
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

Reply via email to