Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2007 12:20:34 -0700
From:      snowcrash <schneecrash+pf@gmail.com>
To:        "Olli Hauer" <ohauer@gmx.de>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pf+spamd's 'verbosity' has gone missing
Message-ID:  <70f41ba20705041220u6772cc40tca01242358c239ff@mail.gmail.com>
In-Reply-To: <1178305542.10053.54.camel@amd.uni.vrs>
References:  <70f41ba20705040937w32363fa6tc23fd3004e72c8b@mail.gmail.com> <1178298650.10053.15.camel@amd.uni.vrs> <70f41ba20705041048x6fd586c8v4b5ed9e07ec16ee9@mail.gmail.com> <1178302185.10053.24.camel@amd.uni.vrs> <70f41ba20705041122h57a508d4r5c2f097cd19be0e7@mail.gmail.com> <1178305542.10053.54.camel@amd.uni.vrs>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

> ahhh no i think what you mean with BLACK label,
>
> (BLACK) 85.98.220.200: <bpx@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70f41ba20705041220u6772cc40tca01242358c239ff>