Re: [exim] relay_domains and transport files

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Dave Evans
日付:  
To: exim-users
題目: Re: [exim] relay_domains and transport files
On Sat, Aug 30, 2008 at 09:25:40AM -0500, schmerold1@??? wrote:
> One of my Exim boxes is used as a spam filter, mail isn't stored
> locally, I have two files:
> relay_domains & transport that list the domains and their destinations.
> /etc/exim/relay_domains contains:
> dguebert.com
> gulfcoast-materials.com
>
> /etc/exim/transport contains:
> dguebert.com: mail.dguebert.com::2424
> gulfcoast-materials.com: mail.gulfcoast-materials.com::2424
>
> This all works quite well, however, I'd like to get rid of
> /etc/exim/relay_domains by modifying domainlist relay_to_domains =
> /etc/exim/relay_domains in some way.


Maybe something like

relay_to_domains = partial-lsearch;/etc/exim/transport

See
http://www.exim.org/exim-html-current/doc/html/spec_html/ch10.html#SECTdomainlist
, "If a pattern starts with the name of a single-key lookup type ..."

Regards,

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey