Re: [exim] AAAA Lookup despite primary_hostname being set in…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Marc Haber
Data:  
Para: exim-users
Asunto: Re: [exim] AAAA Lookup despite primary_hostname being set in configuration
On Sun, 13 Apr 2008 17:37:43 +0200, Tom Kistner <tom@???>
wrote:
>Marc Haber schrieb:
>> Yes, I asked that question in debian mailing lists and received the
>> usual "no, that's a hack, fix exim" answers. Do judge which approach
>> is the correct one I need to know why exim does these lookups even if
>> primary_hostname is set.
>
>OK, how exacly do you trigger the lookup? (I tried "exim -bd" on a
>non-Debian system and it does not do it for me)


|debianfoo:~# exim -d+all -bd
|02:41:42  2347 Exim version 4.63 uid=0 gid=0 pid=2347 D=fffdffff
|Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
|Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
|Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
|Authenticators: cram_md5 plaintext
|Routers: accept dnslookup ipliteral manualroute queryprogram redirect
|Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
|Fixed never_users: 0
|Size of off_t: 8
|02:41:42  2347 changed uid/gid: forcing real = effective
|02:41:42  2347   uid=0 gid=0 pid=2347
|02:41:42  2347   auxiliary group list: <none>
|02:41:42  2347 seeking password data for user "uucp": cache not available
|02:41:42  2347 getpwnam() succeeded uid=10 gid=10
|02:41:42  2347 configuration file is /var/lib/exim4/config.autogenerated
|02:41:42  2347 log selectors = 00000ffc 00189001
|02:41:42  2347 cwd=/root 3 args: exim -d+all -bd
|02:41:42  2347 trusted user
|02:41:42  2347 admin user
|02:41:42  2347 seeking password data for user "mail": cache not available
|02:41:42  2347 getpwnam() succeeded uid=8 gid=8
|02:41:42  2347 expanding: $1
|02:41:42  2347    result: root
|02:41:42  2347 user name "root" extracted from gecos field "root"
|02:41:42  2347 originator: uid=0 gid=0 login=root name=root
|02:41:42  2347 listening on 127.0.0.1 port 25
|02:41:42  2347 pid written to /var/run/exim4/exim.pid
|02:41:42  2347 changed uid/gid: running as a daemon
|02:41:42  2347   uid=101 gid=103 pid=2347
|02:41:42  2347   auxiliary group list: 103
|02:41:42  2347 LOG: MAIN
|02:41:42  2347   exim 4.63 daemon started: pid=2347, no queue runs, listening for SMTP on [127.0.0.1]:25
|02:41:42  2347 set_process_info:  2347 daemon: no queue runs, listening for SMTP on [127.0.0.1]:25
|02:41:42  2347 daemon running with uid=101 gid=103 euid=101 egid=103
|02:41:42  2347 Listening...
|
|debianfoo:~# cat /etc/resolv.conf
|search localdomain
|nameserver 192.168.8.2
|debianfoo:~# cat /etc/hosts
|127.0.0.1       localhost
|#127.0.1.1      debianfoo.localdomain   debianfoo
|127.0.1.1       debianfoo
|
|# The following lines are desirable for IPv6 capable hosts
|::1     ip6-localhost ip6-loopback
|fe00::0 ip6-localnet
|ff00::0 ip6-mcastprefix
|ff02::1 ip6-allnodes
|ff02::2 ip6-allrouters
|ff02::3 ip6-allhosts
|debianfoo:~# 


|$ sudo tshark -i vmnet8 -n not tcp port 22
|Running as user "root" and group "root". This could be dangerous.
|Capturing on vmnet8
| 75.963375 192.168.8.132 -> 192.168.8.2 DNS Standard query AAAA debianfoo.localdomain
| 76.010425 192.168.8.2 -> 192.168.8.132 DNS Standard query response, No such name

|6 packets captured

I have put up the configuration in use on that system to
http://paste.debian.net/778.

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