Xref: utzoo comp.mail.misc:1101 comp.mail.uucp:1459 comp.mail.sendmail:4
Path: utzoo!attcan!uunet!lll-winken!ubvax!ames!ucsd!brian
From: brian@ucsd.EDU (Brian Kantor)
Newsgroups: comp.mail.misc,comp.mail.uucp,comp.mail.sendmail
Subject: Re: routing problem with sendmail/smail
Keywords: mail,smail,sendmail,route
Message-ID: <1028@ucsd.EDU>
Date: 13 Jul 88 18:50:10 GMT
References: <589@ndcheg.cheg.nd.edu> <374@eve>
Reply-To: brian@ucsd.edu (Brian Kantor)
Organization: UCSD Academic Network Operations
Lines: 44

What we do at UCSD is:

All mail leaving here has a return address that looks like this 

	on the internet:
		user%campushost@UCSD.EDU
	on the uucp network
		ucsd!campushost.ucsd.edu!user

Mail addressed as

	wombat!user	will be delivered to the campus host
	'wombat.ucsd.edu' if there is such a host, otherwise it will be
	routed via the uucp maps to wherever wombat is.

	user@wombat	will be delivered to the campus host
	'wombat.ucsd.edu' if there is such a host, otherwise it will be
	returned as undeliverable.

	user@wombat.ucsd.edu	ditto
	user%wombat@ucsd.edu	ditto

	user@wombat.uucp	will be delivered via the route derived
	from the uucp maps regardless of whether is a campus host named
	'wombat' or not.

	user%wombat.uucp@ucsd.edu	ditto

In other words, we're treating '.uucp' as an explicit domain that is NOT
our local domain, and we're treating '!' as a pseudo-domain-specification 
that implies that the uucp domain should be tried if a host is not found
in the local domain.  This works really well for us.

If you want a copy of the incredibly baroque sendmail.cf file that does
all this, it's available via anonymous FTP from host UCSD.EDU
(128.54.16.1) on the Internet.

BTW, we use 'uumail' as a sendmail post-processor to do the uucp
routing.  Smail was too broken at the time we set this whole thing up to
even consider using it, and I don't like to change a working system.

	Brian Kantor	UCSD Postmaster
		UCSD Office of Academic Computing
		UCSD B-028, La Jolla, CA 92093 USA
		brian@ucsd.edu	BRIAN@UCSD ucsd!brian