logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kopano-ibrule — Inbox rule inspection and manipulation utility

Description

       This  program  can  be used to inspect or change the so-called "inbox rules" of a user's inbox. This is a
       mechanism by which they can instruct kopano-dagent to, for example, move, copy,  forward,  or  reply  to,
       messages upon reception.

Name

       kopano-ibrule — Inbox rule inspection and manipulation utility

Options

-A (with rule-spec)
              Add a new rule to the inbox rules table.

       -Dseqno
              Delete the rule with the given sequence number.

       -P     Interactively prompt for the connection password.

       -S     Show the inbox rule table for the particular user.

       -hhost
              URI for a specific server to connect to and execute the action on.

       Default: default:

Rule Specification

       cond-spec := cond exists-rst

       exists-rst := exists proptag

       proptag := hex-value | message-class

       act-spec := act { delete | mark-as-read | copystoreguidfolderguid | movestoreguidfolderguid }

       rule-spec := seqnumber | cond-spec | act-spec | stop

Synopsis

kopano-ibrule [-AP] [-Dindex] [-S] [-hhost] [-uusername] [rule-spec...]

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

Kopano 8                                           2018-09-13                                   kopano-ibrule(1)

See Also