[comp.mail.sendmail] Help needed fixing Return-Path:

jiro@shaman.com (Jiro Nakamura) (05/22/91)

Hiya -
	I was wondering if someone could help me fix my rmail/sendmail. I'm
getting a e-mail/news UUCP feed from UUNET. All is fine and working well,
*except* that the "Return-Path:" header in the e-mail I receive is all
wrong. The problem is that it has a "somewhere!" stuck in front of it:

	Return-Path: <somewhere!framers-request@drd.com>
	Return-Path: <somewhere!foo@bar.com>

This messes up mail that bounces, since no system <somewhere> exists. :-(
I have the suspcicion that this is caused my rmail not knowing where the
e-mail is coming from, so it sticks an arbitrary "somewhere!" in front
of it. 

I'd either like to remove the "somewhere!" totally, or replace it with
"uunet!". Does anyone have any suggestions/ideas on how I can do this?
A quick grep of /etc/sendmail/* reveals that there are no "somewhere"s in
my sendmail.cf file. Where is somewhere coming from? ;-(

Any help would be greatly appreciated.

    - Jiro Nakamura
      jiro@shaman.com
-- 
Jiro Nakamura				jiro@shaman.com
The Shaman Group			(607) 256-5125 VOICE
"Bring your dead, dying shamans here!"	(607) 277-1440 FAX/Data

kyle@uunet.uu.net (Kyle Jones) (05/23/91)

jiro@shaman.com (Jiro Nakamura) writes:
 > 	I was wondering if someone could help me fix my rmail/sendmail. I'm
 > getting a e-mail/news UUCP feed from UUNET. All is fine and working well,
 > *except* that the "Return-Path:" header in the e-mail I receive is all
 > wrong. The problem is that it has a "somewhere!" stuck in front of it:
 > [...]
 > I have the suspcicion that this is caused my rmail not knowing where the
 > e-mail is coming from, so it sticks an arbitrary "somewhere!" in front
 > of it.

Yes, there are old rmails out there that do just that.  Try using
the BSD rmail available in ~ftp/bsd-sources/bin/rmail/rmail.c on
UUNET.  It doesn't prepend "somewhere".

kyle jones   <kyle@uunet.uu.net>   ...!uunet!kyle

jiro@shaman.com (Jiro Nakamura) (05/24/91)

In article <1991May22.144914.610@shaman.com> I wrote:
>	I was wondering if someone could help me fix my rmail/sendmail. I'm
>getting a e-mail/news UUCP feed from UUNET. All is fine and working well,
>*except* that the "Return-Path:" header in the e-mail I receive is all
>wrong. The problem is that it has a "somewhere!" stuck in front of it:
>	Return-Path: <somewhere!framers-request@drd.com>
>	Return-Path: <somewhere!foo@bar.com>
>This messes up mail that bounces, since no system <somewhere> exists. :-(
>I have the suspcicion that this is caused my rmail not knowing where the
>e-mail is coming from, so it sticks an arbitrary "somewhere!" in front
>of it. 

	Many thanks to everyone who helped me. I obtained a new copy of rmail
from UUNET (~ftp/bsd-sources/bin/rmail/rmail.c) and plunked it in. At first I 
was *terribly* confused because it didn't seem to work, then after a bit 
of delving into the source, I found out that the default sendmail flag 
for rmail was to queue up mail. The NeXT default is to just shoot it 
through without queueing. So after solving that mystery, everything 
worked great. Again, many thanks to everyone. :-)

	I hope NeXT fixes this in their next release....

	FYI: 	The rmail NeXT provides is 4.8 (Berkeley) 5/15/86
		The new rmail on UUNET is 4.15 (Berkeley) 5/31/90	

	If there is enough demand, I will put the rmail package onto
the NeXT FTP archivers. I had to make some very slight changes to make it 
work with NeXT's (usual stuff, library include files different, specify
shared library, etc.). 

	- Jiro Nakamura
	jiro@shaman.com
-- 
Jiro Nakamura				jiro@shaman.com
The Shaman Group			(607) 256-5125 VOICE
"Bring your dead, dying shamans here!"	(607) 277-1440 FAX/Data