Gnus development mailing list
 help / color / mirror / Atom feed
* marks in gnus / uw imapd: what marks / how to set?
@ 2003-08-03 23:51 John Owens
  2003-08-04  7:23 ` Simon Josefsson
  0 siblings, 1 reply; 10+ messages in thread
From: John Owens @ 2003-08-03 23:51 UTC (permalink / raw)


(Apologies if this gets accidentally posted twice.)

I'd like to migrate my mail from another mailer (VM) (which stores its
files in mbox format) and maintain as much information from VM's state
as possible, including "marks" (read, new, forwarded, replied, etc.).
Currently I am thinking I need to write a perl script to convert VM
mail to gnus-nnimap mail so that I can maintain these marks. (Other
suggestions gratefully accepted.)

VM seems to store all marks in a special header (X-VM-v5-data). VM
uses the following flags, which I'd like to move to gnus.

vm-new-flag vm-unread-flag vm-deleted-flag vm-filed-flag 
vm-replied-flag vm-written-flag vm-forwarded-flag vm-edited-flag 
vm-redistributed-flag 

I'm trying to figure out how gnus in conjunction with UW imapd stores
the same marks.

As far as I can tell, "Read" and "Old" flags are kept in Status and
"Deleted", "Flagged", "Answered" and "Draft" are in X-Status. So 

Status: RO
X-Status: DFAT

is the maximum amount of flags stored here?

Gnus seems to keep other keywords. Among them is a forwarded flag,
which is kept in X-Keywords as "gnus-forward". I haven't got anything
else to appear in this header yet. But there are other gnus flags:

gnus-replied mark - I presume this corresponds to Answered.

gnus-recent mark - I presume this corresponds to not-Old, but I don't
know how this works with gnus-unseen-mark.

gnus-cached-mark - No idea.

gnus-saved-mark - No idea. (Hopefully it is triggered when I copy a
message from a folder to another folder.)

Other flags? Distinction between "new" and "unread"? "edited"?
"redistributed"? 

Any suggestions as to how to move these flags over would be
appreciated. I figure perl is my best bet? Suggestions of a perl
module that lets me parse mail a message at a time from mbox format,
and mess with headers too, would be great.

JDO




^ permalink raw reply	[flat|nested] 10+ messages in thread
* marks in gnus / uw imapd: what marks / how to set?
@ 2003-08-03 20:36 John Owens
  0 siblings, 0 replies; 10+ messages in thread
From: John Owens @ 2003-08-03 20:36 UTC (permalink / raw)
  Cc: John Owens

I'd like to migrate my mail from another mailer (VM) (which stores its
files in mbox format) and maintain as much information from VM's state
as possible, including "marks" (read, new, forwarded, replied, etc.).
Currently I am thinking I need to write a perl script to convert VM
mail to gnus-nnimap mail so that I can maintain these marks. (Other
suggestions gratefully accepted.)

VM seems to store all marks in a special header (X-VM-v5-data). VM
uses the following flags, which I'd like to move to gnus.

vm-new-flag vm-unread-flag vm-deleted-flag vm-filed-flag 
vm-replied-flag vm-written-flag vm-forwarded-flag vm-edited-flag 
vm-redistributed-flag 

I'm trying to figure out how gnus in conjunction with UW imapd stores
the same marks.

As far as I can tell, "Read" and "Old" flags are kept in Status and
"Deleted", "Flagged", "Answered" and "Draft" are in X-Status. So 

Status: RO
X-Status: DFAT

is the maximum amount of flags stored here?

Gnus seems to keep other keywords. Among them is a forwarded flag,
which is kept in X-Keywords as "gnus-forward". I haven't got anything
else to appear in this header yet. But there are other gnus flags:

gnus-replied mark - I presume this corresponds to Answered.

gnus-recent mark - I presume this corresponds to not-Old, but I don't
know how this works with gnus-unseen-mark.

gnus-cached-mark - No idea.

gnus-saved-mark - No idea. (Hopefully it is triggered when I copy a
message from a folder to another folder.)

Other flags? Distinction between "new" and "unread"? "edited"?
"redistributed"? 

Any suggestions as to how to move these flags over would be
appreciated. I figure perl is my best bet? Suggestions of a perl
module that lets me parse mail a message at a time from mbox format,
and mess with headers too, would be great.

JDO



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-08-04 21:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-03 23:51 marks in gnus / uw imapd: what marks / how to set? John Owens
2003-08-04  7:23 ` Simon Josefsson
2003-08-04 14:09   ` John Owens
2003-08-04 15:07     ` Simon Josefsson
2003-08-04 16:39       ` John Owens
2003-08-04 17:51         ` Simon Josefsson
2003-08-04 18:08           ` John Owens
2003-08-04 21:03             ` Simon Josefsson
     [not found]           ` <16174.41574.488000.239166@ece.ucdavis.edu>
2003-08-04 21:00             ` Simon Josefsson
  -- strict thread matches above, loose matches on Subject: below --
2003-08-03 20:36 John Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).