That worked thanks

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Boudewijn Dijkstra
Sent: Wednesday, November 24, 2010 6:08 AM
To: OpenBSD misc
Subject: Re: A bad entry in the spamdb kills pfctl

Op Tue, 23 Nov 2010 18:05:14 +0100 schreef Peter Fraser <[email protected]>:
> Somehow I have an bad  entry in my /var/db/spamdb the entry in
> question is a follows.
>
> GREY|kadorken.thspamdb -t -a
> [email protected]|spamdb -t -a
> [email protected]|spamdb -t -a
> [email protected]|spamdb -t -a
> kgdykescxspamdb|1160168514|0|0|1|-2
>
> I have no idea how the entry got there.
>
> How can I delete it?  I cannot  get the  "spamdb -d" to work, it is
> expecting an IP address

The entry ends with 0|0|1|-2 so it is actually a spamtrap entry that contains
newlines.  That's why it didn't expire although you'd think it should have.  I
could successfully use spamdb(8) to add spamtrap entries containing a few
newlines and then remove them (phew!).  So try this:

# spamdb -Td 'kadorken.thspamdb -t -a
[email protected]
spamdb -t -a [email protected]
spamdb -t -a [email protected]
spamdb -t -a kgdykescxspamdb'

If that doesn't work, then possibly the real key is longer and you need a
modified version of spamdb(8) to extract it.


--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/

Reply via email to