Re: [Exim] How do I ...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Alain Williams
CC: Pete Naylor, exim-users
Sujet: Re: [Exim] How do I ...
On Sun, 14 May 2000, Alain Williams wrote:

> I'll create a new config file and try it out.
> I am a bit concerned about the 'gethostbyname = true', another consequence of the setup
> at this customer is that they run their own DNS internally which is authoritiative for their
> own domain (giving 10.x.x.x addresses) and a caching nameserver for everything else. This works
> well - but a consequence of this is that an `nslookup' on foo.com yeilds something completely
> different when done within foo.com than it does when done anywhere in the rest of the world.
>
> If the above config results in exim connecting to `blackbird.isp.co.uk' to send mail to
> `listX@???' it should work, if exim tries to resolve foo.com by DNS it will screw up
> completely.


What gethostbyname() does is controlled by /etc/resolv.conf (on many
systems). Commonly it looks in /etc/hosts, and only if that fails does
it try the DNS.

> I find Exim easy to configure for most simple cases, however getting the different bits
> together for anything else can be difficult. I think that an examples directory with lots
> of config files doing things such as I am trying above would be a great boon. It is always
> easier (IMHO) to look at examples and then read the documentation to understand how to
> fix it in your particular case.


The example configurations can only contain what people submit to me for
inclusion. Hint, hint.

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