Great Circle Associates Majordomo-Users
(October 1998)
 

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

Subject: Re: Majordomo and errors, Help...
From: Colin Cyr <ccyr @ sycore . ml . org>
Date: Mon, 26 Oct 1998 02:04:41 -0700
To: "Greg Boug" <Greg . Boug @ unico . com . au>, majordomo-users @ greatcircle . com
In-reply-to: Your message of "Mon, 26 Oct 1998 15:09:47 +1100." <000401be0096$780a06d0$920ba8c0@anlashok>
Reply-to: ccyr @ home . com

Please reply to 'ccyr@home.com' as my own domain is at the end of a connection 
that has gone quite flakey (extremely volitile, 70+% packet loss) which they 
can't have service crews out until Tuesday to correct.

For those of you on the list who are new to my problem, here are the details 
(If you require past history I can send you previous e-mails).

I'm attempting to setup Majordomo 1.94.4 on an RH5.1 system.  Sendmail 8.8.7, 
Perl 5.004_04.

Upon running 'wrapper config-test' it says all is fine and dandy (as a normal 
user).  Upon manually checking all the permissions multiple times, everything 
checks out.  There is a 'touched' file and a file containing e-mail addresses 
in the 'lists' dir.

All of the aliases have been setup and confirmed by half a dozen people.  The 
majordomo.cf has been confirmed by two others.

Testing using 'echo 'lists' | mail majordomo' caused me to receive an error 
message regarding 'Unknown mailer error 9' and a second message with only 
'<<<< lists' or similar.

Upon going in to manually test it, I su'd to 'mail' and ran it all manually.  
What follows is a description of the events occuring from this point on.  All 
help is greatly appreciated.

> That can be fixed by adding:
> 
> Tdaemon

I'm an m4 kind of guy, have any clues how to add it to the mc file?

If it were just a question of the sendmail.cf I'd have done it awhile back. ;)

> OK... Mailer error 9 means that the program exited with a 
> returncode of 9. I had a look through your config file you
> emailed and it looks fine. 
> 
> Try running majordomo by hand and see what happens
> ('/usr/local/majordomo-1.94.4/wrapper majordomo < testemail' should
> do it) and see what errors occur. Be sure to run it as the 
> majordomo user, that way you pick up any permission problems...

When I run it as either 'mail' or 'majordomo' I get:

Substitution loop at /usr/local/majordomo-1.94.4/majordomo line 177, <> chunk 
1.

When using the following test message:

Return-Path: ccyr
Delivery-Date: Fri Oct 23 13:41:03 1998
Received: (from ccyr@localhost)
        by sycore.ml.org (8.8.7/8.8.7) id NAA02528;
        Fri, 23 Oct 1998 13:41:02 -0600
Date: Fri, 23 Oct 1998 13:41:02 -0600
From: Colin Cyr <ccyr@sycore.ml.org>
Message-Id: <199810231941.NAA02528@sycore.ml.org>
To: majordomo@sycore.ml.org

lists

--------------------------
Line 177 of the code is the following substitution.  Upon a looking at all the 
code in this section, I personally can't see how this line or any lines in the 
block/loop could cause this to loop.

    s/^\s*//g;				# strip leading whitespace

> Good luck! :)
Thanks, I'll need it.

-- 
Colin Cyr			(ccyr at home dot com)




Follow-Ups:
Indexed By Date Previous: Re: A couple of questions on Mail Headers
From: Wolfgang Egger <beuys@cs.tu-berlin.de>
Next: Re: Majordomo and errors, Help...
From: Patrick Wiseman <lawppw@gsulaw.gsu.edu>
Indexed By Thread Previous: Re: A couple of questions on Mail Headers
From: Justin Sheehy <justin@linus.mitre.org>
Next: Re: Majordomo and errors, Help...
From: Patrick Wiseman <lawppw@gsulaw.gsu.edu>

Google
 
Search Internet Search www.greatcircle.com