Re: [Exim] local_domains_include_host has opposite effect

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Corin Hartland-Swann
Dátum:  
Címzett: Philip Hazel
CC: exim-users
Tárgy: Re: [Exim] local_domains_include_host has opposite effect
Hi Philip,

On Sat, 16 Sep 2000, Philip Hazel wrote:
> On Fri, 15 Sep 2000, Corin Hartland-Swann wrote:
> > Basically, when this option is set, it reports that the primary_hostname
> > is not in local_domains. When I leave it unset it doesn't even mention
> > it's checking to see if it's in local_domains.
>
> That is not the correct interpretation of the evidence you posted. You
> haven't posted enough!


Sorry - I was only trying to find out why local_domains_include_host was
producing different debugging output to saying local_domain = @ : ...

I was ignoring the rest of the debugging information because that wasn't
causing any problems :)

> > Config:
> >   local_domains_include_host = yes
> >   local_domains = dbm;/home/mail/db/local-domains.dbm
> > Results:
> >   Exim version 3.16 debug level 9 uid=0 gid=0
> >   probably Berkeley DB version 1.8x (native mode)
> >   search_open: dbm "/home/mail/db/local-domains.dbm"
> >   search_find: file="/home/mail/db/local-domains.dbm"
> >     key="buffy.commerce.uk.net" partial=-1

>
> It's checking to see if the primary host name is already in the list. If
> so, it doesn't bother to add it.
>
> > buffy.commerce.uk.net in local_domains? no (end of list)
>
> It doesn't find it, so it should be adding it before proceeding to do
> the real job.


This is what I didn't realise (because it doesn't explicitly mention that
it's going to add it when it doesn't find it).

> > Address testing: uid=0 gid=0 euid=8 egid=12
>
> *Now* it is going to test the address -- but you didn't post what
> happened after that. Did you try to test an address@???
> and it didn't treat it as local?


No - it worked fine! That's why I missed it out.

Thanks for the help...

Corin

/------------------------+-------------------------------------\
| Corin Hartland-Swann   | Direct: +44 (0) 20 7544 4676        |
| Commerce Internet Ltd  | Mobile: +44 (0) 79 5854 0027        |
| 22 Cavendish Buildings |    Tel: +44 (0) 20 7491 2000        |
| Gilbert Street         |    Fax: +44 (0) 20 7491 2010        |
| Mayfair                |    Web: http://www.commerce.uk.net/ |
| London W1K 5HJ         | E-Mail: cdhs@???        |

\------------------------+-------------------------------------/