I'm running spamd in blacklist mode, and it started running out of
memory today. It turns out the lists are getting close to the default
limit:
# /usr/libexec/spamd-setup -b -d
Getting http://www.openbsd.org/spamd/traplist.gz
blacklist uatraps 157348 entries
Getting http://www.openbsd.org/spamd/nixspam.gz
blacklist nixspam 40035 entries
Getting http://www.openbsd.org/spamd/chinacidr.txt.gz
blacklist china 431 entries
Getting http://www.openbsd.org/spamd/koreacidr.txt.gz
blacklist korea 270 entries
That comes to 198084, and the default is 200000.
One solution is to put:
set limit table-entries [value]
in pf.conf.