Great Circle Associates Majordomo-Users
(May 1994)
 

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

Subject: Majordomo help
From: pzee @ express . com (Philip J. Zee)
Date: Thu, 26 May 1994 11:31:09 -0800
To: Majordomo-Users @ GreatCircle . COM

I wonder if anyone could answer my question about majordomo.

I have installed majordomo on my machine.  I am at Information Express in Palo
Alto.  I used one machie (infoexp) as mail server and another (alto) as pop
server.  So, all mail messages are kept on alto.

I installed majordomo on alto.  Its source code is in /usr/local/src/majordomo
and its home directory is :/usr/local/tools/majordomo and its listdir is
/usr/local/tools/domolist.

I have an entry in /etc/passwd file for majordomo:
majordom:rP0nXigu4u2:100:30:majordomo list server:/usr/local/tools/majordomo:
and there is a group called majordomo.

The following is in my /etc/aliases file concerning majordomo and my sample
list:
###########################
# majordomo aliases below #
###########################
majordomo: "|/usr/local/tools/majordomo/wrapper majordomo"
majordomo-owner: pzee
owner-majordomo: pzee

#
# Sample mailing list
#
owner-sample: sample-owner
sample: "|/usr/local/mail/majordomo/wrapper resend -p bulk -M 10000 -R -l sample
 -f Sample-Owner -h express.com -s sample-outgoing"
sample-owner: pzee
sample-approval: sample-owner
sample-outgoing:
     :include:/usr/local/tools/domolist/sample, sample-archive owner-sample-outg
oing: sample-owner
     sample-archive: /usr/local/tools/domolist/sample
owner-sample-archive: sample-owner
sample-request:
        "|/usr/local/tools/majordomo/wrapper request-answer sample" owner-sample
-request: sample-owner
owner-sample-owner: pzee

My perl program is in /usr/bin/perl and this is the first line of my resend
program which is a perl script and exeutable.

When I was about to test it, I issued a command:
echo help | /usr/lib/sendmail -v sample

and here is the output:

sample... aliased to "|/usr/local/mail/majordomo/wrapper resend -p bulk -M 10000
 -R -l sample -f Sample-Owner -h express.com -s sample-outgoing"
"|/usr/local/mail/majordomo/wrapper resend -p bulk -M 10000 -R -l sample -f Samp
le-Owner -h express.com -s sample-outgoing"... unknown mailer error 1
sample-owner... aliased to pzee
pzee... Sent

and the returned message is:

Date: Thu, 26 May 1994 11:23:20 -0700
From: Mail Delivery Subsystem <MAILER-DAEMON>
Subject: Returned mail: unknown mailer error 1
To: sample-owner
MIME-Version: 1.0

The original message was received at Thu, 26 May 1994 11:23:20 -0700
from pzee@localhost

   ----- The following addresses had delivery problems -----
"|/usr/local/mail/majordomo/wrapper resend -p bulk -M 10000 -R -l sample -f
Sample-Owner -h express.com -s sample-outgoing"  (unrecoverable error)
    (expanded from: sample)

   ----- Transcript of session follows -----
554 "|/usr/local/mail/majordomo/wrapper resend -p bulk -M 10000 -R -l
sample -f Sample-Owner -h express.com -s sample-outgoing"... unknown mailer
error 1

   ----- Original message follows -----

Content-Type: message/rfc822

Return-Path: pzee
Received: (from pzee@localhost) by alto.express.com (8.6.8/8.6.6) id
LAA00163 for sample; Thu, 26 May 1994 11:23:20 -0700
Date: Thu, 26 May 1994 11:23:20 -0700
From: "Philip J. Zee" <pzee>
Message-Id: <199405261823.LAA00163@alto.express.com>
Apparently-To: sample

help

Could anyone who's installed this before tell me what I did wrong?

By the way, here is my config file:

# $whereami -- What machine am I running on?
$whereami = "alto.express.com";

# $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
if ( defined $ENV{"HOME"}) {
     $homedir = $ENV{"HOME"};
} else {
     $homedir = "/usr/local/tools/majordomo";
}

# $listdir -- Where are the mailing lists?
$listdir = "/usr/local/tools/domolist";

# $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/mail/digest/bblisa
# as its directory.
$digest_work_dir = '/usr/local/tools/mail/digest';

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

# $mailer -- What program and args do I use to send mail?
$mailer = "/usr/lib/sendmail -f\$sender \$to";

# 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 = ".archive";

$filedir = "$listdir";
$filedir_suffix = ".archive";

# 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.
@safedirs = ( );

1;
# $Header: /sources/cvsrepos/majordomo/sample.cf,v 1.4 1994/05/08 20:27:38 rouil
j Exp $

Thank you all for your time,

Philip


____________________________________________________________________________
Philip J. Zee                                                  /    /    /
Information Express                                           /    /    /
3250 Ash St.                                     o    o    o /    /    /
Palo Alto, CA 94306                                 o    o  /  o /    /
Main: (415) 494-8787 DID: (415) 812-3530               o   /o   /o   /
Internet: pzee@express.com                                /    /    /
____________________________________________________________________________



Indexed By Date Previous: archiving messages to a list...then what ?
From: "Vincent D. Skahan" <vds7789@aw101.iasl.ca.boeing.com>
Next: Re: Majordomo help
From: "Dougal Campbell" <Dougal@multi.iquest.com>
Indexed By Thread Previous: archiving messages to a list...then what ?
From: "Vincent D. Skahan" <vds7789@aw101.iasl.ca.boeing.com>
Next: Re: Majordomo help
From: "Dougal Campbell" <Dougal@multi.iquest.com>

Google
 
Search Internet Search www.greatcircle.com