Re: [exim] Gateway recipient verification (again)

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Tor Willy Austerslått
CC: exim-users
Subject: Re: [exim] Gateway recipient verification (again)
On Tue, 28 Feb 2006, Tor Willy Austerslått wrote:

> As my second router (after the domain literal router), I have this:
>
> userlist_domains:
> driver = redirect
> allow_fail
> domains = DEBCONFdc_relay_domainsDEBCONF
> data =
> ${lookup{$local_part@$domain}lsearch{/etc/exim4/valid_addresses}{$local_part@$domain}{:fail:Unknown
> user}
>
> The above router makes Exim accepts all addresses, whether they're found in
> the flat file or not.


That seems odd. Have you tried testing with -bt or -bh and possibly with
-d also set, in order to get debugging output? That should show you what
is actually being looked up.

> How can i verify the *complete* address against a local flat file?


What you did should be OK. There must be some wrinkle that's causing a
problem.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book