This is a patch to enable fail safe feature for mailfront
This plugin scans messages against a SpamAssassin
The original message is replaced with the rewritten message sent by the scanner, which will contain the results of
the SpamAssassin scan in the headers. This plugin can communicate with a scanner over TCP/IP or local UNIX domain sockets.
This plugin causes mailfront to save messages to temporary files.
When the SpamAssassin server is unavailable, this plugin will defer all mails at SMTP delivery including authorized users
until the SpamAssassin server is restored. This patch will give the system administrators the flexibility to enable
fail safe for this plugin by setting the environment variable SPAMD_FAILSAFE
. If this environment variable
is set and when the SpamAssassin server is unavailable, mails will be passed and warning messages will be logged.
1. Download the mailfront-1.16 source then unpack the source:
2. Then download my patch:
3. Patch the source:
4. Configure and compile and install as usual which I am not going to cover here.