[Exim] Exim, Exchange, and DNS - help please!

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Daniel L. Miller
日付:  
To: Exim Users
題目: [Exim] Exim, Exchange, and DNS - help please!
I’ve almost lost what little shreds of self control remain.

I’m using Debian 2.4 – bits of stable, testing, and unstable – and I’m
now trying Exim 4. My configuration is:

Server/Firewall (foxy.amfeslan.local) connected to internet running
Fetchmail, Exim, and Samba.
LAN is using MS2K server with MS Exchange 2k. All local e-mail is
currently being handled via Outlook.

So I setup fetchmail to retrieve all our pop mails, and exim to forward
them on to the Exchange server. After a few kicks, it worked – and has
been working for a while. Now I’ve performed some upgrades/updates –
and something broke.

After further testing, I’ve achieved the following:

exim4 –bt somebody@??? -> works fine
exim4 –bt internaluser@??? -> all relevant MX records point
to non-existent hosts

So I thought I’d check out my DNS situation. Running Bind9 on the local
server (foxy). Didn’t see anything, but you tell me:

$TTL 3h
amfeslan.local.            IN SOA    foxy.amfeslan.local.
dmiller.amfeslan.local. (
                    9000    ; serial
                    3h    ; refresh
                    1h    ; retry
                    1w    ; expire
                    1h    ; minimum
                    )
;
; Name servers
;
amfeslan.local.            IN NS    foxy.amfeslan.local.
;amfeslan.local.        IN NS    mainserver.amfeslan.local.


;
;Addresses for canonical names
;
localhost.amfeslan.local.    IN A    127.0.0.1
foxy.amfeslan.local.        IN A    192.168.0.1
mainserver.amfeslan.local.    IN A    192.168.0.2


aura.amfeslan.local.        IN A    192.168.0.52


;
; Multi-homed hosts
;
foxy.amfeslan.local.        IN A    67.106.235.99


;
; Aliases
smtp.amfeslan.local.        IN CNAME
mainserver.amfeslan.local.


;
; Mail exchanges
;
#amfeslan.local.            IN MX    3
foxy.amfeslan.local.
amfeslan.local.            IN MX    5
mainserver.amfeslan.local.
amfeslan.local.            IN MX    7    smtp.amfeslan.local.
#amfeslan.local.            IN MX    7
aura.amfeslan.local.
#amfeslan.local.            IN MX    10
foxy.amfeslan.local.
amfeslan.local.            IN MX   9    192.168.0.2.


The additional MX entries were made out of desperation. Looking up in
the FAQ, I found a reference to the allow_mx_to_ip (or something like
that), so I tried enabling it – and making a bad MX to IP entry. No
luck.

The only thing that gave a positive result was enabling the MX record
for foxy. That gave a positive routing using the

exim4 –bt dmiller@???

but of course an endless recursive loop is not my goal here.

Any ideas?

Daniel