Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!bloom-beacon!eru!luth!sunic!mcsun!ukc!edcastle!cs.glasgow.ac.uk!daemon From: cds@unisoft.com (Chris Seabrook) Newsgroups: mail.uk-sendmail-workers,comp.mail.sendmail Subject: Recognising local domain (UK-2.1) Message-ID: <2047.8912151817@unisoft.unisoft.com> Date: 15 Dec 89 18:17:02 GMT Sender: daemon@cs.glasgow.ac.uk Lines: 54 Approved: usenet@cs.glasgow.ac.uk X-Mailer: Mail User's Shell (6.5 4/17/89) I have recently been setting up UK 2.1 here at UniSoft as a multihost site and have run into a strange problem. The domain name is unisoft.com and the local channel file for all hosts looks like: unisoft unisoft.com LHOST.unisoft LHOST.unisoft.com If I mail to user@unisoft, user@unisoft.com, user@, or user@.unisoft.com everything is fine, but if someone mails to user@.unisoft which I understand to be a legal address the mailer give the "Local Domain Unknown" error. ADDRESS TEST MODE Enter
| 0 user@plover.unisoft rewrite: ruleset 3 input: "user" "@" "plover" "." "unisoft" rewrite: ruleset 11 input: "user" "@" "plover" "." "unisoft" rewrite: ruleset 11 returns: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 10 input: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 10 returns: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 15 input: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 15 returns: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 3 returns: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 0 input: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 18 input: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 18 returns: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 16 input: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 17 input: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 8 input: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 8 returns: "plover" "." "unisoft" "." "unisoft" "." "com" "!" "user" rewrite: ruleset 7 input: "plover" "." "unisoft" "." "unisoft" "." "com" "!" "user" rewrite: ruleset 7 returns: "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" rewrite: ruleset 17 returns: "<" "user" "@" "plover" "." "unisoft" "." "unisoft" "." "com" ">" rewrite: ruleset 17 input: "user" "%" "plover" "." "unisoft" "." "unisoft" "." "com" "@" "unisoft" "." "unisoft" "." "com" rewrite: ruleset 17 returns: "<" "user" "%" "plover" "." "unisoft" "." "unisoft" "." "com" "@" "unisoft" "." "com" ">" "error" rewrite: ruleset 16 returns: "<" "user" "%" "plover" "." "unisoft" "." "unisoft" "." "com" "@" "unisoft" "." "com" ">" "error" rewrite: ruleset 0 returns: $# "error" $: "Local" "Domain" "Unknown" | All of the full domain names like plover.unisoft.com are listed in the ether channel tables which is also included as a domain table as per the examples supplied. At the moment I edit the config file after creation and put a rule into the top of ruleset 10 to map $*unisoft to $1unisoft.com, but I'd be grateful for any hints on how to make this happen for me. Chris Seabrook PS Email replies please as I'm outside the 'uk' distribution area.