🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #478

my_hdr question

#478
From: Fletcher Mattox
Date: Mon, 13 Aug 1990 23:53
14 lines
766 bytes
If I want my own From: header with, say, 

	my_hdr From: Fletcher Mattox <fletcher@cs.utexas.edu>

then mush 7.1.2 puts no From: in my $record.  Though it happily
sends the custom From:, as expected, to the MTA.  Why is that?

The code in add_headers() seems to intentionally wipe out the
buffer after writing to the MTA with ...

	if (own_from)
	    (void) fputs(own_from, files[i]), *own_from = 0;
	else
	    (void) fputs(From_buf, files[i]);
Technical Details
Message-ID: <11154@cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!fletcher

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!fletcher
From: fletcher@cs.utexas.edu (Fletcher Mattox)
Newsgroups: comp.mail.mush
Subject: my_hdr question
Message-ID: <11154@cs.utexas.edu>
Date: 13 Aug 90 23:53:01 GMT
Organization: U. Texas CS Dept., Austin, Texas
Lines: 14