Re: [exim] Adding a whitelist to greylist

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Raphael Bauduin
Ημερομηνία:  
Προς: Jasen Betts
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Adding a whitelist to greylist
On Thu, Jun 13, 2013 at 1:01 PM, Jasen Betts <jasen@???> wrote:

> On 2013-06-13, Raphael Bauduin <rblists@???> wrote:
> > Hi,
> >
> > I'm working on a working greylisting setup, but it currently has some
> > trouble with mail coming from gmail, because the different delivery
> > attempts may use different IP addresses. that's why I wanted to add a
> > whitelist check.
> >
> > To the defer directive (see bottom for the complete directive), I add the
> > whitelist exception:
> >
> > !dnslists = list.dnswl.org
> >
> > and I also add an accept directive (I also tested with a warn directive)
> >
> >   accept  #or warn
> >     domains      = +local_domains
> >     dnslists      = list.dnswl.org
> >     logwrite      = $sender_host_address is whitelisted

>
> which ACL is this in?
>


this is acl_check_rcpt


> > When I send a mail from gmail, which is in the whitelist, I see this in
> the
> > logs:
> > 2013-06-13 10:35:30 skip defer greylist (header) <...@gmail.com> for
> ><...@...>.
> > 2013-06-13 10:35:30 209.85.219.45 is whitelisted
> >
> > So the new config is applied, but no further processing of the mail
> happens
> > after that.
>
> perhaps there's something in rejectlog?
>


Nothing there.

I have done further tests. I added this accept directive at the start of
the act:

  accept
    domains      = +local_domains
    dnslists      = list.dnswl.org
    log_message      = $sender_host_address is whitelisted in rcpt check


and the result is that... nothing happens.

>From my understanding, the dnswl includes the gmail servers as the

greylisting is skipped if I add the condition that greylisting is done only
if the sender ip is not in the dnswl list.
So the accept directive should make the acl accept the messages from gmail,
but that is apparently not the case. Am I misunderstanding something?

thanks

Raph