MAILDIRKW(1)

πŸ“¦
version 2.0.6 Β· 3 versions
, in ubuntu stonking

🌸 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:

  • maildir is the pathname to a maildir, or to a maildir folder.
  • message tells 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 -a option or the -r option. no merging, no mercy. πŸ’€

and now the options, one by one, because we do not skip:

  • -L β€” lists all the messages in the maildir, 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 on message. stacking, not swapping. ✨
  • -r β€” removes keywords from message, 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 the IMAP_USELOCKS option set. -l enables a compatible locking mechanism so updating the message's keywords doesn't get messy. lowkey important, don't sleep on it. πŸ”₯
fr fr: unless -a or -r is 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 ✨

  1. maildiracl(1) http://www.courier-mta.org/maildiracl.html
  2. maildirmake(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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms