Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!edcastle!cs.glasgow.ac.uk!daemon From: jimc@quintus.com (Jim Crammond) Newsgroups: mail.uk-sendmail-workers,comp.mail.sendmail Subject: Resolving domain ordering problems Message-ID: <551.9011050151@brodgar.quintus.com> Date: 5 Nov 90 01:51:15 GMT Sender: daemon@cs.glasgow.ac.uk Lines: 29 Approved: usenet@cs.glasgow.ac.uk Phone: (415) 965 7700 ext 348 In-Reply-To: Malcolm.Harper%prg.oxford.ac.uk@sun.com's message of Thu, 1 Nov 90 16:10:15 GMT <9011011610.AA22151@gruffle.prg.ox.ac.uk> Original-Sender: jimc%quintus.com%quintus@sun.com | There doesn't seem to be any way to override this from the domain and channel | tables -- does anyone have any suggestions? There's no nice way to do this - you have to consider issues like where should user@ph.sun - is it a subdomain of ph.ox.ac.uk or is it sun.ph? A better example is "cs"; is hw.cs really heriot-watt.computer-science or some institution in Czechoslavakia? You basically have 2 choices: remove the top level domains like "ph" and "cs" and force users who really mean to mail to these countries to explicitly route through a uk gateway - user@ph can then route locally as it usually should; or do a clever trick. Here's one from the clever tricks department which basically stuffs extra rules in ruleset 10 to override the nameclash. Add the following rules to your local domain table: @ph @uk.ac.ox.ph # convert to nrs form @uk.ac.ox.ph @ph.ox.ac.uk # nrs to 822 form @mx @uk.ac.mx @uk.ac.mx @mx.ac.uk This also ensures that uk.ac.ox.ph is not considered a subdomain of ph. I think I would use the trick for ph and mx but would delete cs from the top level domain list. -Jim.