The spamd man page shows an example pf.conf fragment:
  table <spamd-white> persist
  table <nospamd> persist file "/etc/mail/nospamd"
  pass in on egress proto tcp from any to any port smtp \
       rdr-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

and later shows the pf.conf fragment for "BLACKLIST-ONLY MODE":
  table <spamd> persist
  pass in on egress proto tcp from <spamd> to any port smtp \
       rdr-to 127.0.0.1 port spamd
for blacklisting.

The pf.conf mand pages shows:
  table <spam> persist file "/etc/spammers" file "/etc/openrelays"
  block on fxp0 from <spam> to any

 
What rules should I have in "pf.conf" for both greylisting and blacklisting? 
I'd like to blacklist those site that got spam through the greylisting.

Thanks,

Joe

Reply via email to