Great Circle Associates Majordomo-Users
(November 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Precedence in every email body
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Fri, 03 Nov 2000 12:36:45 -0600
To: Ryan Shook <rjshook @ spadina . net>
Cc: MajorDomo List <majordomo-users @ GreatCircle . COM>
References: <Pine.LNX.4.21.0011031147170.4340-100000@phillip.spadina.net>

Ryan Shook wrote:
> 
> On Fri, 3 Nov 2000, Dan Liston wrote:
> 
> > This would be near line 749 of resend.  If you have to take this
> > extreme measure though, something more serious is wrong.  $sender
> > is somehow not getting chomped of the original \n.
> That's what I figured, but when no other problems showed up and I found a
> workable solution I left things alone.
> 
> > What are you using in majordomo.cf for $whereami?
> # $whereami -- What machine am I running on?
> #
> $whereami = `/bin/hostname -f`;
> 
> which returns:
> phillip.spadina.net
> 
> > What are you using in your listname.config for "sender = "?
> sender              =   owner-dark_musings
> 
This is part of your problem.  Any time you use and executable to 
refer to your hostname where a literal should be provided, you 
MUST "chomp" it to prevent a stray new-line from getting into your
headers.  Either change your majordomo.cf to the preferred method,

$whereami = "phillip.spadina.net";

or if you insist on using the executable,

chomp($whereami = `/bin/hostname -f`);


Dan Liston


Indexed By Date Previous: RE: Precedence in every email body
From: John W Baxter <jwblist@olympus.net>
Next: Re: list is sent out several times
From: Dan Liston <dliston@netscape.com>
Indexed By Thread Previous: Re: Precedence in every email body
From: Dan Liston <dliston@netscape.com>
Next: Re: Virtual lists : can't get mail back to same domain as host
From: Dan Liston <dliston@netscape.com>

Google
 
Search Internet Search www.greatcircle.com