Next: , Up: sieve interpreter


3.9.1.1 Invoking sieve

The sieve invocation syntax is:

     sieve [options] script

where script denotes the filename of the sieve program to parse, and options is one or more of the following:

-c
--compile-only
Compile script and exit.
--clear-library-path
--clearpath
Clear Sieve library path. See also clear-library-path.
--clear-include-path
Clear Sieve include path. See also clear-include-path.
-d[flags]
--debug[=flags]
Specify debug flags. The flags argument is a sequence of one or more of the following letters:

gEnable main parser traces
TEnable mailutils traces
PTrace network protocols
tEnable sieve trace
iTrace the program instructions

-D
--dump
Compile the script, dump disassembled code on standard output and exit.
-e address
--email address
Override the user email address. This is useful for reject and redirect actions. By default, the user email address is deduced from the user name and the full name of the machine where sieve is executed. See also email.
-I dir
--includedir=dir
Append directory dir to the list of directories searched for include files. See also include-path.
-f
--mbox-url=mbox
Mailbox to sieve (defaults to user's system mailbox). See also mbox-url.
-k
--keep-going
Keep on going if execution fails on a message. See also keep-going.
-L dir
--libdir=dir
Append directory dir to the list of directories searched for library files. See also library-path.
-n
--no-actions
Dry run: do not execute any actions, just print what would be done.
-t ticket
--ticket=ticket
Ticket file for mailbox authentication. See also ticket.
-v
--verbose
Log all actions executed. See also verbose.