summaryrefslogtreecommitdiff
path: root/libexec/spamd
AgeCommit message (Collapse)Author
2007-02-27Flag day for spamd -Bob Beck
1) config files move to /etc/mail 2) -g option goes away in spamd-setup and spamd - greylisting is now the default 3) option change to spamd, -b addr becomes -l addr. 4) -b option in spamd-setup and spamd to turn on old blacklisting mode. Man page shortly to be flensed to make this easier to explain ok deraadt@ millert@
2007-02-25- HELO/EHLO is part of the tupleJason McIntyre
- remove misleading sentence ok millert
2007-02-25Attempt to clarify new greylisting rules.Todd C. Miller
2007-02-24When greylisting we don't actually need to use the <spamd> pf table.Todd C. Miller
We just do no-rdr for things in <spamd-white> and rdr the rest to spamdb. OK beck@
2007-02-24tweaks;Jason McIntyre
2007-02-23to_suffixes -> alloweddomains, that got missed, noticedBob Beck
by okan@demirmen.com
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-23make dequotetolower use regular string functions instead of the manualBob Beck
walk with mutiple conditions in the loop. ok deraadt@
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
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-07check exit status of the pfctl command executed. ok beck@Otto Moerbeek
2006-11-27Make spamd error out for a greylisted session only after the DATABob Beck
command not after the RCPT command, as this helps people out when they are faced with retarded sender verification schemes - tested out by a number of people on tech@, and running at u of a for a while. Supposedly this makes verizon sender verification happy. Suggested as a stable candidate by people on tech@, I'm ok with that.
2006-11-14improve previous;Jason McIntyre
2006-11-14clarify "maxcon" somewhat, particularly its upper limit;Jason McIntyre
from jared rr spiegel (pr #5292), tweaked somewhat;
2006-10-29use setresuid/gid and check for failure, ok bobHenning Brauer
2006-10-19no need to escape "'";Jason McIntyre
2006-10-17Make this easier for people who aren't aware of what shell they are running.Bob Beck
ok deraadt@
2006-09-29typo; from sthenJason McIntyre
2006-08-15-r only applies to blacklists. ok beck@Kjell Wooding
2006-05-15add an -h option to override the hostname that is reported in thejoshua stein
SMTP banner ok beck@
2006-03-14spamd can show the wrong IP address to clients in a %A message becauseBob Beck
the per-connection copy of the connecting address was being pointed to the on-stack copy. Spotted (and fix suggested) by Michael Durket in pr 5046 ok deraadt@
2005-12-01Spell "blacklisted" consistently.Tom Cosgrove
ok jmc@
2005-11-30some cleanups prompted by lint, no really nasty bugs; ok beckTheo de Raadt
2005-11-24missing full stop;Jason McIntyre
2005-11-12spacingTheo de Raadt
2005-08-06replace port number 8025 w/ symbolic `spamd';Jason McIntyre
ok krw@ deraadt@ diff from ray lai;
2005-08-04Fix handling of empty entries at the end of an address list; avoidsOtto Moerbeek
always skipping the last address. ok beck@
2005-05-24Remove -ansi as that means expose only C89 interfaces.Todd C. Miller
2005-05-23have to ignore SIGPIPE in the child too or a spammer can kill spamd just byMike Frantzen
closing the connection while we're trying to write to it
2005-05-17update FILES;Jason McIntyre
2005-05-17- describe start up betterJason McIntyre
- note that greylisting does stutter slightly - make clear role of spamdb and spamd.conf - few minor tweaks ok beck@
2005-05-15move db->close to not hold this lock unnecssarily during long protractedBob Beck
operations. ok millert@ ages ago.
2005-04-16missing getopt choice; from dennisTheo de Raadt
2005-04-14Make spamd stutter at greylisted connections for a short period before talkingBob Beck
full speed. By default do this for 10 seconds. Many spammers disconnect by then. Adds -S option to select the amount of time greylisted connections will be stuttered at. feedback from jmc@, deraadt@, ok deraadt@
2005-03-12asprintf in place of strdup really is kind of lameBob Beck
ok millert@
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
2005-01-19clarification; ok beckTheo de Raadt
2004-12-04fix a signal race which could kill unrelated processes.Moritz Jodeit
signal handler could be interrupted by another instance of itself because it was used for multiple signals and only one signal was blocked. ok beck@ henning@
2004-11-17- \r\n fix for QUIT commandBob Beck
- Implement RSET in spamd - some virus scanning products (notably symantec's viruswall) spew a RSET into the smtp stream before every attempted delivery. (noticed by reitenba@fh-brandenburg.de and some others). This ensures such things can successfully talk to a spamd greylister. ok millert@ henning@
2004-10-05Change the default passtime to 25 minutes,Bob Beck
MTA's with a quadratic retry schedule have a retry after 26 minutes, and then again after an hour, so this probably makes a lot more sense than the old 30 minute default. ok henning@
2004-10-05change default to 451 for greylisting, thanks to a number ofBob Beck
people on misc, and some observations by Evan harris on the greylisting mailing list that a number of clustered mailers like aol behave better (and retry from the same IP) when they see a 451, but do not when they see a 450 (traditionally used for mailbox lock failure) 450 was the original for spamd, as the default for the tarpit is to encourage quick retries to punish blacklisted smtp servers more. This got carried over to the greylisting implementation, and isnt' really optimal for that case. ok millert@, henning@, todd@
2004-09-18This should be info, from mike@tric.ruBob Beck
ok henning@
2004-09-15ARGSUSED before signal handler with unused signoTheo de Raadt
2004-08-17impliment QUIT, beck okHenning Brauer
2004-08-15Expire entries that exactly match the time now in addition to onesTodd C. Miller
with an expire time in the past. From beck@, OK deraadt@
2004-08-08spacingTheo de Raadt
2004-07-04two missing freeaddrinfo() -- leak; andrushock@korovino.netTheo de Raadt
2004-07-04typo; andrushock@korovino.netTheo de Raadt