3.3.2012 22:10, Paul Lesniewski kirjoitti: > On Thu, Mar 1, 2012 at 12:48 PM, Jari Fredriksson <jarif@xxxxxx> wrote: >> >> I tend to collect old email to my IMAP-server, and would like normally >> see them, when I browse for new mail. >> >> Email apps usually have a feature to hide read mail from screen, but I >> have not found such from SM... I'm using 1.4.21 from Debian repo. >> >> Is there something out there to get this functionality? > > The short answer is no. > > You can find the following around about line 160 in functions/imap_messages.php: > > $query = "SEARCH UID 1:$uidnext"; > > You could change it to: > > $query = "SEARCH UNSEEN UID 1:$uidnext"; > > Which forces the message list to only show unread messages, but this > is far from complete - you can't switch easily back and forth, it > creates numerous problems with the messages cache and pagination code, > you'd also want to do it for the other sort types on the page as well > as the search page, and follow up on any other PHP or other issues it > causes. None of this is to say it cannot be done, but the design > currently isn't too flexible in this regard. > Thanks! I may test this, as I am the only user of my server I could do that. That single query might do the trick for me, as - I normally want to see only new messages - If I do a search, I do it from old messages already seen (plus of course any unseen messages...) -- You will gain money by an illegal action.
Attachment:
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users