Great Circle Associates List-Managers
(August 1995)
 

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

Subject: Digested Lists
From: kirmis @ hermes3 . sps . mot . com (Deirdre Kirmis)
Date: Fri, 4 Aug 1995 13:50:53 -0700 (MST)
To: list-managers @ GreatCircle . COM

I am trying to create a digested version of a list in my Majordomo
list server.  Haven't been able to find any good documentation on
how to successfully configure it.  

My list homedir is /fs/hermes3/majordomo/lists.
My archives homedir is /fs/hermes3/majordomo/archives.
My digest homedir is /fs/hermes3/majordomo/digests.

How do I get a digested list to be sent out daily to the list
members?
ssilist is the list that the users subscribe/send to.  
ssilist-digest is the list where all the messages are digested (i think).

When people send to the list, I would like the list to store the messages
and send them out at the end of the day. 

Do I need two separate lists to accomplish this?

If there is only one subscriber to ssilist (ie: the owner of the list)
and everyone else is subscribed to ssilist-digest, would all messages sent
to ssilist be digested into ssilist-digest based upon my example aliases
file below?

If that is the case, then how do I get the ssilist-digest to send the
messages out only once per day?  Can you please give me an example of
a crontab entry (if it uses cron)?

Is there any good documentation on digests (Majordomo digests for dummies)?


Here is an example of my current aliases file:
########################################################################
# SSILIST List:       SSILIST Distribution List
# Creater/Maintainer: Deirdre Kirmis 
# Creation Date:      07/17/1995
#
ssilist:"|/fs/hermes3/majordomo/wrapper resend -l ssilist -h hermes3.sps.mot.com ssilist-outgoing"
ssilist-digest:ssilist
ssilist-outgoing::include:/fs/hermes3/majordomo/lists/ssilist,"|/fs/hermes3/majordomo/wrapper digest -r -C -l ssilist-digest ssilist-digest-outgoing","|/fs/hermes3/majordomo/wrapper archive2.pl -f /fs/hermes3/majordomo/archives/ssilist/ssilist.archive -a -m"
ssilist-digest-outgoing:owner-ssilist
ssilist-digest-approval:ssilist-owner
#owner-ssilist: Larry_McCarthy-LLM001 @
 email
owner-ssilist: kirmis @
 hermes3
ssilist-owner: owner-ssilist
ssilist-approval: owner-ssilist
########################################################################


This is my Majordomo.cf file:
########################################################################

# $whereami -- What machine am I running on?
$whereami = "hermes3.sps.mot.com";

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

# $whoami_owner -- Who is the owner of the above, in case of problems?
$whoami_owner = "listbot-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 = "/fs/hermes3/majordomo";
}

# $listdir -- Where are the mailing lists?
$listdir = "$homedir/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/mail/digest/bblisa
# as its directory.
$digest_work_dir = "$homedir/digests";

# $log -- Where do I write my log?
$log = "$homedir/majordomo.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 = ".archive";

$filedir = "$homedir/archives";
$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. This should be defined as
# a series of root anchored directory paths as will be used as prefixes
# to the file names specified to the archive2.pl script.
@archive_dirs = ( "$homedir/archives/test", "$homedir/archives/ssilist" );


# Set this to 1 if you want to use the experimental mechanism for allowing
# / in user names. People with lots of X.400 addresses on their lists or
# HP mail whatever may want to set this. However use it at your own risk.
$analyze_slash_in_address = 0;

#
# these tune the experimental matching that is done for addresses with / in
# them. If you haven't turned on the experimental analyze_slash_in_address
# they are ignored. See the source for full explanation of these variables.
#
# if set to 1 ignore the requirement that addresses have an @ sign in the
# address component after the last /.
$no_x400at=0;
# if set to 1 do not look for "/c=" and "/ad=" or "/am=" in the address.
# X.400 seems to require these components.
$no_true_x400=0;

1;

Thanks for any information anyone can give me.
Deirdre Kirmis

# $Header: /sources/cvsrepos/majordomo/sample.cf,v 1.4.2.1.2.2 1995/01/07 17:35:03 rouilj Exp $

Indexed By Date Previous: Re: Architext
From: dattier @ wwa . com (David W. Tamkin)
Next: Re: Digested Lists
From: "Franklin R. Jones" <frjones @ sa . mnet . uswest . com>
Indexed By Thread Previous: re: Architext
From: Lazlo Nibble <lazlo @ swcp . com>
Next: Re: Digested Lists
From: "Franklin R. Jones" <frjones @ sa . mnet . uswest . com>

Google
 
Search Internet Search www.greatcircle.com