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
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
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
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
Responsible Changed From-To: freebsd-ports->cy I will work with the MAINTAINER to resolve this.
State Changed From-To: open->closed Maintainer's patch committed. Fixed.