On 16/02/06, Gary Rule <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
VoIP: [EMAIL PROTECTED]
FWD: **275*5048707000
VoipTalk: **473*5048707000
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/