Re: [Exim] Relay_to lsearch

Pàgina inicial
Delete this message
Reply to this message
Autor: Everton da Silva Marques
Data:  
A: Rus Foster
CC: exim-users
Assumpte: Re: [Exim] Relay_to lsearch
On Thu, Sep 26, 2002 at 10:47:12AM +0100, Rus Foster wrote:
>
> domainlist relay_to_domains = rf0.com : fsck.me.uk : rusnet.info :
> catatonia.org: kali.wox.org : localhost : please.fsck.me.uk : localdomain
> : localhost : suemiller.me.uk : hamsterfun.com
>
>
> and
>
>
> domainlist local_domains = fsck.me.uk : rf0.com : *.rf0.com :
> kali.wox.org : please.fsck.me.uk : spews .net : freebsd.rf0.com :
> localhost : localdomain :suemiller.me.uk : hamsterfun.com
>
> My question is have I gone a bit overboard with listing localhost and also
> would it be possible to use an lsearch instead? The reason I'm asking is
> that I've seen a number of different lsearch formats and am a bit confused
> so any help would be greatly appreciated


You could do following:

domainlist local_domains = /local/mailscan/etc/exim/local-domains

domainlist relay_to_domains = /local/mailscan/etc/exim/relay-domains


With:

$ cat /local/mailscan/etc/exim/local-domains
domain1.com
domain2.com

$ cat /local/mailscan/etc/exim/relay-domains
domain3.com
domain4.com


I don't know whether one can do the following:

domainlist local_domains = /local/mailscan/etc/exim/local-domains

domainlist relay_to_domains = local_domains

I suggest you check it.


Hope it helps.