Bug 36307 - nmh port cuts off last part of sender domain
Summary: nmh port cuts off last part of sender domain
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-25 16:30 UTC by Matthias Buelow
Modified: 2002-04-21 17:26 UTC (History)
0 users

See Also:


Attachments
file.dat (7.60 KB, message/rfc822)
2002-04-07 21:41 UTC, scott
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Buelow 2002-03-25 16:30:01 UTC
	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 $

Fix: 

see desc
How-To-Repeat: 	see desc
Comment 1 scott 2002-03-25 17:42:02 UTC
Hi-

I'm the maintainer of this port...I just forwarded this off to the
nmh-bugs@mhost.com mailing list to see if anyone there has any ideas.  I've
not seen this behavior at all myself, so I'm not sure what the problem is.

Thanx,

Scott

On Mon, Mar 25, 2002 at 05:23:43PM +0100, Matthias Buelow wrote:
> 
> >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
Comment 2 Matthias Buelow 2002-03-25 17:45:59 UTC
Scott Blachowicz <scott@sabami.seaslug.org> writes:

>I'm the maintainer of this port...I just forwarded this off to the
>nmh-bugs@mhost.com mailing list to see if anyone there has any ideas.  I've
>not seen this behavior at all myself, so I'm not sure what the problem is.

just for the record, I've run nmh 1.0.4 on netbsd and sunos for
quite a while and never seen that behaviour either.
if I can be of any further assistance with tracking this down,
let me know.

--mkb
Comment 3 scott 2002-04-07 21:41:24 UTC
It occurs to me that this should probably be sent to the gnats-submit address
instead of just to freebsd-ports, so here it is.

I need to get someone to commit this.

Thanx,
-- 
Scott Blachowicz
Comment 4 Cy Schubert freebsd_committer freebsd_triage 2002-04-21 15:57:02 UTC
Responsible Changed
From-To: freebsd-ports->cy

I will work with the MAINTAINER to resolve this.
Comment 5 Cy Schubert freebsd_committer freebsd_triage 2002-04-21 17:25:51 UTC
State Changed
From-To: open->closed

Maintainer's patch committed.  Fixed.