[Exim] local_domains_include_host has opposite effect

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Corin Hartland-Swann
Fecha:  
A: exim-users
Asunto: [Exim] local_domains_include_host has opposite effect
Hi there,

OK, another oddity...

local_domains_include_host seems to be having the oposite effect to that
intended. I've not noticed actual problems with this, but noticed it on
the debug=9 output.

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.

The manual says that local_domains_include_host "has the same effect as
including '@' in local_domains - this produces the second set of results
below, i.e. the desired one.

Am I getting the wrong end of the stick here?

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
  LRU list:
    1/home/mail/db/local-domains.dbm
    End
  internal_search_find: file="/home/mail/db/local-domains.dbm"
    type=dbm key="buffy.commerce.uk.net"
  file lookup required for buffy.commerce.uk.net
    in /home/mail/db/local-domains.dbm
  lookup failed
  buffy.commerce.uk.net in local_domains? no (end of list)
  Caller is an admin user
  Caller is a trusted user
  sender address = root@???
  Address testing: uid=0 gid=0 euid=8 egid=12


Config:
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)
Caller is an admin user
Caller is a trusted user
sender address = root@???
Address testing: uid=0 gid=0 euid=8 egid=12

Regards,

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@???        |

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