search for: imap_stream

Displaying 2 results from an estimated 2 matches for "imap_stream".

2003 Sep 19
1
feature request: maildirquota
...ovecot is useless in my use (mail hosting with maildirquotas). Also QUOTA cabability in dovecot is needed to get to use my webmail plugins that use a001 CAPABILITY to get quota support. Courier imapd supports this. --snippet from quota usage plugin to squirrelmail-- function sqimap_get_quota ($imap_stream, $mailbox) { if (check_quota_capability($imap_stream, "QUOTA")) { fputs ($imap_stream, "a001 GETQUOTAROOT \"$mailbox\"\r\n"); $read_ary = sqimap_read_data ($imap_stream, 'a001', true, $result, $message); for ($i = 0; $i...
2005 Oct 31
3
Still corrupt indexes in 1A4
...tal protocol error in /usr/share/squirrelmail/functions/imap_general.php on line 93." Examining this file this line is in function: --------SQUIRRELMAIL PHP SOURCE------------ /** * Custom fgets function: gets a line from the IMAP server, * no matter how big it may be. * @param stream imap_stream the stream to read from * @return string a line */ function sqimap_fgets($imap_stream) { $read = ''; $buffer = 4096; $results = ''; $offset = 0; while (strpos($results, "\r\n", $offset) === false) { if (!($read = fgets($imap_stream, $b...