Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem with exim and mail destinations
Date: Thu, 02 Oct 2008 13:47:23
Message-Id: 1222955238.4207.11.camel@camille.espersunited.com
In Reply to: [gentoo-user] Problem with exim and mail destinations by Michael Sullivan
1 On Thu, 2008-10-02 at 08:41 -0500, Michael Sullivan wrote:
2 > I have three boxes: camille.espersunited.com,
3 > catherine.espersunited.com, and baby.espersunited.com . Traditionally,
4 > baby has been our server, but the power supply went bad last April and I
5 > wasn't able to get it fixed until very recently. Since baby went down,
6 > camille has been our server. But now baby is back up again, and acting
7 > as a server, and everything has been going well except this: camille
8 > and catherine as still trying to send mail from cron jobs to camille
9 > instead of to baby. AFAIK I've updated all the appropriate DNS records
10 > on all machines, so how can I fix this? Is it possible to set camille's
11 > exim to forward all mail it receives to the equivalent accounts on baby?
12 >
13 >
14
15 This bothers me:
16
17 camille log # dig camille.espersunited.com MX
18
19 ; <<>> DiG 9.4.2-P2 <<>> camille.espersunited.com MX
20 ;; global options: printcmd
21 ;; Got answer:
22 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58323
23 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
24
25 ;; QUESTION SECTION:
26 ;camille.espersunited.com. IN MX
27
28 ;; AUTHORITY SECTION:
29 espersunited.com. 3600 IN SOA camille.espersunited.com.
30 michael.baby.espersunited.com. 1 10800 3600 604800 3600
31
32 ;; Query time: 0 msec
33 ;; SERVER: 127.0.0.1#53(127.0.0.1)
34 ;; WHEN: Thu Oct 2 08:44:58 2008
35 ;; MSG SIZE rcvd: 91
36
37 baby ~ # dig baby.espersunited.com MX
38
39 ; <<>> DiG 9.4.2-P2 <<>> baby.espersunited.com MX
40 ;; global options: printcmd
41 ;; Got answer:
42 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23312
43 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
44
45 ;; QUESTION SECTION:
46 ;baby.espersunited.com. IN MX
47
48 ;; ANSWER SECTION:
49 baby.espersunited.com. 10800 IN MX 1 baby.espersunited.com.
50
51 ;; AUTHORITY SECTION:
52 espersunited.com. 10800 IN NS baby.espersunited.com.
53
54 ;; ADDITIONAL SECTION:
55 baby.espersunited.com. 10800 IN A 192.168.1.2
56
57 ;; Query time: 6 msec
58 ;; SERVER: 127.0.0.1#53(127.0.0.1)
59 ;; WHEN: Thu Oct 2 08:45:47 2008
60 ;; MSG SIZE rcvd: 85
61
62 As you can see, the request for baby's dig info returns an MX record to
63 baby, but camille's returns no MX record. AFAICT the MX section of both
64 db.espersunited.com files is identical. So why does one return an MX
65 record, and the other doesn't?