Age | Commit message (Collapse) | Author |
|
error out.
Add a new user _rwalld for rpc.rwalld, and use that instead
of nobody, also unconditionally drop to _rwalld not only
if rpc.rwalld was started with euid 0 (as root).
ok deraadt@
|
|
|
|
A number of small improvements:
- patch for empty lines and comments in alloweddomains_file
- remove some whitespaces at end of line.
- document comment and empty line handling
- Remove unused parameter 'r' from getopt in spamd.c, it is removed in the 'switch statement'
but not in getopt.
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/spamd/spamd.c.diff?r1=1.94;r2=1.95;f=h
- replace atoi with strtonum
- make debug output more usefull, display only what will be synced and not a second
message which prints always "sync trapped %s"
- some cosemtic and whitespace fixes.
|
|
ok deraadt@, oga@, otto@
|
|
ok beck
|
|
with strtonum
|
|
ok beck
|
|
|
|
- whitelisted entries are not synced
- entries added manually (using spamdb) are not synced
suggested by Stephan A. Rickauer; ok reyk
|
|
ok beck@
|
|
to the database.
ok beck@
|
|
ok beck@, reyk@
|
|
1) ip addresses were accidentally being sent in host-byte order, which
caused compatibility problems (spotted by jbg)
2) the sub-headers in the frame were not natively aligned, thus timeout
values were incorrectly sent by 64-bit machines
ok beck
|
|
structures aligned to 16 byte boundaries for maximum portability
(somewhat similar to CMSG's). Old spamd's and new spamd's can still
communicate with this change. It would be nice if someone tested spamd
on 64-bit unaligned architectures (with and without this change)
ok beck
|
|
hold the header with length field.
ok deraadt@ beck@
|
|
|
|
|
|
From Diego Giagio (dgiagio at gmail)
with input from tedu@
|
|
noticed and patch from Piotr Sikora <piotr@sikora.nu>
|
|
|
|
traps.
- Change count to size_t to avoid a size_t -> int conversion.
- Since configure_spamd always returns 0, change to void.
- Since configure_spamd now returns void, remove unreachable logging
statement.
OK ckuethe and deraadt, initial diff from fgsch@ and OKed by beck.
|
|
- this document talks about "default mode", not "greylisting mode"
- kill trailing whitespace
|
|
longer used in greylisting mode.
ok ckuethe@
|
|
from Saint Aardvark the Carpeted, documentation/5535;
|
|
|
|
|
|
also, this section is blacklist-only, so tweak .Sh
|
|
|
|
ok millert@
|
|
sized array, so memory corruption occurs when writing the field.
problem encountered by Jeremy C. Reed. ok reyk@
|
|
|
|
whitespace at eol
|
|
to remember how to commit to do that.
|
|
|
|
|
|
|
|
1) Implement the NOOP command, which now seems necessary for certain
windows mail wrappers and sender verification schemes. Tested by me
and sidcarter@symonds.net, who noticed the problem on his site.
ok millert@
2) Change the behaviour of the maxblack parameter, instead of hanging
up immediately on new blacklisted connections when the maxblack parameter
is reached, we instead make spamd not stutter at them, so the connection
is instead completed quickly. This seems to handle peaks and spikes
much better than the old way of doing this.
ok deraadt@, with some man page changes by jmc@
|
|
|
|
ok reyk@
|
|
by checking for them being in the db first.
ok millert@
|
|
closes user/5408 from sthen
ok reyk
|
|
mx for the first minute, to avoid problems if hosts legitimately try it
after we are down.
suggested by millert@
|
|
and this hides the evidence. Avoids a potential race when
using -M traps where a retry comes in between deletion and
whitelisting.
ok millert@
|
|
|
|
explicitly mentioning IP aliases, which is typically how you would
implement MX trapping using a single host.
OK beck@, trusted by deraadt@
|
|
|
|
|
|
|
|
kill whitespace at eol
|
|
address than the primary one. spamd will trap hosts that contact this
address first without first contacting the primary.
- get it in, deraadt@
|