Thanks again Otto,

On Wed, Feb 22, 2017 at 04:27:33PM +0100, Otto Moerbeek wrote:
| If spamd -d doesn't want to delete the entry either try rebulding the
| db by making a script that calls spamdb -a on a new db file for all
| the ip's.

Yep, I went that route.  Grabbed the whitelisted IPs from the
database, stopped spamd, purged the db, restarted spamdb and then
added the addresses I grabbed earlier.  The result is almost as many
records in the database but at a fraction of the required storage:

[weerd@despair] $ spamdb | wc -l
     537
[weerd@despair] $ du -sh /var/db/spamd 
64.0K   /var/db/spamd

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to