/usr/bin/ftp required for spamd but missing
-
I installed the spamd pkg. However, it looks like it isn't updating the blacklists and whitelists:
spamd-setup -d
whitelist whitelist 9 entries
blacklist blacklist 0 entries
Getting http://www.openbsd.org/spamd/traplist.gz
blacklist U-of-A-Traplist 0 entries
Getting http://www.openbsd.org/spamd/chinacidr.txt.gz
blacklist China-CIDR 0 entries
Getting http://www.openbsd.org/spamd/koreacidr.txt.gz
blacklist Korea-CIDR 0 entries
Getting http://www.openbsd.org/spamd/spews_list_level1.txt.gz
blacklist Spews-Level-1 0 entries
Getting http://www.dnswl.org/data/rbldnsd-dnswl
whitelist DNSWL 0 entriesI discovered this post
http://lists.soekris.com/pipermail/soekris-tech/2005-September/009265.html
where a user experiences something similar. He discovers the problem is that spamd needs ftp.
http://lists.soekris.com/pipermail/soekris-tech/2005-September/009273.html
ftp is not present on my full install of pfsense. To test the ftp theory, I did:
cd /usr/local/bin
ln -s ./fetch ftp
spamd-setup -d
whitelist whitelist 9 entries
blacklist blacklist 0 entries
Getting http://www.openbsd.org/spamd/traplist.gz
ftp: illegal option – V
usage: fetch [-146AFMPRUadlmnpqrsv] [-N netrc] [-o outputfile]
[-S bytes] [-B bytes] [-T seconds] [-w seconds]
[-h host -f file [-c dir] | URL …]
blacklist U-of-A-Traplist 0 entries
Getting http://www.openbsd.org/spamd/chinacidr.txt.gz
ftp: illegal option -- V
usage: fetch [-146AFMPRUadlmnpqrsv] [-N netrc] [-o outputfile]
[-S bytes] [-B bytes] [-T seconds] [-w seconds]
[-h host -f file [-c dir] | URL …]
blacklist China-CIDR 0 entries
Getting http://www.openbsd.org/spamd/koreacidr.txt.gz
ftp: illegal option -- V
usage: fetch [-146AFMPRUadlmnpqrsv] [-N netrc] [-o outputfile]
[-S bytes] [-B bytes] [-T seconds] [-w seconds]
[-h host -f file [-c dir] | URL …]
blacklist Korea-CIDR 0 entries
Getting http://www.openbsd.org/spamd/spews_list_level1.txt.gz
ftp: illegal option -- V
usage: fetch [-146AFMPRUadlmnpqrsv] [-N netrc] [-o outputfile]
[-S bytes] [-B bytes] [-T seconds] [-w seconds]
[-h host -f file [-c dir] | URL …]
blacklist Spews-Level-1 0 entries
Getting http://www.dnswl.org/data/rbldnsd-dnswl
ftp: illegal option -- V
usage: fetch [-146AFMPRUadlmnpqrsv] [-N netrc] [-o outputfile]
[-S bytes] [-B bytes] [-T seconds] [-w seconds]
[-h host -f file [-c dir] | URL …]
whitelist DNSWL 0 entriesClearly, spamd-setup wants to use /usr/bin/ftp. Isn't it supposed to be part of pfsense's FreeBSD 6 distro?
I can't pkg_add it, since it's supposed to be part of the base system. Is there somewhere I can get this?
-
You can fetch it from http://www.pfsense.com/~sullrich/extra/ftp
I have added it to the default installation going forward.
-
Thanks very much! I appreciate it.
-
That fixed it. Thanks again, Scott.
spamd-setup -d
whitelist whitelist 10 entries
blacklist blacklist 1 entries
Getting http://www.openbsd.org/spamd/traplist.gz
blacklist U-of-A-Traplist 32928 entries
Getting http://www.openbsd.org/spamd/chinacidr.txt.gz
blacklist China-CIDR 431 entries
Getting http://www.openbsd.org/spamd/koreacidr.txt.gz
blacklist Korea-CIDR 270 entries
Getting http://www.openbsd.org/spamd/spews_list_level1.txt.gz
blacklist Spews-Level-1 14482 entries
whitelist DNSWL 19619 entries -
Good deal!