From: ullgren Date: Thu, 23 May 2002 09:33:40 +0000 (+0000) Subject: Added TZ-fix for cyrus and mac os x mailserver aswell since these have been reported. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=d50e52d10818c4543ce78f10d57f0cda2136d9af Added TZ-fix for cyrus and mac os x mailserver aswell since these have been reported. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2852 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/config/conf.pl b/config/conf.pl index 1b7e2766..7802bcfa 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -921,6 +921,7 @@ sub command19 { print " uw = University of Washington's IMAP server\n"; print " exchange = Microsoft Exchange IMAP server\n"; print " courier = Courier IMAP server\n"; + print " macosx = Mac OS X Mailserver\n"; print " other = Not one of the above servers\n"; print "[$WHT$imap_server_type$NRM]: $WHT"; $new_imap_server_type = ; diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 39e0a7ed..cfc49e00 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -420,7 +420,9 @@ function sqimap_get_small_header_list ($imap_stream, $msg_list, $issent) { if ($read_part{0} == '*') { if ($internaldate) { if (preg_match ("/^.+INTERNALDATE\s+\"(.+)\".+/iUA",$read_part, $reg)) { - if ($imap_server_type == 'courier') { + if ( ($imap_server_type == 'courier') + || ($imap_server_type == 'macosx') + || ($imap_server_type == 'cyrus') ) { /** If we use courier, * We need to reformat the INTERNALDATE-string **/