summaryrefslogtreecommitdiff
path: root/libexec/spamd/grey.c
AgeCommit message (Expand)Author
2018-10-25When spamd(8) runs in greylist mode in the parent process (which runsRicardo Mestre
2017-10-18Make blacklist entries override the whitelist. When running spamdTodd C. Miller
2016-10-20- Remove useless var assignmentRicardo Mestre
2016-03-25- Both checks for pw are not needed since it was already done at the start ofmestre
2015-12-10tighten the pledge for spamd, from Ricardo Mestre <serial@helheim.mooo.com>Bob Beck
2015-12-08Initially pledge spamdBob Beck
2015-11-29Document that the pfdev check for 63 is /dev/fd/ only contains those nodesTheo de Raadt
2015-05-18Change spamd to use divert-to instead of rdr-to.Reyk Floeter
2015-01-13Use address-family specific lists of addr/mask entries instead ofTodd C. Miller
2014-11-23Delete a bunch of unnecessary #includesPhilip Guenther
2014-10-09obvious reallocarray() conversionsTheo de Raadt
2013-11-27unsigned char for ctypeTheo de Raadt
2013-11-19add a bunch of missing prototypesTheo de Raadt
2013-08-21Remove the use of time_t in the greylist db file and use int64_t insteadTodd C. Miller
2012-10-02while it's of little harm, it's also been 5.5 years (and 8 releases),Okan Demirmen
2011-03-03repair arguments passed to pfctl; PR 6142, ok beckTheo de Raadt
2010-10-06do not pass GREY entries to pf's spamd-white table if already TRAPPED.Stephan A. Rickauer
2010-01-11KNFBob Beck
2009-11-12malloc() after line length check, to avoid memory leak; ok teduTheo de Raadt
2009-04-20PR 6090 - from Olli Hauer <ohauer@gmx.de>Bob Beck
2009-02-25fix slow memory leak, spotted by Max Laier and Artis CauneBob Beck
2008-12-07time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_tChad Loder
2008-08-26Fix an if (); typo. ok beck@Jonathan Gray
2008-07-11write a syslog debug message when a new GREY or TRAPPED entry is addedReyk Floeter
2008-07-11greyreader() shouldn't return, so tell us if it doesPeter Hessler
2007-11-03PR 5621 - spamd doesn't clear the last entry from an empty TRAP list,Bob Beck
2007-08-16- Don't fill spamd debug with bogus config errors if there are noRay Lai
2007-03-18Be sure to exit if the db_open of the second db for conversion fails.Bob Beck
2007-03-16now that we leave the grey, avoid annoying re-adds of white entriesBob Beck
2007-03-14when using low prio MX trapping, ignore hosts connecting to the low prioBob Beck
2007-03-14Don't delete grey entries when whitelisting. They expire anywayBob Beck
2007-03-12log when we trap a host.Bob Beck
2007-03-06Add -M option to specify a local address that is a lower priority MXBob Beck
2007-03-05don't make everything a sync once we see one, reset this onceBob Beck
2007-03-05spacingTheo de Raadt
2007-03-04bob writes some of the most horrid space and tab riddled messy code aroundTheo de Raadt
2007-03-04Database synchronizaton for spamd/spamlogdBob Beck
2007-02-23Make spamd include the HELO/EHLO identification string sent byBob Beck
2007-02-23make dequotetolower use regular string functions instead of the manualBob Beck
2007-02-23continue collecting lint to be sold as a parsley substitute; ok beckTheo de Raadt
2007-02-23spacingTheo de Raadt
2007-02-23greytrapping improvementsBob Beck
2007-01-04 Using DB_BTREE for spamd is wrong, order is never requiredBob Beck
2006-12-07check exit status of the pfctl command executed. ok beck@Otto Moerbeek
2005-05-15move db->close to not hold this lock unnecssarily during long protractedBob Beck
2005-03-12asprintf in place of strdup really is kind of lameBob Beck
2005-03-11"Greytrapping" for spamd - allow for spamd greylisting to maintainBob Beck
2004-12-04fix a signal race which could kill unrelated processes.Moritz Jodeit
2004-09-15ARGSUSED before signal handler with unused signoTheo de Raadt
2004-08-15Expire entries that exactly match the time now in addition to onesTodd C. Miller