Re: [Exim] dnslookup blocking for an addresslist

Góra strony
Delete this message
Reply to this message
Autor: Jonathan Vanasco
Data:  
Dla: exim-users
Temat: Re: [Exim] dnslookup blocking for an addresslist
I just noticed something peculiar on this -- if
/path/to/local_parts_dir/$domain does not exist, this router will be
passed on.

if i 'touch' /path/to/local_parts_dir/$domain, it works fine.

anyone got a clue on what to do?

> On Monday, June 30, 2003, at 02:30 PM, Andreas J Mueller wrote:
> Entire addresses are not directly supported in router preconditions.
> However, since the domains precondition is checked before local_parts,
> and local_parts is expanded, you can base your lookup on the $domain
> variable:
>
> local_parts = ! lsearch;/path/to/local_parts_dir/$domain
>
> You could then put all the local parts belonging to, e.g. the aol.com
> domain, in file /path/to/local_parts_dir/aol.com.