On Wed, Sep 19, 2007 at 10:50:17AM -0400, Juan Miscaro wrote:
> I'm running OpenBSD 4.0 and I'm having trouble loading my spamd
> blacklist table with spamd-setup:
>
> $ sudo pfctl -t spamd -T show | wc -l
>     7070 
<SNIP>
> $ sudo /usr/libexec/spamd-setup -d
> Getting http://www.openbsd.org/spamd/spews_list_level1.txt.gz
> blacklist spews1 14482 entries
> Getting http://www.openbsd.org/spamd/chinacidr.txt.gz
> blacklist china 431 entries
> Getting http://www.openbsd.org/spamd/koreacidr.txt.gz
> blacklist korea 270 entries
> 
> $ sudo pfctl -t spamd -T show | wc -l
>     7070

The china and korea lists contain *large* CIDR blocks. My guess is that
much of spews1 duplicates individual IPs or smaller blocks contained
*within* the china and korea lists.

This is just my guess, and I haven't tested. Remember the "-T test" for
pfctl? If you desire, you could write a script to verify that everything
in spews1, china, and korea lists are covered by the spamd table, or
report which are missing.

-- 
Darrin Chandler            |  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/      |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation

Reply via email to