General-Purpose Mail Filter
An assignment is a special statement that assigns a value to the variable. It has the following syntax:
set name value
where name is the variable name and value is the value to be assigned to it.
Assignment statements can appear in any part of a filter program.
If an assignment occurs outside of function or handler definition,
the value must be a literal value (see Literals). If it
occurs within a function or handler definition, value can be any
mailfromd expression (see Expressions). In this
case, the expression will be evaluated and its value will be assigned
to the variable. For example:
set delay 150 prog envfrom do set delay delay * 2 … done
This document was generated on January 3, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.