remote routing
Hi there I've just had a user complain that our mail server is not routing mail properly to his machine. He has several virtual domains and mail to these machines is not being routed as he expected. I think that qmail is doing the right thing, and his DNS entries are incorrect, but I'd like more knowledgeable folk to verify this. Mail to [EMAIL PROTECTED] goes directly to centaur.graham.ru.ac.za: pa.ru.ac.za -> centaur.graham.ru.ac.za The user thinks it should go via terrapin.ru.ac.za: pa.ru.ac.za -> terrapin.ru.ac.za -> centaur.graham.ru.ac.za Here's what I think qmail does: 1) Look up the MX record of pa.ru.ac.za: rucus:~$ dnsquery -t MX pa.ru.ac.za [snip] pa.ru.ac.za.3D IN CNAME centaur.graham.ru.ac.za. [snip] 2) Resolve centaur.graham.ru.ac.za 3) Look up the MX record of centaur.graham.ru.ac.za rucus:~$ dnsquery -t MX centaur.graham.ru.ac.za Query failed (h_errno = 4) : No address associated with name rucus:~$ 4) No MX. Let's see if it has an A record: rucus:~$ dnsquery -t MX centaur.graham.ru.ac.za [snip] centaur.graham.ru.ac.za. 3D IN A 146.231.32.200 [snip] 5) It does. Send the mail to centaur.graham.ru.ac.za Of all his virtual hosts, I believe only graham.ru.ac.za is configured correctly. 1) Look up the MX record of graham.ru.ac.za rucus:~$ dnsquery -t mx graham.ru.ac.za [snip] graham.ru.ac.za.3D IN MX10 terrapin.ru.ac.za [snip] 2) Send the mail to terrapin.ru.ac.za Is this correct? Thanks. - Keith (who wishes he had a Qmail book to look this up in ;) -- Keith Burdis - MSc (Computer Science) - Rhodes University, South Africa IRC: Panthras JAPHQEFH ---
Re: remote routing
On Thu, Nov 11, 1999 at 03:34:49AM +0200, Keith Burdis wrote: > the right thing, and his DNS entries are incorrect, but I'd like more > knowledgeable folk to verify this. Yes, there seem to be MX records missing for centaur.graham.ru.ac.za that point to terrapin.ru.ac.za > Is this correct? AFAICS your analysis is correct. \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses Research & Development| mailto:[EMAIL PROTECTED] | you funny and you need Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| a mouse to delete files D-80807 Muenchen | Fax: +49 (89) 32356-299 |