I'm trying to sync mail from an IMAP server to a /var/spool/mail/mbox [1].
The problem is, that mail_append[_full] will allways add a
Status: O
to the mail, even if I pass an empty string to the function as "flags".
The problem with this is that the mutt MUA interprets Status: O as an old
message, that is != New message, which means that I'm unable to sync with
an IMAP server in a way that will enable mutt to see new messages. I
think mutt's behaveour is in accordance with RFC2076 which states that:
O message is old but not deleted.
That RFC also states that:
N new (a new message also sometimes is distinguished
by not having any "Status:" header.
If I could achieve either of:
* append a message with "Status: " without any flags
* append a message without a "Status:" header at all
* append a message with the flag "N" as in "Status: N"
then I'd be done, but it doesn't seem that c-client can do any of those
(?). If there is a way to achieve that I'd be glad if I could be pointed
to the relevant source/docu. Otherwise I'd like to know if such
functionality could be added to c-client?
*t
[1] mailsync.sf.net
--
-----------------------------------------------------------
Tomas Pospisek
SourcePole - Linux & Open Source Solutions
http://sourcepole.ch
Elestastrasse 18, 7310 Bad Ragaz, Switzerland
Tel: +41 (81) 330 77 11
-----------------------------------------------------------
--
------------------------------------------------------------------
For information about this mailing list, and its archives, see:
http://www.washington.edu/imap/c-client-list.html
------------------------------------------------------------------