General-Purpose Mail Filter
If you are upgrading from version 1.x to 2.0, you will have to do the following:
prog envfrom do … done
See Handlers, for more information about the
ratestatements, convert them to function calls (see rate), using the following scheme:
Old statement: if rate key limit / expr New statement: if rate(key, interval("expr")) > limit
rate $f 180 / 1 hour 25 minutes
rate($f, interval("1 hour 25 minutes")) > 180
mailfromd --compact --all
This is necessary since the format of
has changed in version 2.0: the key field now includes the trailing
‘NUL’ character, which is also reflected in its length. This
allows for empty (zero-length) keys. See Database Maintenance, for
more information about the database compaction.
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.