[Greylist-users] what do you do to preserve pf tables over reboot?
(spamd)
Graham Toal
gtoal at gtoal.com
Mon Oct 17 12:58:56 PDT 2005
On rebooting a system running OpenBSD spamd, the contents of
<spamd> and <spamd-white> will be lost.
The obvious thing that springs to mind is to do something like
pfctl -T show -t spamd > <somewhere>/spamd.txt
from cron every five minutes, then reload it with
pfctl -T add -t spamd < <somewhere>/spamd.txt
on system boot up.
Seems rather clunky; is there a neater way?
I thought at first this was what the "persist" keyword in pf.conf was for,
but it's not. Giving a filename and persist does not write the updated
table back to the filename, though that would be a nice feature :-)
What do you all do? Do you just lose the greylisting tables on reboot
and live with the delay as you slowly rebuild them?
Graham
More information about the Greylist-users
mailing list