From: Andrew Lyon
Date: 2010-08-24 09:38:05 -0400
Subject: Re: milter-spamc/sender Connect:ip whitelist not working
On Tue, Aug 24, 2010 at 1:42 PM, Andrew Lyon <firstname.lastname@example.org> wrote:
> I have whitelisted the ip address of one of my servers which needs to
> bypass all milter checks, I expected that milter-sender and spamc
> would then allow that host to send messages without any filtering, but
> the access entry doesn't seem to have any effect.
> I've tried:
> x.x.x.x OK
> Connect:x.x.x.x OK
> milter-sender-Connect:x.x.x.x OK
> Rebuilt access.db but when I connect from that ip the usual callback
> checks are applied.
> What is the correct method to exclude an ip address from all milter
> and sendmail filtering?
I added database to the milter Verbose setting and I can see the
connecting hostname being looked up and access.db returns RELAY:
Aug 24 14:18:02 mailsvr1 milter-sender: map="access"
So I would expect that no more filtering would take place, but when I
deliberately attempt to send mail from a non existent sender address
milter-sender does the usual callback verification:
Aug 24 14:18:53 jos-gl1 milter-sender: 00002 o7ODHgq6027564:
trying MX 5 'gmail-smtp-in.l.google.com.' [126.96.36.199] for
If I change RELAY to OK then the milter is bypassed, but the host cannot relay.
The only method that seems to allow bypassing the milter and relay is
to whitelist like this:
Is this expected behaviour?
Copyright 2009, 2012 by SnertSoft. All rights reserved.