From owner-freebsd-bugs Sat Apr 20 7:50: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B378437B404 for ; Sat, 20 Apr 2002 07:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3KEo4V84406; Sat, 20 Apr 2002 07:50:04 -0700 (PDT) (envelope-from gnats) Date: Sat, 20 Apr 2002 07:50:04 -0700 (PDT) Message-Id: <200204201450.g3KEo4V84406@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: gnu/37267: send-pr does not add domain to the username Reply-To: Giorgos Keramidas Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR gnu/37267; it has been noted by GNATS. From: Giorgos Keramidas To: Jos Backus Cc: bug-followup@FreeBSD.ORG Subject: Re: gnu/37267: send-pr does not add domain to the username Date: Sat, 20 Apr 2002 17:12:45 +0300 On 2002-04-20 03:21, Jos Backus wrote: > Run send-pr and observe that the e-mail address in the From: > and Reply-To: does not have a domain appended. One might argue that this is easy to fix in the MTA. > +DOMAIN=`test -r /etc/resolv.conf && awk '$1 ~ /(search|domain)/ {print "@"$2; exit}' /etc/resolv.conf` Hmm, so what about places where the first domain is not the correct domain? You could always add `hostname` there, since that's where the message comes from, and most domains have their MTA set up to correctly recognize and masquerade this :-) Just an idea, - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message