Paul Wilson writes:
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.
I am curious as to exactly what part of the documentation led you to such a
conclusion.
The short answer is: no. This cannot be done in maildrop.
Unfortunately, this has not worked successfully yet (in thunderbird the
messages do not change, and nothing appears in the courierimapkeywords
directory).
And nothing will ever appear in courierimapkeywords directory for anything
relating to \Seen or \Deleted status flags.
I've tested the imap server and it accepts the commands, as
documented in the imapd manpage.
Correct.
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.
Exactly what part of maildrop's documentation led you to believe that you
can set IMAP message status flags, somehow, through maildrop? There is
absolutely no reference to IMAP, in any way, anywhere in maildrop's
documentation; nor is there any reference to any ability to set a message's
status flags, somehow.