SIEVE-DUMP(1)
π SIEVE-DUMP(1) β bestie edition
okay so real quick, this page lives in the Dovecot manual, and it's all about sieve-dump. buckle up π
β¨ NAME β¨
sieve-dump β Pigeonhole's Sieve script binary dump tool. yes that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
sieve-dump [options] sieve-binary [out-file]
π DESCRIPTION π
so sieve-dump is part of Pigeonhole (pigeonhole(7)), which is the thing that adds Sieve (RFC 5228) and ManageSieve (RFC 5804) support to Dovecot (dovecot(1)). iconic behaviour tbh.
here's the tea: Sieve binaries β the ones that get produced by stuff like sievec(1) β can be transformed by sieve-dump into a human-readable textual representation. and like, that's actually so useful, because it gives you real insight into how the Sieve script is being executed. it's also especially handy for looking at corrupt binaries, which can happen from bugs in the Sieve implementation (π rip). but bestie, heads up: this tool is intended mainly for development purposes, so normally system administrators and users will not need to use it. it's giving internal-dev-tool energy, fr fr.
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, and each of those can contain arbitrary data. for the base language implementation, two blocks are used:
- the first one contains a specification of all required language extensions
- the second one contains the main Sieve program
compiled Sieve programs are represented as flat byte code, which means 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 that were used when compiling the binary. no cap. π
β OPTIONS β
-cconfig-file β alternative Dovecot configuration file path. ποΈ-Dβ enable Sieve debugging. turn it on when you wanna see everything, bestie π-hβ produce per-block hexdump output of the whole binary instead of the normal human-readable output. raw bytes mode, so crunchy π-osetting=value β overrides the configuration setting from/etc/dovecot/dovecot.confand from the userdb with the given value. in order to override multiple settings, the-ooption may be specified multiple times. stack 'em up π«Ά-uuser/mask β run the command only for the given user. it's also possible to use'*'and'?'wildcards (e.g.-u *@example.org). wildcard slay β¨-xauth_info β auth_info specifies additional conditions for the user command. the auth_info option string has to be given asname = valuepair. for multiple conditions the-xoption could be supplied multiple times.
possible names for the auth_info are:
serviceβ the service for which the userdb lookup should be tested. the value may be the name of a service, commonly used with Dovecot. for example:imap,pop3orsmtp.sessionβ session identifier.lipβ the local IP address (server) for the test.ripβ the remote IP address (client) for the test.lportβ the local port, e.g.143rportβ the remote port, e.g.24567real_lipβ the local IP to which the client connected on this host.real_ripβ the remote IP where client connected from to this host.real_lportβ the local port to which client connected to to this host.real_rportβ the remote port from where the client connected from to this host.forward_<field>β field to forward as%{forward:field}to auth process.
π ARGUMENTS π
- sieve-binary β specifies the Sieve binary file that needs to be dumped. this one's the main character, you literally cannot skip it π
- out-file β specifies where the output must be written. this argument is optional. if omitted, the output is written to
stdout. so chill of it π
π EXIT STATUS π
sieve-dump will exit with one of the following values:
0β dump was successful. (EX_OK,EXIT_SUCCESS) we love to see it π₯³1β operation failed. this is returned for almost all failures. (EXIT_FAILURE) the sad path π64β invalid parameter given. (EX_USAGE) you typed something weird bestie π
π§ FILES π§
/etc/dovecot/dovecot.confβ Dovecot's main configuration file./etc/dovecot/conf.d/90-sieve.confβ Sieve interpreter settings (included from Dovecot's main configuration file)
π₯ REPORTING BUGS π₯
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β©
okay so genuinely: include that doveconf -n output. the devs need it and skipping it is a crime π
π¦ SEE ALSO π¦
dovecot(1), dovecot-lda(1), sieve-filter(1), sieve-test(1), sievec(1), pigeonhole(7)
and that's the whole page, bestie π this build is tagged f00471c, dated August 2026, and it's from the Dovecot crew. go dump some binaries and stay hydrated π«Άβ¨
π¦ where this page comes from
- alpine 3.23: dovecot-doc 2.4.5-r0 Β· MIT AND LGPL-2.1-or-later
- alpine 3.24: dovecot-doc 2.4.5-r0 Β· MIT AND LGPL-2.1-or-later
- arch rolling: pigeonhole 2.4.5-1 Β· LGPL-2.1-only
- fedora 43: dovecot-pigeonhole 1:2.4.5-1.fc43 Β· MIT AND LGPL-2.1-only
- fedora 44: dovecot-pigeonhole 1:2.4.5-1.fc44 Β· MIT AND LGPL-2.1-only
- nixos 26.05: dovecot-pigeonhole 2.4.5
- nixpkgs unstable: dovecot-pigeonhole 2.4.5
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms