On May 21, 2005, at 4:40 PM, j knight wrote:
Abdul Rehman Gani wrote:
pass in on $ext_mail reply-to ($ext_mail $router_addr) proto tcp
from any to $ext_mail port { pop3, smtp, ssh } keep state
All works as expected (and required)
Now I want to use spamd on the mail. But the redirect to spamd
happens before the pass rule above, hence when spamd responds the
packets are routed through interface ext instead of ext-mail.
Have you tried adding port 8025 to that rule above? (or if you have
a rule that is explicitly passing traffic to spamd, adding reply-to
to that rule?)
Yes - still does not work.
I have tried to watch traffic using tcpdump on the external interface
and on lo0, but I cannot see the traffic that goes to spamd
I also tried to add this:-
pass in on $ext_mail reply-to ($ext_mail $router_addr) proto tcp
from any to 127.0.0.1 port { spamd } keep state
after the pass rule above - but still no joy.
Abdul
.joel