[comp.soft-sys.andrew] AndrewSetup/mail problem

datri@convex.com (Anthony A. Datri) (03/28/91)

[ x11r4 ATK + all current (9) patches.  Built and running on a Sun 4c under
  SunOS 4.1.1.]

Reading through the "setup" help file, I see:

  "Yes" specifies that, when a user sends a message from a workstation whose
  name is different from ThisDomain, the user will be identified as
  "userid@ThisDomain" in the "From: " line of the message.

My /usr/andrew/etc/AndrewSetup file has:

 ThisDomain: concave
 ThisDomainSuffix: convex.com
 AMS_UseWP: no
 AMS_NonAMSDelivery: yes
 AMS_LocalMailSystemExists: yes
 AMS_WSRunsQueuemail: no
 AMS_ThisDomainAuthFromWS: yes


My machine is "lovecraft", and concave is the machine that I'd like to have
show up in my mail headers, since that's where my home directory lives.  Mail
delivery is with normal sendmail, and I have a company-wide alias of the
traditional sort of "datri@concave" for "datri".

Yet, mail that I send from Messages goes out with

  From: "Anthony A. Datri" <datri@lovecraft>

in the headers.  What's going on?  Shouldn't it be "datri@concave"?

I've only recently seen this because I used to have lovecraft's sendmail.cf
use Sun's "OR" feature to do this at the MTA level.  I have an unrelated
need now for a pseudo-user on lovecraft to receive mail locally, though, so I
had to remove the OR business.


--

--
datri@convex.com

Craig_Everhart@TRANSARC.COM (03/29/91)

I think the problem is that your ThisDomain: is set to ``concave'' and
not to ``concave.convex.com''.  The ThisDomainSuffix variable is meant
to be appended to the workstation name as returned by gethostname(), but
not to the explicitly-given value of ThisDomain.

Does this help?

		Craig