pf+spamd's 'verbosity' has gone missing

snowcrash schneecrash+pf at gmail.com
Fri May 4 19:20:36 UTC 2007


hi,

> ahhh no i think what you mean with BLACK label,
>
> (BLACK) 85.98.220.200: <bpx at mackenzie8888.freeserve.co.uk> ...
> -> this line will only displayed if a trapped host connect to your spamd

ah! missed the emphasis on 'trapped'. ok.

>  disconnected after 3920 seconds. lists: spamd-greytrap
> -> this line will only displayed if a host listed in spamd.conf setup
> match an entry

got it.

> to get the logging back to the spamd.log also do the following
>
> kill all spamd process (pkill spamd)
> ps -waux | grep spamd  (to make it sure)

done.

ps -waux | grep spamd
 root     2666  0.0  0.4  1544  1020  p1  R+   12:09PM   0:00.02 grep spamd

> adjust the parameters for spamd.

not sure if/why including the defaults is an issue, but, per your
recommendations, in /etc/rc.conf,

 ---  pfspamd_flags="-v -n ESMTP -r450 -s5 -w1 -c300 -B200  -g
-G25:4:864 -b127.0.0.1 -p8025"
 +++  pfspamd_flags="-v -g -s5 -w1 -c 300 -B 200 -b 127.0.0.1 -n ESMTP"

then,

> restart spamd and execute spamd-setup
> - start spamd

/usr/local/etc/rc.d/pfspamd start
 Starting pfspamd.

ps -waux | grep spamd
 nobody   2845  0.0  1.6  4424  4140  ??  Ss   12:17PM   0:00.01
spamd: (pf <spamd-white> update) (spamd)
 nobody   2846  0.0  1.6  4424  4084  ??  S    12:17PM   0:00.02
/usr/local/libexec/spamd -v -g -s5 -w1 -c 300 -B 200 -b 127.0.0.1 -n
ESMTP
 nobody   2848  0.0  1.6  4424  4104  ??  S    12:17PM   0:00.00
spamd: (/var/db/spamd update) (spamd)
 root     2853  0.0  0.4  1548  1024  p1  R+   12:17PM   0:00.02 grep spamd

> - /usr/local/libexec/spamd-setup

here,

/usr/local/sbin/spamd-setup

then, in spamd.log,

  ...
  May  4 12:17:27 router spamd[2846]: listening for incoming connections.

now to watch for that verbose output a bit ...

thanks.


More information about the freebsd-pf mailing list