Scroll to navigation

SIEVE(1) User Commands SIEVE(1)


sieve - a mail filtering tool.


sieve [OPTION...] SCRIPT


GNU sieve -- a mail filtering tool.

compile script and exit
compile script, dump disassembled sieve code to terminal and exit
debug flags (defaults to "TPt")
treat SCRIPT as Sieve program text
override user email address
set sieve environment value
mailbox to sieve (defaults to user's mail spool)
keep on going if execution fails on a message
print source location along with action logs (default)
do not execute any actions, just print what would be done
do not prefix diagnostic messages with the program name
ticket file for user authentication
log all actions
set sieve variable
Global debugging settings
set Mailutils debugging level

--[no-]debug-line-info show source info with debugging messages

output logs to syslog FACILITY
use specified URL as the default mailer
Sieve options
clear Sieve include path
clear Sieve library path
append DIR to the list of directories searched for include files
append DIR to the list of directories searched for library files
add DIR to the beginning of the list of directories searched for library files
Configuration handling
load this configuration file; implies --no-config
check configuration file syntax and exit
verbosely log parsing of the configuration files
do not load site and user configuration files
do not load site-wide configuration file
do not load user configuration file
set configuration parameter
Informational options
show configuration file summary
show compilation options
-?, --help
give this help list
give a short usage message
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Sieve-specific debug levels:

trace1 - print parse tree before optimization trace2 - print parse tree after optimization trace3 - print parser traces trace4 - print tests and actions being executed trace9 - print each Sieve instruction being executed

Compatibility debug flags: g - main parser traces T - mailutils traces (same as --debug-level=sieve.trace0-trace1) P - network protocols (same as --debug-level=sieve.=prot) t - sieve trace (same as --debug-level=sieve.=trace4) i - sieve instructions trace (same as --debug-level=sieve.=trace9)


Report bugs to <>.
GNU Mailutils home page: <>
General help using GNU software: <>


Copyright © 2007-2019 Free Software Foundation, inc. License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.


The complete GNU mailutils documentation is maintained as a Texinfo manual. If the mailutils-doc package is installed, the command

info mailutils

should give you access to the complete manual.
You can also find this manual online in the GNU mailutils webpage:
Please note this manpage was automatically generated by the Debian mailutils packagers. Do not file bugs for its content to the GNU Mailutils upstream authors.

November 2020 FSF