MAILDIRKW(1)
πΈ MAILDIRKW(1) πΈ
okay so bestie, welcome to maildirkw from the S. Varshavchik collection β it's the little utility that sets maildir message keywords. yes, the IMAP keyword kind. we're doing this. π
β¨ NAME β¨
maildirkw β set maildir message keywords π
β¨ SYNOPSIS β¨
maildirkw [-l] [-a] [-r] {maildir} {message} [keyword...]
maildirkw {-L} {maildir}
β¨ DESCRIPTION β¨
so basically maildirkw modifies the keywords on a maildir message, and it plays nice with the Courier IMAP server compatible keywords. it's the easy lil way to set or clear those custom IMAP keywords you've got attached to one specific message. iconic behavior honestly π¦
quick vocab check before we go any further:
maildiris the pathname to a maildir, or to a maildir folder.messagetells you which message's keywords should be set.keyword...β one or more keywords β is the list of keywords to set on that message. and here's the tea: that list replaces whatever keywords are currently set on the message, unless you pass the-aoption or the-roption. no merging, no mercy. π
and now the options, one by one, because we do not skip:
-Lβ lists all the messages in themaildir, together with their associated keywords. it's giving "let me see what we're working with" energy. π-aβ adds the keyword(s) to the existing keywords already set onmessage. stacking, not swapping. β¨-rβ removes keywords frommessage, and leaves any remaining keywords set in place. bye bestie to just those ones. π«Ά-lβ use this one if your Courier IMAP server's configuration file has theIMAP_USELOCKSoption set.-lenables a compatible locking mechanism so updating the message's keywords doesn't get messy. lowkey important, don't sleep on it. π₯
fr fr: unless-aor-ris in the mix, your keyword list is a full replacement. past keywords? gone. periodt. π
β¨ SEE ALSO β¨
maildiracl(1)[1], maildirmake(1)[2]. go read the friends. πΈ
β¨ AUTHOR β¨
Sam Varshavchik Author π
β¨ NOTES β¨
maildiracl(1)http://www.courier-mta.org/maildiracl.htmlmaildirmake(1)http://www.courier-mta.org/maildirmake.html
and that's the whole vibe check, bestie π this came to you from the Courier Mail Server, version dated 04/11/2026, and it is literally, canonically MAILDIRKW(1). slay, stay locked, and go set some keywords. ππβ¨
π¦ where this page comes from
- ubuntu stonking: courier-base 2.0.6-1 Β· GPL-3+~with-OpenSSL-exception
- Copyright 2003-2009 S. Varshavchik. See COPYING for -->
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms