Re: [Exim] Handle only some addresses in a domain?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Joe Frost
CC: exim-users
題目: Re: [Exim] Handle only some addresses in a domain?
On Wed, 7 Mar 2001, Joe Frost wrote:

> This appears from the description to solve my problem, but I'm not sure
> if I understand it correctly:
>
>          special_local:
>            driver = domainlist
>            local_parts = whatever...
>            domains = whatever...
>            route_list = * localhost byname
>            self = local

>
>
> What should be inserted in the "local_parts =" and the "domains ="
> sections assuming that my local domain is xyz.com, and the domain that
> I want to catch some address for is abc.com?


local_parts = the local part of "some address"
domains = abc.com

Wasn't that easy?

Or even

condition = ${if eq {$local_part@$domain}{some address}{yes}{no}}

instead of local_parts and domains.


Section 7.11 describes how lists are constructed.
Section 7.12 describes domain lists (for "domains").
The description of the local_parts option tells you how that list works.

[If you've been reading this mailing list today, you will realize I am
on a "make people find the info for themselves" campaign today.]

> Ideally I would like the decision as to whether an address is local or
> not to be made based on whether an LDAP lookup succeeds or not, is this
> at all possible?


Yes. Check out the "condition" option, and ${lookup

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.