Olli Hauer wrote:
Jacob Yocom-Piatt wrote:
swapped out a spamd host last night and ended up doing some ksh scripting to get the spamdb up to date on the new machine. also have connected the old host with the new one using the sync (-y & -Y) options for spamd and spamlogd, and these options are working fine and are quite neat.

a couple of questions come to mind after having done this:

- is there a better way to migrate a spamd database from one machine to the other without using scripts like

pfctl -t spamd-white -T show | sed "s/ //g" > spamd-white.clean.txt (on old host) for i in `cat spamd-white.clean.txt`; do spamd -a $i; done; (on new host)




Just copy /var/db/spamd from the old to the new host, so you get all other
information as well (WHITE, SPAMTRAP, GREY, expire records).


this was going i386 -> sparc64 and spamd kept dying on me once the db was copied over. probably different binary formats or some such.

--

Reply via email to