[haiku-development] [GSoC proposal] IMAP FS - A few queries

  • From: Anshul Singhle <xashck@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 7 Apr 2011 14:04:31 +0530

I'm working on a proposal for IMAP FS - I have a few queries:
1. Synchronization : Does the mail daemon support synchronization like what
is described here :
http://support.mozillamessaging.com/zh-CN/kb/IMAP+Synchronization#Synchronization.
If yes, how does it work currently? AFAIK, it is supported as seen at
*src 
<http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/>/add-ons<http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/add-ons/>
/mail_daemon<http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/add-ons/mail_daemon/>
/inbound_protocols<http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/>
/imap<http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap/>
/imap_lib<http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/>
/IMAPStorage.cpp*

2. How does the existing mail daemon store headers and how does match header
work ? Are the headers stored separately? I looked at the source code and I
think the headers are stored as file attributes. Is that right? I looked at
the RuleFilter implementation and it uses a AddOnSettings object. I think
this is where the preferences for header filtering are stored.
Also, from what i gathered the code for storing headers is not is in the
IMAPStorage class. What is the reason for that?
I'm also having trouble stomaching the fact that the mail daemon can modify
file attributes. That kind of think is for the Filesystem right?  I'm
currently reading about filesystems so I could be wrong.

Other related posts: