--- (private) HKS [Mon, Feb 16, 2009 at 02:52:32PM -0500]: --- 
> On Mon, Feb 16, 2009 at 2:29 PM, jmc <j...@cosmicnetworks.net> wrote:
> > i'm trying to deal with mail providers like gmail that have pools of
> > outgoing smtp servers that shuffle among them for mail delivery.
> >
> > relevant pf.conf snippet:
> >
> > table <spamd-mywhite> persist file "/etc/mail/spamd-mywhite"
> >
> > rdr pass inet proto tcp from <spamd> to any port smtp -> 127.0.0.1 port 
> > spamd
> > rdr pass inet proto tcp from !<spamd-white> to any port smtp -> 127.0.0.1 
> > port spamd
> > rdr pass inet proto tcp from <spamd-white> to any port smtp -> 127.0.0.1 
> > port smtp
> > rdr pass inet proto tcp from <spamd-mywhite> to any port smtp -> 127.0.0.1 
> > port smtp
> 
> 
> table <spamd-mywhite> persist file "/etc/mail/spamd-mywhite"
> 
> rdr pass inet proto tcp from <spamd> to any port smtp -> 127.0.0.1 port spamd
> rdr pass inet proto tcp from <spamd-mywhite> to any port smtp -> 127.0.0.1 
> port smtp
> rdr pass inet proto tcp from !<spamd-white> to any port smtp -> 127.0.0.1 
> port spamd
> rdr pass inet proto tcp from <spamd-white> to any port smtp -> 127.0.0.1 port 
> smtp
> 
> 
> There you go.

cool. thanks. a few people e-mailed me directly with similar advice. i
suppose i should have seen the obvious, but i am certain i had e-mails
from whitelisted domains get correctly shunted around spamd, so i was
refusing to see what i should have.

thanks all for the nudge...

--john

Reply via email to