POP3 retvied mails should be marked as read - how?

Ken Murchison murch at andrew.cmu.edu
Mon Oct 1 11:48:30 EDT 2007


Yann Rouillard wrote:
> Le dimanche 30 septembre 2007 à 11:39 +0300, Georgy Goshin a écrit :
>> Hello,
>>
>> Thanks for the answer but the answer was not do I need this or not, I've 
>> asked how to do it. I'll try to explain why I need this and I beleive that 
>> not only I am.
> 
> You're not, I opened a bug about this sometimes ago:
> https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2737
> 
> But I suppose this feature is not high priority for developper so if you
> really want it, you should try to offer a patch or find someone to do
> it.

Yeah, I would probably accept a well-written patch that implemented this 
as an option such as 'popmarkseen' or something.  My guess is that this 
would operate similar to DELE where RETR would set an internal flag on 
the message list, but the actual \Seen state would only be changed 
during QUIT.  RSET would clear the internal flags and NOT update \Seen 
state.

Doing the internal flag piece is trivial and would be the same as 
'deleted' in pop3d.c.  The hard part is actually updating \Seen state. 
All of the code that is needed can be extracted from index.c.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list