🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #1157

Re: Smail 3.1 and VISIBLE_NAME Question

#1157
From: Karl Denninger
Date: Tue, 08 Sep 1992 05:11
79 lines
3653 bytes
In article <1992Sep4.015435.22490@silogic.uucp> markd@silogic.uucp (Mark C. DiVecchio (K3FWT)) writes:
>
>I am using smail 3.1 PL 19 at a client and they are part of a registered
>domain. 
>
>The machine is known in the domain as pgs.sony.com.  The actual machine
>name is pgsn1. 
>
>When I send mail, the outgoing address is generated as
>	markd@pgsn1.sony.com
>
>When people try to reply to this address, it bounces since the domain
>machine does not know pgsn1.sony.com but wants to see pgs.sony.com.
>
>Can anyone help me figure out how to set VISIBLE_NAME, HOSTNAMES, and
>GATEWAY_NAMES in the smail conf/EDITME file to get my address to come
>out pgs.sony.com? (or is there something else I have to set?)
>
>Here is a typical header that I get (X and tab inserted so as to not
>confuse anything carrying this message):
>
>X	Return-Path: <pgsn1!markd>
>X	Received: by sonyusa.Sony.COM (4.0/SMI-4.0)
>X		id AA01484; Wed, 2 Sep 92 17:27:34 PDT
>X	Received: by pgs.sony.com ( Smail3.1.18.1 #PL19 )
>X		id <m0mQ4nb-0002dpC@pgs.sony.com>; Wed, 2 Sep 92 17:11 PDT
>X	Message-Id: <m0mQ4nb-0002dpC@pgs.sony.com>
>X	Subject: test
>X	To: sonyusa!markd
>X	Date: Wed, 2 Sep 92 17:11:43 PDT
>X	From: Mark C. DiVecchio <markd@pgsn1.Sony.COM>
>X	X-Mailer: ELM [version 2.3 PL11]
>
>I have set:
>#define VISIBLE_NAME pgs.sony.com
>
>Thanks, mark

What I do here is run with a "config" file in the /usr/lib/smail directory.
This over-rides any compiled-in defaults.  I will comment the parts which
are relavent to you; you should be able to create this file with only these
lines in it and have it work:

# @(#)config	1.4 10/2/88 09:20:06

# This file defines the default state for all variables that can be
# set in the smail config file.  By modifying either the source file
# src/config.h or conf/EDITME the actual default state can be changed.
# Thus, this should be matched up against these two files before
# assuming it is completely correct.

# All the names that this host should consider "local"
# (Note that we name two hostnames here, and all the canonical forms that
# might get passed to us in the headers.  This is to make sure that we
# really do handle them all as local.  Note also that anyone sending mail
# the our domain without a hostname is presumed to be sending mail to this
# machine; we're the domain "alias router")
#
hostnames = ddsw1.mcs.com:mcs.com:ddsw1:genesis.mcs.com:genesis:ddsw1.uucp:genesis.uucp
#
# This is our domain list - we feel we are "local" for these.  Probably not
# really needed, but its here so what the heck.
#
visible_domains = mcs.com:uucp
#
# Make sure that any mail that leaves our site has this name in the "From"
# line.  Note that this only applies to locally sent mail (i.e. mail from 
# connected machines is not affected)  Thus "karl" becomes
# "karl@ddsw1.MCS.COM" on mail that I send from this system.
#
visible_name = ddsw1.MCS.COM


Hope this helps.

--
Karl Denninger (karl@ddsw1.MCS.COM, <well-connected>!ddsw1!karl)
Data Line: [+1 312 248-0900] Anon. arch. (nuucp) 00:00-06:00 C[SD]T
Request file: /u/public/sources/DIRECTORY/README for instructions
Technical Details
Message-ID: <Bu8uF4.9Dv@ddsw1.mcs.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!karl
References: <1992Sep4.015435.22490@silogic.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!karl
From: karl@ddsw1.mcs.com (Karl Denninger)
Subject: Re: Smail 3.1 and VISIBLE_NAME Question
Message-ID: <Bu8uF4.9Dv@ddsw1.mcs.com>
Summary: What I do here - make a "config" file
Organization: Macro Computer Solutions, Inc., Chicago, IL
References: <1992Sep4.015435.22490@silogic.uucp>
Date: Tue, 8 Sep 1992 05:11:27 GMT
Lines: 79