kopano-ibrule(1)

πŸ“¦ version 8.7.0, in ubuntu jammy

✨ NAME ✨

kopano-ibrule β€” the inbox rule inspection and manipulation utility, and yes bestie, this is the manual page for it (it lives in the Kopano Core user reference, if you were wondering).


🌸 SYNOPSIS 🌸

kopano-ibrule [-AP] [-D index] [-S] [-h host] [-u username] [rule-spec...]

πŸ’… DESCRIPTION πŸ’…

Okay so real talk: this program lets you peek at, or straight up change, the so-called "inbox rules" of a user's inbox. πŸŽ€

And what are inbox rules? It's the whole mechanism where a user can tell kopano-dagent to β€” for example β€” move, copy, forward, or reply to messages upon reception. Like a little robot butler for your mail. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -A (used with rule-spec) β€” adds a new rule to the inbox rules table. ✨
  • -D seqno β€” deletes the rule with the given sequence number. bye girl πŸ’€
  • -P β€” interactively prompts for the connection password. (It wants the tea, it asks for the tea.)
  • -S β€” shows the inbox rule table for the particular user. show me everything 🫢
  • -h host β€” URI for a specific server to connect to and execute the action on.

and then the page just… says this, unedited:

Default: default:

that's it, that's the whole default, no notes πŸ’€ (also, -u username is right there in the synopsis, the page doesn't give it its own little blurb β€” the examples below show how it's used.)


πŸ¦‹ RULE SPECIFICATION πŸ¦‹

Here's the grammar, verbatim, no cap:

cond-spec := cond exists-rst

exists-rst := exists proptag

proptag := hex-value | message-class

act-spec := act { delete | mark-as-read | copy store guid folder guid |
move store guid folder guid }

rule-spec := seq number | cond-spec | act-spec | stop

⭐ USAGE EXAMPLES ⭐

Log in and show table:

IBR_PASSWORD=xfoo kopano-ibrule -u foo -S

Marking all mails as read that were sent to oneself, and cease processing of rules afterwards:

IBR_PASSWORD=xfoo kopano-ibrule -u foo -A cond exists message-class
content received-from = kopano:foo ] act mark-as-read stop

and that's the whole page, bestie πŸ¦‹ This one comes from Kopano 8, dated 2018-09-13, and it's the kopano-ibrule(1) manual β€” go set up your rules, you absolute icon πŸ’–βœ¨

πŸ“¦ where this page comes from