- src/delete_message.php script is disabled. It provided functions that
could be implemented without playing with multiple redirects.
- Remove lots of obsoleted code from left_main.php.
+ - Partial support of IMAP REFERRAL: do not fail on IMAP REFERRAL response
+ (RFC 2221) but log the user out with a hint. Patch by Ariel Arjona
+ (#1006242).
Version 1.5.0 - 2 February 2004
-------------------------------
RFC 2060 IMAP version 4rev1
RFC 2183 Content-Disposition MIME header
RFC 2195 IMAP/POP AUTHorize Extension for Simple Challenge/Response
+RFC 2221 IMAP4 Login Referrals
RFC 2298 Details return receipts
RFC 2342 The IMAP4 NAMESPACE command
RFC 2616 HTTP/1.1
exit;
}
}
+
+ /* Special error case:
+ * Login referrals. The server returns:
+ * ? OK [REFERRAL <imap url>]
+ * Check RFC 2221 for details. Since we do not support login referrals yet
+ * we log the user out.
+ */
+ if ( strpos($message, "REFERRAL") ) {
+ sqimap_logout($imap_stream);
+ set_up_language($squirrelmail_language, true);
+ include_once(SM_PATH . 'functions/display_messages.php' );
+ sqsession_destroy();
+ logout_error( _("Your mailbox is not located on this server.<br>".
+ "Try a different server or consult your Administrator") );
+ exit;
+ }
+
return $imap_stream;
}