Re: [exim] greylisting + white list recipient

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim users
Subject: Re: [exim] greylisting + white list recipient
On 16/02/06, Gary Rule <grule@???> wrote:
> I've been asked to implement greylisting with exim but I must maintain
> the ability to white list by recipient addresses. I'm using:
>
>   defer message = Greylisted - please try again a little later.
>         !hosts = +exclude_greyhosts
>         condition = ${if eq{$acl_m2}{0}{1}}
>         condition = ${lookup mysql{GREYLIST_ADD}{yes}{no}}
>   defer message = Greylisted - please try again shortly.
>         condition = ${if eq{$acl_m2}{1}{1}}

>
>
> in my acl_check_rcpt.


> I've tried a few combinations and the only thing so far that has worked
> is putting the full email address in exclude_greyrecip and just putting:
>
> !recipients = /etc/exim/exclude_greyrecip


You're almost there...

> Any ideas on how to match only the local parts?


Try

!local_parts = /etc/exim/exclude_greyrecip

Peter

--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???
VoIP: *5048707000@???
FWD: **275*5048707000
VoipTalk: **473*5048707000