SPAMD.CONF(5) - File Formats Manual # SPAMD.CONF(5) - File Formats Manual
NAME # spamd.conf - spamd-setup configuration file
DESCRIPTION # The spamd.conf file is read by spamd-setup(8) to configure blacklists for spamd(8). Blacklists are lists of addresses of likely spammers. Mail from these addresses never reaches the actual mail server, but is instead redirected to spamd(8) and tarpitted.
spamd.conf follows the syntax of configuration databases as documented in cgetent(3). Here is an example:
...
SPAMD(8) - System Manager’s Manual # SPAMD(8) - System Manager’s Manual
NAME # spamd - spam deferral daemon
SYNOPSIS # spamd [-45bdv] [-B maxblack] [-C file] [-c maxcon] [-G passtime:greyexp:whiteexp] [-h hostname] [-K file] [-l address] [-M address] [-n name] [-p port] [-S secs] [-s secs] [-w window] [-Y synctarget] [-y synclisten]
DESCRIPTION # spamd is a fake mail daemon which rejects false mail. It is designed to be very efficient so that it does not slow down the receiving machine.
...
SPAMDB(8) - System Manager’s Manual # SPAMDB(8) - System Manager’s Manual
NAME # spamdb - spamd database tool
SYNOPSIS # spamdb [-adGTt] [keys …]
DESCRIPTION # spamdb manipulates the spamd database in /var/db/spamd used for spamd(8).
The options are as follows:
-a
Add or update the entries for keys. This can be used to whitelist one or more IP addresses (i.e. circumvent the greylisting process altogether) by adding all IP addresses as keys to the spamd database for WHITE entries.
...
SPAMLOGD(8) - System Manager’s Manual # SPAMLOGD(8) - System Manager’s Manual
NAME # spamlogd - spamd whitelist updating daemon
SYNOPSIS # spamlogd [-DI] [-i interface] [-l pflog_interface] [-W whiteexp] [-Y synctarget]
DESCRIPTION # spamlogd manipulates the spamd(8) database in /var/db/spamd used for greylisting. spamlogd updates the /var/db/spamd whitelist entries whenever a connection to port 25 is logged to the pflog(4) interface. The source addresses of inbound connections are whitelisted when seen by spamlogd to ensure that their entries in /var/db/spamd do not expire if the connecting host continues to send legitimate mail.
...