I just set up Majordomo on DEC UNIX v3.2 and everything seems to
be working well except I'm getting the wrong thing in the
Return-Path field. In particular, mine look like:
Return-Path: <majordom>
instead of something like:
Return-Path: <majordomo-users-owner@greatcircle.com>
Following are my <list>.config file, /etc/majordomo.cf, and the
appropriate lines from /var/adm/sendmail/aliases. Any help will
be greatly appreciated!
Cheers,
-- Art Z.
***** firstmail.config (comments removed) *****
admin_passwd = ####
administrivia = yes
advertise << END
END
approve_passwd = ####
archive_dir =
comments << END
END
date_info = yes
debug = no
description = My First Mailing List
digest_archive =
digest_issue = 1
digest_name = firstmail
digest_rm_footer =
digest_rm_fronter =
digest_volume = 1
digest_work_dir =
maxlength = 40000
message_footer << END
END
message_fronter << END
END
message_headers << END
END
moderate = no
mungedomain = no
noadvertise << END
END
precedence = bulk
private_get = yes
private_index = yes
private_info = no
private_which = yes
private_who = yes
purge_received = no
reply_to = firstmail@majordomo.dra.com
resend_host = majordomo.dra.com
restrict_post =
sender = owner-firstmail
strip = no
subject_prefix =
subscribe_policy = open
***** /etc/majordomo.cf *****
# $whereami -- What machine am I running on?
$whereami = "dra.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/majordomo-1.92";
}
# $listdir -- Where are the mailing lists?
$listdir = "/usr/local/mail/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 = '/usr/local/mail/digest';
# $log -- Where do I write my log?
$log = "$homedir/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 = "$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 = 1;
# 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 = ( "/spool/archive/bblisa", "/usr/spool/archive/firewalls" );
# 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 = 1;
#
# 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;
# $Header: /sources/cvsrepos/majordomo/sample.cf,v 1.4.2.1.2.2 1995/01/07 17:35:03 rouilj Exp $
***** pieces of /var/adm/sendmail/aliases *****
firstmail: "|/usr/local/majordom/1.93/wrapper resend -l firstmail -h dra.com firstmail-outgoing"
firstmail-outgoing: :include:/usr/local/mail/lists/firstmail
owner-firstmail: art
firstmail-request: "|/usr/local/majordom/1.93/wrapper majordomo -l firstmail"
firstmail-approval: art
|
|