Xref: utzoo comp.mail.misc:1090 comp.mail.uucp:1445 comp.sources.d:2465 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!gatech!ncar!woods From: woods@ncar.ucar.edu (Greg Woods) Newsgroups: comp.mail.misc,comp.mail.uucp,comp.mail.sendmail,comp.sources.d Subject: Re: routing problem with sendmail/smail Keywords: mail,smail,sendmail,route Message-ID: <430@ncar.ucar.edu> Date: 13 Jul 88 22:54:54 GMT References: <589@ndcheg.cheg.nd.edu> <426@ncar.ucar.edu> <9938@g.ms.uky.edu> Reply-To: woods@handies.UCAR.EDU (Greg Woods) Organization: Scientific Computing Division/NCAR, Boulder CO Lines: 26 In article <9938@g.ms.uky.edu> david@ms.uky.edu (David Herron -- One of the vertebrae) writes: >In article <426@ncar.ucar.edu> woods@handies.UCAR.EDU (Greg Woods) writes: >>... The only fix I was able to come up with is the following >>hack to main.c, which causes sendmail to be called EVERY TIME the program >>is called as "rmail". >While this is *a* solution I don't think it's the best and it also introduces >a misfeature. > >The misfeature is that you will now be unable -- at least in Evan's case -- >to route mail to the "other" jupiter. That is, unless you're willing >to require your users to type in some!long!path!which!ends!in!the!other!jupiter. As Brian Kantor pointed out, this is not at all true. Mail addressed to user@jupiter.uucp (in Evan's case) will still be routed to the "other" jupiter. Only the UNQUALIFIED name is assumed to be local. It is true that this is a slight inconsistency since machines in the uucp maps that do NOT have conflicting names with local hosts can be addressed as "user@host" (without the explicit .uucp) whereas the .uucp is required if there is a name conflict. I solved THAT problem by simply requiring them to ALWAYS append .uucp if they want automatic routing. I.e. an address of the form $-@$- (sendmail.cf syntax, i.e. only a single token to the right of the @-sign, meaning no domain specified) *must* refer to a local host or the message will be bounced by sendmail before smail is ever called. --Greg