Quoting Sander Smeenk ([EMAIL PROTECTED]): > Okay, so, on random moments my users report seeing the message: > PHP Notice: Undefined offset: 1 in [path]/plugins/filters/filters.php on line 280
> It looks like the data returned by the IMAP server fails some expected > format, since it fails in a call to explode() on $read[], and $read > holds the result of an imap connection... Still no answer, and i'm still having this problem. Both on BSD and on Linux systems, both running on Courier though. I hacked around a bit to have the code show me the result it got from the IMAP server. Somehow, it indeed fails the expected format, as I stated in my earlier message. Has anyone running courier seen this before? I put this in filters.php at line 279: | if (!$read[$r]) { | error_log("AA-dump : imap:$imap, search_str:$search_str, response:$response, message:$message, uid_supp:$uid_support"); | error_log("AA-offset: $r"); | error_log("AA-count : ".count($read)); | | $foo = "AA-string: "; | for ($r=0, $num = count($read); $r < $num; $r++) { | $foo .= $read[$r]; | } | error_log("$foo"); | } Which gave me the following information: | [client x] AA-dump : imap:Resource id #51, search_str:SEARCH CHARSET ISO-8859-1 UNSEEN To [EMAIL PROTECTED], response:OK, message:SEARCH done., uid_supp:1 | [client x] AA-offset: 1 | [client x] AA-count : 1 | [client x] AA-string: * 274 FETCH (FLAGS (\\Deleted \\Recent))\r\n Can anyone see/tell why this gets returned, instead of the expected string that should contain something like '* SEARCH' ? Maybe i'd take this to squirrelmail-devel... The source says something about emailing someone directly at 'the addres shown above', but no address is shown ;) Regards, Sander. -- | Chinese proverb: Man who stand on toilet is high on pot | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php -- 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