8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Using Keywords
FromSent OnAttachments
Paul WilsonJan 19, 2006 7:10 am 
Devin RubiaJan 19, 2006 8:33 am 
Paul WilsonJan 19, 2006 9:05 am 
Paul WilsonJan 19, 2006 9:36 am 
Devin RubiaJan 19, 2006 11:38 am 
Sam VarshavchikJan 19, 2006 3:51 pm 
Paul WilsonJan 20, 2006 8:14 am 
Sam VarshavchikJan 20, 2006 4:42 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Using KeywordsActions...
From:Devin Rubia (dev@thezone.net)
Date:Jan 19, 2006 8:33:00 am
List:net.sourceforge.lists.courier-maildrop

On Thu, Jan 19, 2006 at 08:14:04AM -0700, Paul Wilson wrote:

For the past week I've been writing an application to automate the creation of rulesets for my company, which has for the most part gone very well using maildrop. Unfortunately, I have run into a stumbling block which I haven't been able to resolve, and there do not appear to be any useful discussions in the list that I managed to find.

I am trying to use the KEYWORDS variable to set messages as seen/read, and to a lesser extend to have a method to automatically delete them. From reading the manpages for maildropfilter, and imapd, it seems that setting the KEYWORDS variable such as: KEYWORDS="\Seen" or KEYWORDS="\Deleted"

and then using a 'to' or 'cc' command should take care of the problem. Unfortunately, this has not worked successfully yet (in thunderbird the messages do not change, and nothing appears in the courierimapkeywords directory). I've tested the imap server and it accepts the commands, as documented in the imapd manpage. I've tried the latest version of maildrop, although the server came installed with 1.6.3 (yes, very old) and both have the same result. I've tried escaping the backslash, different cap styles, quotes/no quotes... etc... to no avail. I've also tried using different keywords, and while they work through a telnet session to the imap server, they have not worked using the KEYWORDS variable in maildrop.

Could someone on the list point out what stupid thing I'm missing, because I'm truely dumbfounded at this point?

Are you using maildir? If so, then the status of the message is stored in the filename, not in the file. See http://cr.yp.to/proto/maildir.html in the section "What can I put in info?" to see the status format.

That said, I don't think there is any way to directly access or manipulate those flags from within Maildrop.