Re: [SM-USERS] A plugin or patch to hide read messages?

2012-03-04 Thread Jari Fredriksson
3.3.2012 22:10, Paul Lesniewski kirjoitti:
> On Thu, Mar 1, 2012 at 12:48 PM, Jari Fredriksson  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.



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@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] A plugin or patch to hide read messages?

2012-03-04 Thread Jari Fredriksson
3.3.2012 22:10, Paul Lesniewski kirjoitti:
> 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";

That returned a server error

ERROR: Could not complete request.
Query: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS
(Date To Cc From Subject X-Priority Importance Priority Content-Type)])
Reason Given: Error in IMAP command received by server.

I'm using Courier IMAP server.

-- 

Your business will go through a period of considerable expansion.



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@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] A plugin or patch to hide read messages?

2012-03-04 Thread WJCarpenter
I suppose you have thought of this and don't want to do it this way ... 
but have you considered just moving your read messages to a folder other 
than INBOX?


--
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@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] IMAP Problem with Strato

2012-03-04 Thread hamees
Is there an easy way to get rid of the following error message? Disable check 
or something?

Body retrieval error. The reason for this is most probably that the message is 
malformed.
Command:FETCH 772 BODY[1]
Response:   OK
Message:FETCH complete
FETCH line: * 6 FETCH (FLAGS (\Seen) UID 772)

I get it each time I open a new mail in the squirrelmail frontend.
Server is: imap.strato.de

Cheers,
John


-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!  

Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

--
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@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users