Sur 2006-03-29, Don Russell skribis:
Ruud H.G. van Tol wrote:
Don Russell schreef:
I want to assign "labels" to messages using a procmail recipe.
That means "storing keywords on the imap message on the imap server".
google: imap keywords procmail
Inside 1st hit: http://www.ii.com/internet/robots/procmail/qs/#keywords
See also maildirkw.
Thank you.... that looks exactly like what I want to do.... that's much
simpler than I was anticipating. :-)
I just did some experiments with this on a new system that I'm
setting up and discovered that you need to "seed" the
mbox-formatted mailbox with a message that contains the IMAP
keyword(s) that you want to use. That will ensure that the first
message in the mbox is a pseudo message that includes a header
like this:
X-IMAP: 1143223486 0000000047 $Label5
Do NOT try to create this header by hand. Instead use a decent
IMAP client and the IMAP protocol to assign keyword(s) to any
message in the target mailbox. To set keywords with Pine, see the
instructions here:
<http://www.ii.com/internet/messaging/pine/pc/#keywords>
Also note that this only works with UW IMAP (AFAIK).
Please post any questions or comments about this. I plan to
update this section of my Procmail Quick Start soon.
Thanks,
Nancy
--
Nancy McGough ~ <http://www.ii.com> ~ <http://deflexion.com>
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail