summaryrefslogtreecommitdiff
path: root/libexec/spamd-setup
AgeCommit message (Collapse)Author
2009-09-09Change the way memory is allocated to reduce memory footprint. Loading theClaudio Jeker
large uatraps uses now around 8 times less memory. Other cleanup includes a fast implementation of imask() (stolen from bgpd), killing some unused code and try to estimate the memory needed in add_blacklist() to reduce the realloc() calls. Tested by many (sthen, matthieu, Stephan A. Rickauer) OK beck@, sthen@
2009-06-02Protect errno.Ray Lai
OK millert
2009-02-19correct description of spamdb-setup blacklist only mode;Jason McIntyre
fixes documentation/6083; original diff and pr from Kami Petersen ok sthen
2008-10-03beef up the description of -D a little, and don;t imply theJason McIntyre
option somehow terrorises spamd-setup;
2008-10-03-D before -d;Jason McIntyre
2008-10-03New option -D to daemonize spamd-setup for early bootup use. This avoidsTheo de Raadt
spamd-setup hanging if there are various (network?) issues and the system not proceeding to multiuser so that this can be debugged. We do not use & for startup in /etc/rc because this makes the spamd-setup a child of the rc scripts after bootup (that is gross) Problem reported in PR 5864, change discussed with beck, ok millert
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-08update to describe current behaviour;Jason McIntyre
with some help from millert and beck
2007-02-27spamd.conf lives in /etc/mail now;Jason McIntyre
2007-02-27fix synopsis and order options;Jason McIntyre
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-25Add usage() and error out if given bogus arguments.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-14Fix some realloc() off-by-one errors found by ray@.Todd C. Miller
Also simplify fix_quoted_colons() to avoid realloc entirely since the output buffer is at most 2x the length of the input buffer. Parts adapted from a diff from tdeval@. OK ray@, beck@
2007-02-09Fix off by one in blacklist memory allocation. From tdeval@Todd C. Miller
2006-05-11fix some type definitionsDavid Hill
ok beck
2006-03-26Remove an extraneous prototypeKjell Wooding
From Andrey Matveev
2006-03-26More KNF. Prodding from ray@Kjell Wooding
No binary change.
2006-03-26Get this closer to KNF (get rid of block-declared vars)Kjell Wooding
ok beck@
2006-03-26KNF. No binary change.Kjell Wooding
2006-01-17Include <sys/param.h> to get MAX macroTodd C. Miller
2005-05-24Remove -ansi as that means expose only C89 interfaces.Todd C. Miller
2005-03-02process the last line of an address list even if it's not terminatedDaniel Hartmeier
by newline. found by Rod Whitworth. ok beck@
2004-09-16clean C for a changeTheo de Raadt
2004-06-29absolutely no need to include machine/endian.h after sys/types.h and ↵Michael Shalayeff
sys/types.h after sys/param.h
2004-04-28fd leaks; beck okTheo de Raadt
2004-02-26paranoia; beck okTheo de Raadt
2004-01-29spamd-setup(8) does not take a file arg;Jason McIntyre
from Okan Demirmen (PR 3657); ok deraadt@
2004-01-21clean from jmcTheo de Raadt
2004-01-21New spamd configuration method. Many people have trouble with the spamTheo de Raadt
RBL sites being slow, so now we will provide the maps ourselves through our www mirrors around the world. We can also now write our own internal translators for maps that are in bad formats, and place them into the www space in the correct format. tested by beck, djm
2004-01-21cleanupTheo de Raadt
2003-08-22pf spelling policeDavid Krause
ok dhartmei@ jmc@
2003-07-29spacesTheo de Raadt
2003-07-06bring protos into scopeTheo de Raadt
2003-06-11ansi cleanup; ok ian markusTheo de Raadt
2003-06-02nuke clause 3 & 4Jason Wright
2003-05-16use inet_net_pton, and fix probelem where spamd-setup would crash on a fileBob Beck
consisting only of invalid input
2003-04-28return from mainTheo de Raadt
2003-04-28I hate -WerrorTheo de Raadt
2003-03-13make spamd-setup/spamd use/require a reserved source port for theBob Beck
configuration connection.
2003-03-11new sentence, new line and whitespace at EOLDavid Krause
ok jmc@
2003-03-10nothing of importTheo de Raadt
2003-03-10fix exit code, stupid bob, spotted by lebelTheo de Raadt
2003-03-09Fix a few typos, Make spamd and spamd-setup use /etc/services to findBob Beck
their ports. Adds "spamd" and "spamd-cfg" services to /etc/services. Mostly from Daniel Lucq <daniel@lucq.org>.
2003-03-09missed memset, found by dhartmei@Bob Beck
2003-03-08knfTheo de Raadt
2003-03-08spamd typos;Jason McIntyre
ok beck@
2003-03-08move stuff to spamd.conf 5Bob Beck
2003-03-08KNFTheo de Raadt