[EXIM] exim-3.01: hosts_treat_as_local case-sensitive ?

Top Page
Delete this message
Reply to this message
Author: Frank Elsner
Date:  
To: exim-users
Subject: [EXIM] exim-3.01: hosts_treat_as_local case-sensitive ?

I've a strange problem. environment: Solaris 2.7, exim 3.01

The config file contains:

| hosts_treat_as_local = "mail.zrz.tu-berlin.de:\
|                         mail2.zrz.tu-berlin.de:\
|                         mailgzrz.tu-berlin.de"


When calling "exim -d24 -bt fe@???" I get:

| DNS lookup of hhi.de (MX) succeeded
| Actual local interface address is 127.0.0.1
| Actual local interface address is 130.149.4.14
| mails.hhi.de in hosts_treat_as_local? no (end of list)
| mailgzrz.TU-Berlin.DE in hosts_treat_as_local? no (end of list)
| mail.zrz.TU-Berlin.DE in hosts_treat_as_local? no (end of list)

                                                 ^^
                                                    Watch this !


| fully qualified name = hhi.de
| host_find_bydns yield = HOST_FOUND (2); returned hosts:
| mails.hhi.de 193.174.64.9 100 10006
| mailgzrz.TU-Berlin.DE 130.149.4.10 150 15046
| mail.zrz.TU-Berlin.DE 130.149.4.15 150 15084
| queued for smtp_de transport: local_part=fe domain=hhi.de
| routed by germany_by_dns router:
| deliver to fe@???
| transport: smtp_de
| host mails.hhi.de [193.174.64.9] MX=100
| host mailgzrz.TU-Berlin.DE [130.149.4.10] MX=150
| host mail.zrz.TU-Berlin.DE [130.149.4.15] MX=150


and the mail goes to "mail.zrz.TU-Berlin.DE" when "mails.hhi.de" is down.

After changing the config file to:

| hosts_treat_as_local = "mail.zrz.TU-Berlin.DE:\
|                         mail2.zrz.TU-Berlin.DE:\
|                         mailgzrz.TU-Berlin.DE"


using the "official" writing with upper-case, "exim -d24 -bt fe@???" gives:

| DNS lookup of hhi.de (MX) succeeded
| Actual local interface address is 127.0.0.1
| Actual local interface address is 130.149.4.14
| mails.hhi.de in hosts_treat_as_local? no (end of list)
| mailgzrz.TU-Berlin.DE in hosts_treat_as_local? yes (matched mailgzrz.TU-Berlin.DE)
| local host in list - removed hosts:
| mailgzrz.TU-Berlin.DE 130.149.4.10 150
| mail.zrz.TU-Berlin.DE 130.149.4.15 150
| fully qualified name = hhi.de
| host_find_bydns yield = HOST_FOUND (2); returned hosts:
| mails.hhi.de 193.174.64.9 100 10048
| queued for smtp_de transport: local_part=fe domain=hhi.de
| routed by germany_by_dns router:
| deliver to fe@???
| transport: smtp_de
| host mails.hhi.de [193.174.64.9] MX=100


Why the difference ?

Is "hosts_treat_as_local" really case-sensitive or is the error on my side?


Regards        _______________________________________________________________ 
Frank Elsner  /                           c/o  Technische Universitaet Berlin |
 ____________/                                 ZRZ, Sekr. E-N 50              |

|                                              Einsteinufer 17                |

|Voice: +49 30 314 23897                       D-10587 Berlin                 |
|SMTP : Elsner@???                        Germany                |
|X400 : /S=Elsner/OU=zrz/P=TU-Berlin/A=d400/C=de/            _________________|
|____________________________________________________________| Ich habe fertig 



--
*** Exim information can be found at http://www.exim.org/ ***