# $whereami -- What machine am I running on? $whereami = "GLOBE.Gov"; # This is really an MX name # $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 = "$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. # Want to make this automatic, or more obvious, eg: archive dir. # Works fine, since digest creates listname-digest under this dir. $digest_work_dir = "$homedir/digest_work"; # $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"; # Doing the archives under the $lists directory allows creation of the # list file, list config file, and archive directory all at the same # time and place. Putting it elsewhere makes it easy to forget to # create the directory. This interacts with @archive_dir, below. #$filedir = "$listdir"; #$filedir_suffix = ".archive"; # If archive2.pl will *create* the files for me, I can use a separate, obvious # directory; then make @archive_dirs just this.: $filedir = "$homedir/archives"; $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 = 1; # Set the umask for the process. Used to set default file status for # config file. umask(007); #?? From README: # there is a new array in majordomo.cf called # @archive_dirs. This is an array of the fully qualified # pathnames to all of the archive directories. The perl # conisent may want to set the array using a glob style # assignment to avoid having to set hundreds of elements # in the array. # # 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" ); # Synthesize this so we don't have to update this file everytime we # create a list -- that's lame... # Ensure this match $filedir and $filedir_suffix names and structures, above. # ?? archive2.pl expects "-f /path/to/archive/basename" # adding trailing slash gets dirs, but /etc/aliases still specs dir/basename #@archive_dirs = <$filedir/*$filedir_suffix>; @archive_dirs = "$filedir"; # 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; # $Header: /sources/cvsrepos/majordomo/sample.cf,v 1.4.2.1.2.2 1995/01/07 17:35:03 rouilj Exp $