[exim] @[] malfunctioning in exim 4.67?

Top Page
Delete this message
Reply to this message
Author: Marc Haber
Date:  
To: exim-users
Subject: [exim] @[] malfunctioning in exim 4.67?
Hi,

Following a support request, I am trying to check out domain literals
after not doing this for a couple of years. I found out that the
mechanisms I implemented years ago to accomodate this do not work any
more: My domain_literals router does not consider the domain
[192.168.218.33] a local domain despite @[] being listed in the local
domains domainlist:

|4: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
|    link/ether 00:0e:35:93:e7:6b brd ff:ff:ff:ff:ff:ff
|    inet 192.168.218.33/24 brd 192.168.218.255 scope global eth1
|    inet6 fe80::20e:35ff:fe93:e76b/64 scope link
|       valid_lft forever preferred_lft forever


|domain_literal:
| debug_print = "R: domain_literal for $local_part@$domain"
| driver = ipliteral
| domains = ! +local_domains
| transport = remote_smtp

|

|$ exim -d -bt mh@???
|Exim version 4.67 uid=1001 gid=1001 pid=1579 D=fbb95cfd
|Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)
|Support for: crypteq iconv() IPv6 PAM Perl GnuTLS move_frozen_messages Content_Scanning Old_Demime
|Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
|Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa
|Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
|Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
|Fixed never_users: 0
|Size of off_t: 8
|changed uid/gid: forcing real = effective
| uid=0 gid=1001 pid=1579
| auxiliary group list: <none>

|seeking password data for user "uucp": cache not available
|getpwnam() succeeded uid=10 gid=10
|configuration file is /var/lib/exim4/config.autogenerated
|log selectors = 00000ffc 00612001
|admin user
|seeking password data for user "mail": cache not available
|getpwnam() succeeded uid=8 gid=8
|user name "Marc Haber" extracted from gecos field "Marc Haber,,,"
|originator: uid=1001 gid=1001 login=mh name=Marc Haber
|sender address = mh@???
|Address testing: uid=0 gid=102 euid=0 egid=102
|>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|Testing mh@???
|>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|Considering mh@???
|>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|routing mh@???
|--------> domain_literal router <--------
|local_part=mh domain=[192.168.218.33]
|checking domains
|[192.168.218.33] in "@:localhost:@[]:maypole:maypole.sch8.internal"? no (end of list)
|[192.168.218.33] in "! +local_domains"? yes (end of list)
|R: domain_literal for mh@???
|calling domain_literal router
|domain_literal router called for mh@???: domain = [192.168.218.33]
|set transport remote_smtp
|queued for remote_smtp transport: local_part = mh
|domain = [192.168.218.33]
| errors_to=NULL
| domain_data=NULL localpart_data=NULL

|routed by domain_literal router
| envelope to: mh@???
| transport: remote_smtp
| host [192.168.218.33] [192.168.218.33]

|mh@???
| router = domain_literal, transport = remote_smtp
| host [192.168.218.33] [192.168.218.33]

|search_tidyup called
|>>>>>>>>>>>>>>>> Exim pid=1579 terminating with rc=0 >>>>>>>>>>>>>>>>


I think that exim should not use the domain_literals router should
decline on that address since @[] is listed in the local_domains
domainlist and 192.168.218.33 is a local IP address.

Please note that this example is not obfuscated, it is an internal
test network.

Any ideas what's going on here?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834