Node:Extensions, Next:Writing Loadable Commands, Previous:Input Language, Up:libsieve
This section summarizes the GNU extensions to the sieve language
require statement.
require appears
after a command other than require. The GNU sieve library allows
interspersing the require and other statements. The only
requirement is that require must occur before a statement that is
using the required capability (see Require Statement).
header test
The header takes an optional argument :mime, meaning to
scan the headers from each part of a multipart message.
size test
The size test allows to omit the optional argument
(:over|:under). In this case exact equality is assumed.
envelope test
The only value that can be meaningfully used as the first required
argument of an envelope test is from. This limitation
may disappear from the subsequent releases.
Along with the usual :is, :matches and contains
matching type, GNU sieve library understands :regex type. This
matching type toggles POSIX Extended Regular Expression matching.