Great Circle Associates Majordomo-Users
(December 1994)
 

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

Subject: list creation problems
From: "Carl J. DiGiorgio" <digior+ @ pitt . edu>
Date: Mon, 5 Dec 1994 21:03:55 -0500 (EST)
To: majordomo-users @ greatcircle . com

Hello.  I have recently installed majordomo-1.92 on my Linux system with 
mixed results.  Whenever you send the command request "help" to 
majordomo, it returns the correct response.  However, whenever you send a 
different command such as "lists" or "info" things get screwed up.  
Running sendmail in verbose mode yields the following:
12/05/94 20:36:33: [m0rEopV-000B61C] received
|          from: digior
|       program: sendmail
|       orig-id: <Pine.3.89.9412052005.C248-0100000@psc6ap10>
|          size: 306 bytes
12/05/94 20:36:34: [m0rEopV-000B61C] note: "|/home/majordom/wrapper 
majordomo" .
.. transport pipe: child returned status EX_13 (13)
12/05/94 20:36:34: [m0rEopV-000B61C] delivered
|            to: /home/majordom/wrapper majordomo
|       orig-to: majordomo@psc6ap10
|      director: aliases
|     transport: pipe
12/05/94 20:36:35: [m0rEopX-000B61C] received
|          from: Majordomo-Owner@psc6ap10.awing.upmc.edu
|       program: sendmail
|          size: 258 bytes
12/05/94 20:36:35: [m0rEopX-000B61C] delivered
|            to: digior
|       orig-to: digior@psc6ap10
|      director: user
|     transport: local

The request is totally ignored.  It is not written in the Log file 
either.  I have followed the directions for setting up a list.  I created 
an empty file called sample and another called sample.info which contains 
a little blurb about my list. 
	The aliases file looks as follows:

#
# /usr/lib/aliases
#
# This is used by smail for sendmail compatibility.
# See also the /usr/lib/smail/lists directory for another way
# to make mail lists.
#
# Note: if your /usr/lib/smail/directors says that the aliases
# director uses proto=dbm, you must use mkaliases to make
# /usr/lib/aliases.pag and /usr/lib/aliases.dir, which are the
# actual files used by smail.
#
# If you use proto=lsearch, smail will read this file.  (That's
# much slower but it's OK if this file is small.)
#
# nobody:/dev/null

owner-owner: postmaster
postmaster: digior, stockwel, root

#
# Majordomo Aliases
#
majordomo: "|/home/majordom/wrapper majordomo"
majordom: owner-majordomo
majordomo-owner: digior
owner-majordomo: majordomo-owner

#
# Sample mailing list aliases
#
sample: "|/home/majordom/wrapper resend -p bulk -M 10000 -l sample 
	-f Sample-Owner -h psc6ap10.awing.upmc.edu -s sample-outgoing"
owner-sample: sample-owner
sample-outgoing: :include:/home/majordom/lists/sample, sample-archive
owner-sample-outgoing: sample-owner
sample-archive: /home/majordom/archive/sample
owner-sample-archive: sample-owner
sample-request: "|/home/majordom/wrapper request-answer sample"
owner-sample-request: sample-owner
sample-approval: digior
sample-owner: digior

The majordomo.cf file looks as follows:
# $whereami -- What machine am I running on?
$whereami = "psc6ap10.awing.upmc.edu";

# $whoami -- Who do users send requests to me as?
$whoami = "Majordomo@$whereami";

# $whoami_owner -- Who is the owner of the above, in case of problems?
$whoami_owner = "Majordomo-Owner@$whereami";

# $homedir -- Where can I find my extra .pl files, like majordomo.pl?
# the environment variable HOME is set by the wrapper
$homedir = "/home/majordom";

# $listdir -- Where are the mailing lists?
$listdir = "/home/majordom/lists";

# $digest_work_dir -- the parent directory for digest's queue area
# Each list must have a subdirectory under this directory in order for
# digest to work. E.G. The bblisa list would use:
# 	/usr/local/digest/bblisa
# as its directory.
#$digest_work_dir = '/home/majordom/digest';

# $log -- Where do I write my log?
$log = "/home/majordom/Log";

# $mailer -- What program and args do I use to send mail?
# The variable $to can be interpolated into this command line,
# however the $to variable is provided by the person sending mail,
# and much mischief can be had by playing with this variable.
# Use $to with care.
$mailer = "/usr/lib/sendmail -f\$sender -t";

# Majordomo will look for "get" and "index" files related to $list in
# directory "$filedir/$list$filedir_suffix", so set $filedir and
# $filedir_suffix appropriately.  For instance, to look in
# /usr/local/mail/files/$list, use:
#   $filedir = "/usr/local/mail/files";
#   $filedir_suffix = "";		# empty string
# or to look in $listdir/$list.archive, use:
$filedir = "$listdir";
$filedir_suffix = "";

# $filedir = "/home/majordom/archive";
# $filedir_suffix = ".";

# What command should I use to process an "index" request?
$index_command = "/bin/ls -lRL";

# If you want to use FTPMAIL, rather than local access, for file transfer
# and access, define the following:
#   $ftpmail_address = "ftpmail@decwrl.dec.com";
#   $ftpmail_location = "FTP.$whereami";

# if you want the subject of the request to be included as part of the
# subject of the reply (useful when automatically testing, or submitting
# multiple command sets), set $return_subject to 1.
$return_subject = 1;

# If you are using majordomo at the -request address, set the
# following variable to 1. This affects the welcome message that is
# sent to a new subscriber as well as the help text that is generated.
$majordomo_request = 0;

# Set the umask for the process. Used to set default file status for
# config file.
umask(007);

# the safe locations for archive directories
# None of the parameters that use safedirs are actually used, so 
# @safedirs is a placeholder for future functionality. 
# Just ignore it for version 1.90 through 1.92.
@safedirs = ( );

1;
# $Header: /sources/cvsrepos/majordomo/sample.cf,v 1.4.2.1 1994/06/09 19:45:18 rouilj Exp $

Can anyone tell me what I'm doing wrong?  I've spent more time than I 
thought would be necessary trying to get majordomo configured and am 
ready to give up.  Thanx in advance.

   _ _ _  _ _ _  _ _                                
  / _ _/ /_  _/ /   \  Carl J. DiGiorgio         "The reward for work well
 / /_    _/ /  / / /   cdi@med.pitt.edu           done is the opportunity     
/_ _ / /_ _/  /_ _/    digior+@pitt.edu           to do more" - Jonas Salk




Follow-Ups:
Indexed By Date Previous: Error Messages
From: Jim Radford <root@npl.com>
Next: HELP: Re: Mess fronter/footer
From: whiten@egr.uri.edu (Noah White)
Indexed By Thread Previous: Error Messages
From: Jim Radford <root@npl.com>
Next: Re: list creation problems
From: "Jonathan M. Bresler" <jmb@kryten.atinc.com>

Google
 
Search Internet Search www.greatcircle.com