I still don't see how hosts in spamd-white are not sent to spamd. what if a host is in spamd-white, but not in spamd-exempt..
-Bob * Stuart Henderson <[EMAIL PROTECTED]> [2007-06-11 17:21]: > 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. > -- #!/usr/bin/perl if ((not 0 && not 1) != (! 0 && ! 1)) { print "Larry and Tom must smoke some really primo stuff...\n"; }