On 2007/06/08 16:02, Bob Beck wrote: > > rdr-anchor "hoststated/smtp" from <spamd-white> > > rdr proto tcp from !<spamd-exempt> to $MX port smtp -> 127.0.0.1 port spamd > > The fact that those two table names are different looks suspiciously > wrong to me.....
It took you pointing this out for me to work out exactly how anchors with wildcards and host restrictions work, but it does work for me; rdr-anchor "hoststated/smtp" from <spamd-white> - <spamd-white> is handled by hoststated rules in the anchor, rdr proto tcp from !<spamd-exempt> to $MX port smtp -> 127.0.0.1 port spamd - normal hosts hit this reasonably normal spamd rdr, rdr-anchor "hoststated/*" - <spamd-exempt>, holding hosts exempted from greylisting, has fallen through from the first two; this and non-smtp services are handled by hoststated rules.