[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-pf
Subject:    Re: spamd-white refuses to stay flushed
From:       Mario Theodoridis <mario () schmut ! com>
Date:       2017-03-08 10:00:09
Message-ID: 6d423cdf-eba5-ec73-1873-da3db3983864 () schmut ! com
[Download RAW message or body]

On 08/03/17 09:17, Peter N. M. Hansteen wrote:
> Hi,
>
> This sounds like you're fighting spamdb. It's possible it's not clear enough from
> the spamd chapters in the book, but modern spamd really depends on the spamdb
> database for most things so backfilling the spamd-white table is to be expected.
>
> spamdb is the more appropriate tool for manipulating the white, grey and black status of entries.
>
> If you want to empty the whitelist, I'd go for spamdb -d on individual entries, doable
> via a for loop or something, eg
>
> for foo in `doas spamdb | grep WHITE | awk -F\| '{print $2}'`; do doas spamdb -d $foo; done
>
> (untested but you get the drift)
>
Duh!
That answers both questions.

I guess i forgot the 'Managing Lists with spamdb' section.

Thank you Peter


-- 
Mit freundlichen Grüßen/Best Regards

Mario Theodoridis
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic