home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / misc / 2950 < prev    next >
Encoding:
Text File  |  1992-09-08  |  3.5 KB  |  91 lines

  1. Newsgroups: comp.mail.misc
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!karl
  3. From: karl@ddsw1.mcs.com (Karl Denninger)
  4. Subject: Re: Smail 3.1 and VISIBLE_NAME Question
  5. Message-ID: <Bu8uF4.9Dv@ddsw1.mcs.com>
  6. Summary: What I do here - make a "config" file
  7. Organization: Macro Computer Solutions, Inc., Chicago, IL
  8. References: <1992Sep4.015435.22490@silogic.uucp>
  9. Date: Tue, 8 Sep 1992 05:11:27 GMT
  10. Lines: 79
  11.  
  12. In article <1992Sep4.015435.22490@silogic.uucp> markd@silogic.uucp (Mark C. DiVecchio (K3FWT)) writes:
  13. >
  14. >I am using smail 3.1 PL 19 at a client and they are part of a registered
  15. >domain. 
  16. >
  17. >The machine is known in the domain as pgs.sony.com.  The actual machine
  18. >name is pgsn1. 
  19. >
  20. >When I send mail, the outgoing address is generated as
  21. >    markd@pgsn1.sony.com
  22. >
  23. >When people try to reply to this address, it bounces since the domain
  24. >machine does not know pgsn1.sony.com but wants to see pgs.sony.com.
  25. >
  26. >Can anyone help me figure out how to set VISIBLE_NAME, HOSTNAMES, and
  27. >GATEWAY_NAMES in the smail conf/EDITME file to get my address to come
  28. >out pgs.sony.com? (or is there something else I have to set?)
  29. >
  30. >Here is a typical header that I get (X and tab inserted so as to not
  31. >confuse anything carrying this message):
  32. >
  33. >X    Return-Path: <pgsn1!markd>
  34. >X    Received: by sonyusa.Sony.COM (4.0/SMI-4.0)
  35. >X        id AA01484; Wed, 2 Sep 92 17:27:34 PDT
  36. >X    Received: by pgs.sony.com ( Smail3.1.18.1 #PL19 )
  37. >X        id <m0mQ4nb-0002dpC@pgs.sony.com>; Wed, 2 Sep 92 17:11 PDT
  38. >X    Message-Id: <m0mQ4nb-0002dpC@pgs.sony.com>
  39. >X    Subject: test
  40. >X    To: sonyusa!markd
  41. >X    Date: Wed, 2 Sep 92 17:11:43 PDT
  42. >X    From: Mark C. DiVecchio <markd@pgsn1.Sony.COM>
  43. >X    X-Mailer: ELM [version 2.3 PL11]
  44. >
  45. >I have set:
  46. >#define VISIBLE_NAME pgs.sony.com
  47. >
  48. >Thanks, mark
  49.  
  50. What I do here is run with a "config" file in the /usr/lib/smail directory.
  51. This over-rides any compiled-in defaults.  I will comment the parts which
  52. are relavent to you; you should be able to create this file with only these
  53. lines in it and have it work:
  54.  
  55. # @(#)config    1.4 10/2/88 09:20:06
  56.  
  57. # This file defines the default state for all variables that can be
  58. # set in the smail config file.  By modifying either the source file
  59. # src/config.h or conf/EDITME the actual default state can be changed.
  60. # Thus, this should be matched up against these two files before
  61. # assuming it is completely correct.
  62.  
  63. # All the names that this host should consider "local"
  64. # (Note that we name two hostnames here, and all the canonical forms that
  65. # might get passed to us in the headers.  This is to make sure that we
  66. # really do handle them all as local.  Note also that anyone sending mail
  67. # the our domain without a hostname is presumed to be sending mail to this
  68. # machine; we're the domain "alias router")
  69. #
  70. hostnames = ddsw1.mcs.com:mcs.com:ddsw1:genesis.mcs.com:genesis:ddsw1.uucp:genesis.uucp
  71. #
  72. # This is our domain list - we feel we are "local" for these.  Probably not
  73. # really needed, but its here so what the heck.
  74. #
  75. visible_domains = mcs.com:uucp
  76. #
  77. # Make sure that any mail that leaves our site has this name in the "From"
  78. # line.  Note that this only applies to locally sent mail (i.e. mail from 
  79. # connected machines is not affected)  Thus "karl" becomes
  80. # "karl@ddsw1.MCS.COM" on mail that I send from this system.
  81. #
  82. visible_name = ddsw1.MCS.COM
  83.  
  84.  
  85. Hope this helps.
  86.  
  87. --
  88. Karl Denninger (karl@ddsw1.MCS.COM, <well-connected>!ddsw1!karl)
  89. Data Line: [+1 312 248-0900] Anon. arch. (nuucp) 00:00-06:00 C[SD]T
  90. Request file: /u/public/sources/DIRECTORY/README for instructions
  91.