On Jun/16 10:06PM, Edgar Pettijohn wrote:
>
> *spamd*  regularly scans the//var/db/spamd/  database and configures all
>       whitelist addresses as the      pf(4)
> >  <spamd-white> table, allowing connec-
>       tions to pass to the real MTA.  Any addresses not found in
<spamd-white>
>       are redirected to*spamd*.  The following pf.conf(5) example     is
suggested:
>
>        table <spamd-white> persist
>        rdr pass inet proto tcp from !<spamd-white> to any \
>            port smtp -> 127.0.0.1 port spamd
>
> You are replacing the <spamd-white> table with your own that probably can't
be read by spamd.
> Try something like the following, but translated to freebsd pf.conf lingo:
>
> table <spamd-white> persist
> table <nospamd> persist file "/var/db/override.txt"
> pass in on egress proto tcp from any to any port smtp \
>      divert-to 127.0.0.1 port spamd
> pass in on egress proto tcp from <nospamd> to any port smtp
> pass in log on egress proto tcp from <spamd-white> to any port smtp
> pass out log on egress proto tcp to any port smtp
>
> Hope this helps.

It does, thanks very much!

--

Joshua

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to