GNU Mailutils |
|
General-Purpose Mail Package |
Official GNU Software |
Preprocessor statements are a GNU extension to the Sieve language.
The syntax for a preprocessor statement is similar to that used in
C
programming language, i.e. a pound character (‘#’)
followed by a preprocessor directive and its arguments. Any amount of
whitespace can be inserted between the ‘#’ and the directive.
Currently implemented directives are include
and searchpath
.
The #include
directive reads in the contents of the given file.
The contents is “inserted” into the text being parsed starting at the
line where the directive appears. The directive takes two forms:
#include "filename"
The filename is taken relative to the current directory.
#include <filename>"
The filename is searched in the list of include directories as specified by the -I command line options.
If filename starts with a directory separator character (‘/’) both forms have the same effect.
The #searchpath
directive adds its argument to the list of
directories searched for loadable modules. It has the same effect
as library-path
Sieve configuration statement
(see library-path).
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.