Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!ucsd!usc!srhqla!nrcvax!kosman!kevin From: kevin@kosman.UUCP (Kevin O'Gorman) Newsgroups: comp.mail.mush Subject: Getting a bad hostname for smart UUCP system Message-ID: <1179@kosman.UUCP> Date: 31 May 90 05:35:48 GMT Organization: K.O.'s Manor - Vital Computer Systems, Oxnard, CA 93035 Lines: 27 I've been running fine in most respects since I first installed mush a year ago or so. However, when I started accessing a certain mail server, one of the intermediate sites started to complain. We tracked it down. I have a SYSV UUCP-only system with enough other software that I'm happy with domain addresses. In this case, MUSH wants to believe that the correct From: line for my system is my login name, an '@', and the results of uname(2). This gives me the bogus header From: kevin@kosman This is bogus because any address with an '@' must have a domain, and some internet mailers, on seeing such a thing, assume it's local and add their own domain. This happened, and something very awkward happened after the messages got to the server: the server believed what it saw. Anyway, it seems to me there could be something in config.h to indicate this sort of case, or at least some documentation to help folks like me avoid annoying the neighbors. What I did was add a line to .mushrc: set hostname=${hostname}.uucp # give it a fake domain and it looks like it's working. It avoids confusing most sendmail configurations, and does the right thing in a lot of other cases, even though .uucp is not strictly speaking a domain. -- Kevin O'Gorman ( kevin@kosman.UUCP, kevin%kosman.uucp@nrc.com ) voice: 805-984-8042 Vital Computer Systems, 5115 Beachcomber, Oxnard, CA 93035 Non-Disclaimer: my boss is me, and he stands behind everything I say.