Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!oxy!prophet From: prophet@oxy.edu (Dale Bruce LaFountain) Newsgroups: comp.mail.sendmail Subject: Help configuring sendmail in subdomain on NeXT cube Message-ID: <172680@tiger.oxy.edu> Date: 5 Jun 91 22:51:21 GMT Distribution: usa Organization: Occidental College, Los Angeles, CA 90041 Lines: 73 I am administering a NeXT cube and a NeXTstation for our math department. Recently, our Computer Center made a subdomain for all present and future math department machines. Since then, mail on these two machines has been flaky at best. The cube has been configured to be a mail server (for the station). Here are the symptoms: Mail host: hostname cub, domain math.oxy.edu Mail gateway: hostname gate, domain oxy.edu I have added lines to ruleset 0 indicating that 'cub.math.oxy.edu', 'cub.oxy.edu','jaguar.oxy.edu', and 'jaguar.math.oxy.edu' should be LOCAL, and I have defined my official hostname with 'Dj$w'. Sending a mail message from jaguar.math.oxy.edu to bobcat.oxy.edu results in the following message: From prophet@cub Tue Jun 4 18:29:40 1991 Return-Path: Received: from cub (cub.math.oxy.edu) by bobcat.oxy.edu (4.0/SMI-4.0) id AA09916; Tue, 4 Jun 91 18:29:37 PDT Received: from jaguar.math.oxy.edu. (jaguar) by cub (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0) id AA00240; Tue, 4 Jun 91 18:25:07 GMT-0800 Message-Id: <9106050225.AA00240@cub> Received: by jaguar.math.oxy.edu. (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0) id AA01279; Tue, 4 Jun 91 18:21:04 PDT From: prophet@cub Subject: testing from jaguar To: prophet@bobcat.oxy.edu Date: Tue, 4 Jun 91 18:21:02 PDT X-Mailer: ELM [version 2.3 PL11] Status: RO . ------ As you can see, the Return-Path only gives the hostname of the sender, as does part of the Received line, the Message-Id, and the From: line. I have since changed the hostname to the full domainname (cub.math.oxy.edu) and all of the above partially qualified addresses became fully qualified. However, this is not a good solution to this problem. To make matters worse, sending mail from bobcat.oxy.edu to cub.math.oxy.edu will bounce, giving the error message 'Cannot find hostname "cub" "." "math" in domain "oxy.edu".' I can, however, send mail to both 'prophet@cub' and 'prophet@cub.oxy.edu' successfully. Sending mail to 'prophet@cub.math.oxy.edu' from cub itself also does strange things. The mail gets through, but the To: line is changed to read 'prophet@math.oxy.edu'. The Return-Path is correctly set to . Several questions arise from my above ramblings: 1) Why does sendmail look at my hostname instead of my domainname when building the mail headers? (and the next logical question of how to fix it...) 2) Why does sendmail recognize user@cub.math.oxy.edu when mailed locally (even though it mungs the address anyway) but doesn't recognize it when mail comes through the SMTP port? 3) Why does sendmail chop the To: line down to the domain of my machine when sending mail to myself with a fully qualified address? Assistance on any of these questions would be greatly appreciated. If you read this after June 8 and wish to respond, please redirect that response to paul@gate.oxy.edu, as I will be away for the summer after June 9. Thanks in advance, Dale LaFountain System Administrator Math Dept. Occidental College prophet@oxy.edu