> >> >> >> >> Hi all, > >> >> >> >> > >> >> >> >> The high priority symbol (!) not shown in my message list if I > >> >> >> recieve a > >> >> >> >> message with high priority set on. I use SM 1.4.10a on Mandriva > >> >> Linux > >> >> >> >> 2006 > >> >> >> >> x86_64. Any pointer? > >> >> >> > > >> >> >> > Using 1.4.11svn (not too far removed from 1.4.10a), I see the > >> "!" > >> >> mark > >> >> >> > clearly. You might look at the mail headers and if those are OK > >> >> >> > (X-Priority, Priority or Importance header should be "1" or "2" > >> or > >> >> >> > "high" or "urgent") and if so, ask Mandriva what changes they > >> made > >> >> to > >> >> >> > the code. > >> >> >> > > >> >> >> What code? > >> >> > > >> >> > Try SquirrelMail code? > >> >> > > >> >> >> I am using SM source and not Mandriva's package. > >> >> > > >> >> > Sorry, I missed that, read it as a Mandriva SM package. > >> >> > > >> >> >> 1.4.11svn? > >> >> > > >> >> > No, what you have is probably not different than 1.4.11 > >> >> > > >> >> >> hmmm. Do I need to test with it or is there any patch for this? I > >> >> don't > >> >> >> know whether this is a widely known bug or others don't care.. :P > >> >> > > >> >> > No bug that I know of. I'd guess that your message headers might > >> be > >> >> > borked. What was the user agent? What do the priority headers > >> look > >> >> > like? > >> >> > > >> >> This is one of the email header: > >> >> <snip> > >> >> User-Agent: SquirrelMail/1.4.10a > >> >> X-Priority: 1 (Highest) > >> >> Importance: High > >> >> Return-Path: aziera@xxxxxxx > >> >> MIME-Version: 1.0 > >> >> Content-Type: text/plain; charset=iso-8859-1 > >> >> Content-Transfer-Encoding: 8bit > >> >> X-DBMail-PhysMessage-ID: 149810 > >> >> > >> >> As u can see that the X-Priority is correct but there's no ! symbol > >> in > >> >> message list. I use dbmail as the imap. > >> > > >> > I cannot reproduce. > >> > > >> > You might want to do a bit of debugging starting in > >> > functions/mailbox_display.php > >> > > >> > Anyone else seen this? > >> > > >> I got one email from gmail with this header which SM showed the ! sign > >> in > >> the message list: > >> > >> <snip> > >> from: xxxxx@xxxxxxxxx > >> to: zamri@xxxxxxxxxxxxxxxxxxxxx > >> x-priority: 1 > >> priority: urgent > >> importance: high > >> date: 22 Aug 2007 22:03:24 +0800 > >> subject: Malaysia Postcode System > >> Message-Id: <20070822021608.967FC38644@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> > >> X-Virus-Scanned: amavisd-new at kolejshahputra.edu.my > >> Return-Path: xxxxx@xxxxxxxxx > >> MIME-Version: 1.0 > >> Content-Type: text/html; charset=us-ascii > >> content-transfer-encoding: quoted-printable > >> X-DBMail-PhysMessage-ID: 150351 > >> > >> As u can see above, the x-priority is all in small letters. Does it make > >> any difference? > > > > No, it should not. Especially give that your sample above was > > generated by SM itself. I have a test message with the same header > > and it shows just fine. > > > >> Does priority: urgent take into account to show the ! > >> sign? > > > > Yes. Here is the critical code: > > > > function parsePriority($sValue) { > > $aValue=preg_split('/\s/',trim($sValue)); > > $value = strtolower(array_shift($aValue)); > > if ( is_numeric($value) ) { > > return $value; > > } > > if ( $value == 'urgent' || $value == 'high' ) { > > return 1; > > } elseif ( $value == 'non-urgent' || $value == 'low' ) { > > return 5; > > } > > return 3; > > } > Thanks for pointing me the code. It seems that X-Priority: didn't get > parsed correctly by SM. Don't u think so? No. It works fine for me. > FYI, I also use a sieve filter > (with sieve plugin) to filter out messages based on certain criteria. DO > u think it has something to do with this? Dunno, seems unlikely. You need to debug. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx 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