🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mail.uk-sendmail-workers
Article #102

Recognising local domain (UK-2.1)

#102
From: Chris Seabrook
Date: Fri, 15 Dec 1989 18:17
54 lines
3562 bytes
	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@<local system>, or
user@<local system>.unisoft.com everything is fine, but if someone mails to
user@<local system>.unisoft which I understand to be a legal address the mailer
give the "Local Domain Unknown" error.

ADDRESS TEST MODE
Enter <ruleset> <address>
| 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.
Technical Details
Message-ID: <2047.8912151817@unisoft.unisoft.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!bloom-beacon!eru!luth!sunic!mcsun!ukc!edcastle!cs.glasgow.ac.uk!daemon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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)