Search K
Appearance
Appearance
sieve-dump [options] sieve-binary [out-file]
The sieve-dump command is part of Pigeonhole (pigeonhole(7)
), which adds Sieve (RFC 5228) and ManageSieve (RFC 5804) support to Dovecot (dovecot(1)
).
Using the sieve-dump command, Sieve binaries, which are produced for instance by sievec(1)
, can be transformed into a human-readable textual representation. This can provide valuable insight in how the Sieve script is executed. This is also particularly useful to view corrupt binaries that can result from bugs in the Sieve implementation. This tool is intended mainly for development purposes, so normally system administrators and users will not need to use this tool.
The format of the output is not explained here in detail, but it should be relatively easy to understand. The Sieve binaries comprise a set of data blocks, each of which can contain arbitrary data. For the base language implementation two blocks are used: the first containing a specification of all required language extensions and the second containing the main Sieve program. Compiled Sieve programs are represented as flat byte code and therefore the dump of the main program is a disassembly listing of the interpreter operations. Extensions can define new operations and use additional blocks. Therefore, the output of sieve-dump depends greatly on the language extensions used when compiling the binary.
Alternative Dovecot configuration file path.
Enable Sieve debugging.
Produce per-block hexdump output of the whole binary instead of the normal human-readable output.
Overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. In order to override multiple settings, the -o option may be specified multiple times.
Run the command only for the given user. It's also possible to use '*' and '?' wildcards (e.g. -u *@example.org).
auth_info specifies additional conditions for the user command. The auth_info option string has to be given as name = value pair. For multiple conditions the -x option could be supplied multiple times.
Possible names for the auth_info are:
sieve-dump will exit with one of the following values:
Report bugs, including doveconf -n output, to the Dovecot Mailing List dovecot@dovecot.org. Information about reporting bugs is available at: https://dovecot.org/bugreport.html
dovecot(1)
, dovecot-lda(1)
, sieve-filter(1)
, sieve-test(1)
, sievec(1)
, pigeonhole(7)