Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 17:23:43 +0100 (CET)
From:      Matthias Buelow <mkb@wi4d22.informatik.uni-wuerzburg.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36307: nmh port cuts off last part of sender domain
Message-ID:  <20020325162343.4C76DACF4@reiher.informatik.uni-wuerzburg.de>

next in thread | raw e-mail | index | archive | help

>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=<mkb@reiher.informatik.uni-wuerzburg>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020325162343.4C76DACF4>