summaryrefslogtreecommitdiff
path: root/usr.sbin/spamdb
AgeCommit message (Collapse)Author
2008-05-17If the -T or -t flag is given, the key must be an email address so checkTodd C. Miller
that it contains an @ sign. Prompted by jmc@, OK beck@.
2007-05-31fix PR 5475: 'empty spamtrap address makes corrupted database'; ok beck@Constantine A. Murenin
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-04document correctly WHITE format; ok beckJason McIntyre
fixes system/5432 from Ullrich 'Jason' Haag
2007-03-06minor tweak;Jason McIntyre
2007-02-27open the db read-only if we're only looking. ok millert@ beck@Otto Moerbeek
deraadt@
2007-02-26Error out if the -t or -T options are specified without -a or -d.Todd C. Miller
OK beck@
2007-02-23Make spamd include the HELO/EHLO identification string sent byBob Beck
the connecting hosts in the tuple key when greylisting. catches a few more bogus hosts and will let us trap based on HELO later. Changes spamdb(8) output to include the new field. ok deraadt@, jmc@
2007-02-23greytrapping improvementsBob Beck
1) remove requirement for <> around spamtrap addresses 2) add support for /etc/spamd/alloweddomains to specify suffixes for which any destinations that don't match get trapped various knf's by theo, feedback from jmc, millert, deraadt
2007-01-04 Using DB_BTREE for spamd is wrong, order is never requiredBob Beck
and the rebalancing really slags big databases. Make spamd use DB_HASH instead, and convert if the old type is noticed on startup. Testing by me, djm, ian, others ok deraadt@, millert@, djm@
2006-12-09better synopsis/usage and a couple wee fixes;Jason McIntyre
mostly ok beck
2006-12-09make spamdb take multiple add/delete arguments, thus making itBob Beck
much easier to do bulk add/deletes without opening and locking the database for each one. testing by scads of people on tech@ Ok deraadt@ jmc@
2006-04-12delintDavid Hill
ok beck@
2006-03-15Add missing function declarationsDavid Hill
Sprinkle some const OK beck@
2005-10-07give an example email address - this is important as we need to showJason McIntyre
angle brackets are necessary; better wording; from ray lai, who remembered to prod bob and i again when we forgot; ok beck@ in a slightly different incarnation;
2005-05-24Remove -ansi as that means expose only C89 interfaces.Todd C. Miller
2005-05-16- improve option descriptionsJason McIntyre
- note expected format of "key" - note that date -r may help understand spamdb output - spacing ok beck@
2005-03-12remove useless sentence;Jason McIntyre
ok beck@
2005-03-11freeaddrinfo() isn't needed on the error path from getaddrinfo().Bob Beck
ok claudio@
2005-03-11fix usage to reflect new reality, ok jmc@Bob Beck
2005-03-11"Greytrapping" for spamd - allow for spamd greylisting to maintainBob Beck
a list of spamtrap destination addresses in the spamd database. When a spamtrap address gets an attempted greylist delivery, blacklist the offending host for a day. Does not affect hosts already whitelisted. ok deraadt@, jmc@, dhartmei@ to get it in so it can be whacked on
2004-04-27getaddrinfo 4th arg has to be non-null. Gerard gerritsenJun-ichiro itojun Hagino
2004-04-26bzero hint before use.Jun-ichiro itojun Hagino
2004-04-25use '|' as field separator, not ':' - for future IPv6 supportJun-ichiro itojun Hagino
2004-04-19Remove unused stuff; give error message if the db cannot be openened; setOtto Moerbeek
exit code. ok beck@
2004-03-13- typosJason McIntyre
- new sentence, new line - tidy up a list
2004-03-11fix leak, found by Patrick Latifi <pat@eyeo.org>Bob Beck
ok millert@, dhartmei@
2004-03-11open O_RDONLY when listingBob Beck
ok millert@, dharmei@
2004-03-11Remove sync() calls that immediately precede databse close(). SinceTodd C. Miller
close() calls sync() itself the standalone sync() is a no-op. OK beck@
2004-03-01paranoia and cleanup, document output formatBob Beck
ok millert@
2004-02-27fix CFLAGS -IDavid Krause
ok deraadt@
2004-02-26don't double define PATH_SPAMD_DB - notice by pbBob Beck
2004-02-26paranoia; beck okTheo de Raadt
2004-02-26Add -g option for greylisting support for spamd. The greylisting techinqueBob Beck
originates from a paper by Evan Harris which can be found at http://projects.puremagic.com/greylisting/. This implementation makes spamd allow for non-blacklisted addresses to be treated as "greylisted". where they are tracked in a db file, and whitelisted by addition to a pf table when the same envelope from and to are retried from the same source IP address. Testing by many, ok deraadt@