Hello Forum,
I'm running spamd-4.9.1_1 on FreeBSD 10.0-RELEASE #0 r260789.
These are the relevant pf.conf entries:
This is the content of /usr/local/etc/spamd/spamd.conf
Running
I expected
Interestingly I've got a FreeBSD 9.2-RELEASE-p3 #0 machine running the same setup just fine.
I'm thankful for any input you may provide!
-frozen
I'm running spamd-4.9.1_1 on FreeBSD 10.0-RELEASE #0 r260789.
These are the relevant pf.conf entries:
Code:
table <spamd> persist
rdr pass on $if proto tcp from <spamd> to $ip port 25 -> 127.0.0.1 port 8025
set limit { states 10000, frags 5000, table-entries 250000 }
This is the content of /usr/local/etc/spamd/spamd.conf
Code:
$OpenBSD: spamd.conf,v 1.3 2007/05/12 00:43:41 cnst Exp $
#
# spamd(8) configuration file, read by spamd-setup(8).
# See also spamd.conf(5).
#
# Configures lists for spamd(8).
#
# Strings follow getcap(3) convention escapes, other than you
# can have a bare colon (:) inside a quoted string and it
# will deal with it. See spamd-setup(8) for more details.
#
# "all" must be here, and defines the order in which lists are applied.
# Lists specified with the :white: capability apply to the previous
# list with a :black: capability.
#
# As of November 2004, a place to search for blacklists is
# http://spamlinks.net/filter-bl.htm
all:\
:uatraps:nixspam:
# University of Alberta greytrap hits.
# Addresses stay in it for 24 hours from time they misbehave.
uatraps:\
:black:\
:msg="Your address %A has sent mail to a ualberta.ca spamtrap\n\
within the last 24 hours":\
:method=http:\
:file=www.openbsd.org/spamd/traplist.gz
# Nixspam recent sources list.
# Mirrored from http://www.heise.de/ix/nixspam
nixspam:\
:black:\
:msg="Your address %A is in the nixspam list\n\
See http://www.heise.de/ix/nixspam/dnsbl_en/ for details":\
:method=http:\
:file=www.openbsd.org/spamd/nixspam.gz
Running
/usr/local/sbin/spamd-setup -b -d
produces this output:
Code:
[R] snip:~ # /usr/local/sbin/spamd-setup -b -d
Getting http://www.openbsd.org/spamd/traplist.gz
blacklist uatraps 61436 entries
Getting http://www.openbsd.org/spamd/nixspam.gz
blacklist nixspam 39999 entries
[R] snip:~ # pfctl: Bad address.
I expected
pfctl -t spamd -T show
to return the addresses fed into the table by /usr/local/sbin/spamd-setup -b -d
but instead the table seems empty.
Code:
[R] snip:~ # pfctl -t spamd -T show
No ALTQ support in kernel
ALTQ related functions disabled
Interestingly I've got a FreeBSD 9.2-RELEASE-p3 #0 machine running the same setup just fine.
I'm thankful for any input you may provide!
-frozen