From owner-freebsd-questions Wed Aug 21 10:48: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E2B237B400 for ; Wed, 21 Aug 2002 10:47:58 -0700 (PDT) Received: from smtp-2.enteract.com (smtp-2.enteract.com [207.229.143.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B05A43E42 for ; Wed, 21 Aug 2002 10:47:58 -0700 (PDT) (envelope-from jtm63@enteract.com) Received: from jamestown.21stcentury.net (24-148-62-230.na.21stcentury.net [24.148.62.230]) by smtp-2.enteract.com (Postfix) with ESMTP id 8A8F98B25 for ; Wed, 21 Aug 2002 12:47:57 -0500 (CDT) Received: from jamestown.21stcentury.net (localhost [127.0.0.1]) by jamestown.21stcentury.net (8.12.5/8.12.5) with ESMTP id g7LHltuX099367 for ; Wed, 21 Aug 2002 12:47:56 -0500 (CDT) (envelope-from jtm@jamestown.21stcentury.net) Received: (from jtm@localhost) by jamestown.21stcentury.net (8.12.5/8.12.5/Submit) id g7LHlrLT099364; Wed, 21 Aug 2002 12:47:53 -0500 (CDT) To: freebsd-questions@freebsd.org Subject: Sendmail header substitution From: James McNaughton Date: 21 Aug 2002 12:47:48 -0500 Message-ID: <86it24w1bv.fsf@jamestown.21stcentury.net> Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG My problem is this: After upgrading to 4.6, the new sendmail configuration keeps substituting `localhost' for the host name in email headers. This is causing the two nodes on my private network to reject each other's mail. Since I have root on my headless firewall/print server aliased to my user account on my workstation, I can't get the output of periodic scripts as I normally did. This shows up in the sending hosts mail log: Aug 21 03:03:57 tater sendmail[10550]: g7L83q7f010548: to=jtm@jamestown, ctladdr= (0/0), delay=00:00:03, xdelay=00:00:01, mailer=esmtp, pri=33954, relay=jamestown.21stcentury.net. [192.168.1.1], dsn=5.6.0, stat=Data format error And I eventually get a message (after bouncing around some between machines) that includes: ----BEGIN PART OF ERROR MESSAGE---- The original message was received at Wed, 21 Aug 2002 09:00:14 -0500 (CDT) from localhost [127.0.0.1] ----- The following addresses had permanent fatal errors ----- jtm@jamestown (reason: 553 5.5.4 ... Real domain name required for sender address) (expanded from: ) ----- Transcript of session follows ----- ... while talking to jamestown.21stcentury.net.: >>> MAIL From: SIZE=885 <<< 553 5.5.4 ... Real domain name required for sender address ----END PART OF ERROR MESSAGE---- Somewhere in the configuration files now, localhost.$m is being substituted for $j in the headers and the recieving MTA is refusing to accept the message because it thinks itself to be localhost (and it is right!). I don't see why you would do this, but I would like to turn it off. However, I still haven't found a way. Any one know what happened and how to fix it? Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message