Re: spamd-white refuses to stay flushed
Mario Theodoridis <[email protected]> Wed, 8 Mar 2017 11:00:09 +0100
| Newsgroups | gmane.os.openbsd.pf |
|---|---|
| Message-ID | <[email protected]> |
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