General-Purpose Mail Filter
Before building this version, please re-read the chapter See Building, especially the section Using non-blocking syslog.
Starting from the version 4.0, MFL no longer uses the predefined symbolic names for exception codes (previous versions used the ‘&’ prefix to dereference them). Instead, it relies on constants defined in the include file status.mfh (see status.mf).
However, the script files from 3.1 series will still work, but the following warning messages will be displayed:
Warning: obsolete constant form used: &failure Warning: remove leading '&' and include <status.mfh> Warning: Using built-in exception codes is deprecated Warning: Please include <status.mfh>
Another important difference is that pragmatic options ‘ehlo’
and ‘mailfromd’ are now deprecated, as well as their command line
equivalents --ehlo and --domain. These options
became superfluous after the introduction of
ehlo_domain built-in variables. For compatibility with the
previous versions, they are still supported by
4.0, but a warning message is issued if they are used:
warning: `#pragma option ehlo' is deprecated, consider using `set ehlo_domain "domain.name"' instead
To update your startup scripts for the new version follow these steps:
#pragma option mailfrom valueto
set mailfrom_address value. Refer to mailfrom_address, for a detailed discussion of this variable.
#pragma option ehlo valueto
set ehlo_domain value. Refer to ehlo_domain, for a detailed discussion of this variable.
ismx, add the following line to the top of your script:
See Modules, for a detailed description of the module system.
match_cidr, add the following line to the top of your script:
See Modules, for a description of MFL module system.
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.