From owner-freebsd-ports Mon Mar 25 8:30:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EB51637B416 for ; Mon, 25 Mar 2002 08:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2PGU1038432; Mon, 25 Mar 2002 08:30:01 -0800 (PST) (envelope-from gnats) Received: from reiher.informatik.uni-wuerzburg.de (wi4d22.informatik.uni-wuerzburg.de [132.187.101.122]) by hub.freebsd.org (Postfix) with ESMTP id E8A4437B405 for ; Mon, 25 Mar 2002 08:23:44 -0800 (PST) Received: by reiher.informatik.uni-wuerzburg.de (Postfix, from userid 1001) id 4C76DACF4; Mon, 25 Mar 2002 17:23:43 +0100 (CET) Message-Id: <20020325162343.4C76DACF4@reiher.informatik.uni-wuerzburg.de> Date: Mon, 25 Mar 2002 17:23:43 +0100 (CET) From: Matthias Buelow Reply-To: Matthias Buelow To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36307: nmh port cuts off last part of sender domain Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36307 >Category: ports >Synopsis: nmh port cuts off last part of sender domain >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 25 08:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Buelow >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD reiher.informatik.uni-wuerzburg.de 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 22 18:00:52 CET 2002 root@reiher.informatik.uni-wuerzburg.de:/usr/src/sys/compile/REIHER i386 >Description: The nmh 1.0.4 port from mail/nmh cuts off the last part of the sender domain/hostname used for the mail envelope, resolving in a bounced message from the destination server because the sender domain could not be resolved. See the following transcript: Mar 25 17:13:22 reiher postfix/smtpd[512]: connect from localhost[127.0.0.1] Mar 25 17:13:22 reiher postfix/smtpd[512]: 23E19ACE2: client=localhost[127.0.0.1] Mar 25 17:13:22 reiher postfix/cleanup[513]: 23E19ACE2: message-id=<20020325161322.23E19ACE2@reiher.informatik.uni-wuerzburg.de> Mar 25 17:13:22 reiher postfix/qmgr[332]: 23E19ACE2: from=, size=641, nrcpt=1 (queue active) The full "from" should be "mkb@reiher.informatik.uni-wuerzburg.de", whereas nmh sends it as "mkb@reiher.informatik.uni-wuerzburg", which obviously is wrong. hostname(1) reports the correct full hostname. Explicitly specifying the "localname" option in /usr/local/etc/nmh/mts.conf works around that problem, I set it to: localname: reiher.informatik.uni-wuerzburg.de which resulted in the desired behaviour. version of ports/nmh is: $FreeBSD: ports/mail/nmh/Makefile,v 1.28 2002/01/06 06:20:20 will Exp $ >How-To-Repeat: see desc >Fix: see desc >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message