Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!osh3!chip From: chip@osh3.OSHA.GOV (Chip Yamasaki) Newsgroups: comp.mail.elm Subject: Re: Problems with From: and SCO's MMDF Keywords: SCO MMDF Message-ID: <1991May26.062846.26980@osh3.OSHA.GOV> Date: 26 May 91 06:28:46 GMT References: <1991May14.054741.477@osh3.OSHA.GOV> <106@iscden.jbsys.com> <1991May19.024643.15169@osh3.OSHA.GOV> <1991May22.164455.16834@news.cs.indiana.edu> <1991May24.012153.9577@metapro.DIALix.oz.au> Organization: U.S. D.O.L - Occupational Safety & Health Admin. Lines: 47 In <1991May24.012153.9577@metapro.DIALix.oz.au> bernie@metapro.DIALix.oz.au (Bernd Felsche) writes: >In <1991May22.164455.16834@news.cs.indiana.edu> mikes@iuvax.cs.indiana.edu > (Michael Squires) writes: >>In article <1991May19.024643.15169@osh3.OSHA.GOV> chip@osh3.OSHA.GOV (Chip Yamasaki) writes: >>> >>>Well, I don't know but I am using Elm 2.3 PL11 with SCO's MMDF and I >>>don't have any problems and have not had to make my own patches. >>Ditto here (Hi, Chip!). Hi Mike! >What's the trick to get the host.domain into the From: line. I've read >(superficially) all the install doc's but there's no clue :-( >Other than that, it compiled and works fine... even under SCO UNIX Well, this is a selected portion of my config.h file (remember that this is generated so you shouldn't make your mods here). I think this is what makes the fully qualified address in the From: line for outbound mail. Hope it helps! /* HOSTNAME: * This symbol contains name of the host the program is going to run on. * The domain is not kept with hostname, but must be gotten from MYDOMAIN. * The dot comes with MYDOMAIN, and need not be supplied by the program. * If gethostname() or uname() exist, HOSTNAME may be ignored. */ /* MYDOMAIN: * This symbol contains the domain of the host the program is going to * run on. The domain must be appended to HOSTNAME to form a complete * host name. The dot comes with MYDOMAIN, and need not be supplied by * the program. If the host name is derived from PHOSTNAME, the domain * may or may not already be there, and the program should check. */ #define HOSTNAME "osh3" /**/ #define MYDOMAIN ".OSHA.GOV" /**/ -- -----------------------+--------------------------------------------------- Charles "Chip" Yamasaki| The opinions expressed here are my own and are not chip@oshcomm.osha.gov | supported or even generally accepted by OSHA. :-) -----------------------+---------------------------------------------------