ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Oct/sendmail-trouble

This is sendmail-trouble in view mode; [Up]


Date: Sun 30-Oct-1989 19:24:16 From: Unknown Subject: sendmail trouble There is an irritating bug in sendmail that causes the NeXT machine to drop the domain name of the sender in the SMTP `From' field. As an example, if I send mail, the return address that the recipient sees is mccalpin@masig3 instead of mccalpin@masig3.ocean.fsu.edu Needless to say, this makes it extremely awkward when trying to send and receive mail from sites outside of the fsu.edu domain.... This behavior seems to be independent of the contents of sendmail.cf, and is independent of whether the machine's hostname is set to the short name or the fully-qualified domain name. Has anyone figured out how to fix this?
Date: Sun 30-Oct-1989 23:52:10 From: Unknown Subject: Re: sendmail trouble In article <MCCALPIN.89Oct30142416@masig3.masig3.ocean.fsu.edu> mccalpin@masig3.masig3.ocean.fsu.edu (John D. McCalpin) writes: >There is an irritating bug in sendmail that causes the NeXT machine to >drop the domain name of the sender in the SMTP `From' field. >As an example, if I send mail, the return address that the recipient >sees is > mccalpin@masig3 >instead of > mccalpin@masig3.ocean.fsu.edu Um, the recipient never sees the SMTP from: line. I take it you're referring to the message header from: line? If so, there's nothing wrong with sendmail, as a quick test from my Neezit demonstrates: |From jgreely Mon Oct 30 18:34:31 1989 |Received: by apple3.cis.ohio-state.edu (NeXT-1.0 (From Sendmail 5.52)/2.890120) | id <AA00383@apple3.cis.ohio-state.edu>; Mon, 30 Oct 89 18:34:22 EST |Date: Mon, 30 Oct 89 18:34:22 EST |From: J Greely <jgreely@cis.ohio-state.edu> |Message-Id: <8910302334.AA00383@apple3.cis.ohio-state.edu> |To: jgreely@cis.ohio-state.edu |Subject: test If you're dropping domains, there's a problem in sendmail.cf, not sendmail. We don't use the NeXT default, so I couldn't point you to the right place to look, but it does work when properly configured. Grab the local sendmail hacker, ply h{im,er} with Cheetos and beer, and hope for the best. >Needless to say, this makes it extremely awkward when trying to send >and receive mail from sites outside of the fsu.edu domain.... With the volume of mail I see in a day, I'd have noticed by now if things were broken that way. "No, no, he's still breathing. See how the blood bubbles out of his nose?" -=- J Greely (jgreely@cis.ohio-state.edu; osu-cis!jgreely) >From: gessel@cs.swarthmore.edu (Daniel Mark Gessel)
Date: Sun 31-Oct-1989 19:37:34 From: Unknown Subject: Re: sendmail trouble There is a problem. The sendmail header line: "Return-Path: <...>" replaces the "..." with a domainless address (i.e. user@node). The domain in that header line is used by other machines in our domain to restrict the usage of certain mail resources (like gateways) to mail that originates in the same domain. Without the domain there, those resources are not available to mail that comes from a NeXT that is, in fact, in the right domain. Just looking at the sendmail.cf file (assuming that it is actually used by sendmail), it seems that the $g macro gets the domainless user name, and the $q variable gets the full user address plus the user's full name. I'm not sure how to change sendmail.cf (or perhaps something else) so that $g contains the domain name, or whether just replacing $g with $q in the header line in question would work. The domain name is properly set in resolv.conf. The sendmail documentation implies that $g should be set to the domainless name if the mail is going to a destination in the same domain, otherwise $g should get the full address. This doesn't seem to be happening. That's all I've been able to glean. Mark Adler - madler@hamlet.caltech.edu >From: aisl@uhura.cc.rochester.edu (Lawrence Landry)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.