From owner-freebsd-stable Wed Sep 4 22:55: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF84637B400 for ; Wed, 4 Sep 2002 22:55:02 -0700 (PDT) Received: from smtp-1.enteract.com (smtp-1.enteract.com [207.229.143.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 456EE43E6A for ; Wed, 4 Sep 2002 22:55:02 -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-1.enteract.com (Postfix) with ESMTP id 7DF486368 for ; Thu, 5 Sep 2002 00:55:01 -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 g855sxFb061258 for ; Thu, 5 Sep 2002 00:55:00 -0500 (CDT) (envelope-from jtm@jamestown.21stcentury.net) Received: (from jtm@localhost) by jamestown.21stcentury.net (8.12.5/8.12.5/Submit) id g855swZm061255; Thu, 5 Sep 2002 00:54:58 -0500 (CDT) To: freebsd-stable@freebsd.org Subject: Sendmail refusing periodic script output From: James McNaughton Date: 05 Sep 2002 00:54:56 -0500 Message-ID: <864rd556bz.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-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The Problem: Since upgrading my firewall to match my workstation at 4.6-STABLE, sendmail on the workstation won't accept mail from the firewall which is generated by the periodic scripts. root is aliased to a regular user on the firewall. The regular user on the firewall is aliased to the same regular user on the workstation. Sendmail on the workstation won't accept the periodic script output because sendmail on the firewall changes the sender address to root@localhost.local.dom and that is not a resolvable domain. (reason: 553 5.5.4 ... Real domain name required for sender address) I got email to pass from the firewall to the workstation only by having the firewall masquerade as itself (look, I'm pretending to be me ;) ), but root is an exposed user by default. Therefore, no masquerading. The Solution: So far -- none. I've posted on comp.mail.sendmail without luck. What I know: Since sendmail transmission has been split up into MSP and MTA for security, the MSP submits the message to the MTA with the sender identified as user@name.local.dom. The MTA then changes the sender address to user@localhost.local.dom. Why? I don't know. To me it seems backasswards to have all email issuing from every host running sendmail be identified as coming from localhost.some.net. `localhost' is the computer equivalent of the first personal pronoun. It's like every person being identified as `me'. At any rate, I think the name substitution is done in proto.m4. But its all Greek to me so I can't be sure. I haven't figured a way to stop it yet. Does anyone know? TIA, Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message