On May 26, 2005, at 6:21 PM, BB wrote:
Have you tried ?
rdr pass
2 things:-
1. removed the pass after rdr and added a tag
2. add a tag based rule with the reply-to
rdr on $ext_mail proto tcp from <spamd> to port smtp tag SPAMD ->
127.0.0.1 port spamd
rdr on $ext_mail proto tcp from !<spamd-white> to port smtp tag SPAMD
-> 127.0.0.1 port spamd
# allow everything on loopback interface
pass quick on lo0 all
# block all incoming packets but allow ssh, pass all outgoing tcp and
udp
# connections and keep state, logging blocked packets.
block return in log all
pass in on $ext_mail reply-to ($ext_mail $router_addr) proto tcp
from any to $ext_mail port { pop3, smtp, ssh, http } keep state
pass in on $ext_mail reply-to ($ext_mail $router_addr) proto tcp
tagged SPAMD keep state
Thanks for all the help.
Abdul