spamdb - spamd database tool
spamdb [-a ip] [-d ip]
spamdb manipulates the spamd database in /var/db/spamd used
for spamd(8)
greylisting.
The options are as follows:
-a ip Add or update a whitelist entry for IP address "ip".
Updates
time last seen to now.
-d ip Delete a whitelist entry for IP address "ip".
DATABASE OUTPUT FORMAT [Toc] [Back]
If invoked without any arguments, spamdb lists the contents
of the
database in a text format. The format is as follows:
type|source ip|from|to|first|pass|expire|block|pass
The fields are as follows:
type WHITE if whitelisted or GREY if greylisted
source ip IP address the connection originated from
from envelope-from address for GREY (empty for
WHITE entries)
to envelope-to address for GREY (empty for
WHITE entries)
first time the entry was first seen
pass time the entry passed from being GREY to
being WHITE
expire time the entry will expire and be removed
from the
database
block number of times a corresponding connection
received a
temporary failure from spamd(8)
pass number of times a corresponding connection
has been seen
to pass to the real MTA by spamlogd(8)
Note that times are in seconds since the Epoch, in the manner returned by
time(3).
/var/db/spamd
spamd.conf(5), spamd(8), spamd-setup(8)
The spamdb command appeared in OpenBSD 3.5.
OpenBSD 3.6 February 16, 2004
[ Back ] |