Commit Graph

5 Commits

Author SHA1 Message Date
dhartmei
0140c3047e update to 1.5, add some options to help expiring old entries, based
on feedback from bob:

- add last modification time to database
- add -m to filter on last modification time
- add -B and -W to filter on black and white counters
- add -d to delete entries

this allows things like

  relaydb -db -W 0 -m +30

deleting all blacklist entries with zero white counter that
haven't changed since more than a month.

Warning: the database format changed, requiring an export with
the old binary (relaydb -vl >text), deletion of the database
and re-import with the new binary (relaydb -i text).
2003-11-19 22:40:57 +00:00
dhartmei
b9eec1ae61 update to 1.4, match threshold calculation with man page (black > 3*white
for spam, not >=).
2003-10-06 09:33:53 +00:00
dhartmei
c77b3f234e Small update to 1.3:
- fix an off-by-one sscanf length argument (processing the local
    database, not external data), from Anil Madhavapeddy.
  - fix -b/-w confusion for the -r example in the man page,
    reported by several people.
2003-06-27 07:54:03 +00:00
dhartmei
4dc2ed6221 update to 1.2, adds switches -4/-6 to process only IPv4/IPv6 addresses,
and some small fixes.
2003-03-31 21:59:38 +00:00
lebel
f46c383e29 initial import for mail/relaydb-1.0:
--
relaydb is a mail header analyzer that builds a database of IP addresses
either known as legitimate senders or spammers.

relaydb doesn't itself classify mails as legitimate or spam, that deci­
sion needs to be reached through other means.  Neither does relaydb block
spam itself.  It merely provides a list of IP addresses to block through
other means, like spamd(8) and pf(4).

relaydb reads a single mail from stdin, analyzes the Received: header
lines and updates blacklist and whitelist counters for each IP address.

WWW: http://www.benzedrine.cx/relaydb.html

Initial version submitted to dhartmei@ who came back to me with this.
2003-01-24 21:07:05 +00:00