Great Circle Associates Majordomo-Users
(April 2001)
 

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

Subject: Re: Majordomo and Netscape
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet eCommerce Solutions, A Sun|Netscape Alliance
Date: Thu, 12 Apr 2001 12:44:50 -0500
To: Luis <luisev3 @ airtel . net>
Cc: majordomo-users @ GreatCircle . COM
References: <3AC0A981.3D75C268@airtel.net>

You may want to dig through the archives a bit to find the answer, near
the end of July 2000, but the problem is that Netscape Messaging tacks 
a ^M onto each line in the message file as it delivers to programs.  
This can be stripped for mail being delivered to unix mailboxes, but not
programs.

The problem this creates, is that majordomo is looking for a "true" 
blank line as a separator between message headers and bodies.  A ^M
on a line makes it no longer blank.  You may want to pre-process files
(messages) sent to majordomo with `sed e 's/^M//g'`  This could probably
be inserted in majordomo.pl between lines 58&59 as s/^M//g.  Keep in 
mind that ^M is a single character which can be typed as ctrl-V ctrl-M
(or for perl regex purposes, perhaps \cM).

I honestly can not remember off hand, what I did or where, to fix this.

Dan Liston

Luis wrote:
> 
>     Hi!
> I'm trying to set up Majordomo with Netscape Messaging Server 4, but it
> doesn't work. I have activated the "Program Delivery" feature to the
> Majordomo account, but it seems to be an error when Netscape Server
> sends the mail to the wrapper. Majordomo returns an error indicating
> that it hasn't found any command at the body of the message.
> 
> Is there anybody who can help me? Or is there any doc or web page
> containing info about this scenario?
> 
> Thanks in advance
> 
> Luis


Indexed By Date Previous: RE: One button registration
From: "Brian Sullivan" <brians@meetingbywire.com>
Next: Re: Majordomo Webmin setup
From: Dan Liston <dliston@netscape.com>
Indexed By Thread Previous: RE: One button registration
From: "Brian Sullivan" <brians@meetingbywire.com>
Next: Bounce handling
From: "Stephane Rozes" <Stephane.Rozes@Cert-Ist.com>

Google
 
Search Internet Search www.greatcircle.com