ce71595312
- style changes to match other ports. - shorten line length in DESCR. - remove Majordomo reference from COMMENT. - sort PLIST.
77 lines
2.9 KiB
Plaintext
77 lines
2.9 KiB
Plaintext
--- sample.cf.orig Wed Aug 27 17:00:31 1997
|
|
+++ sample.cf Thu Jan 11 13:17:17 2001
|
|
@@ -27,7 +27,7 @@
|
|
|
|
# $listdir -- Where are the mailing lists?
|
|
#
|
|
-$listdir = "$homedir/lists";
|
|
+$listdir = "/var/spool/majordomo/lists";
|
|
|
|
# $digest_work_dir -- the parent directory for digest's queue area
|
|
# Each list must have a subdirectory under this directory in order for
|
|
@@ -35,18 +35,18 @@
|
|
# /usr/local/mail/digest/bblisa
|
|
# as its directory.
|
|
#
|
|
-$digest_work_dir = "/usr/local/mail/digest";
|
|
+$digest_work_dir = "/var/spool/majordomo/digests";
|
|
|
|
# $log -- Where do I write my log?
|
|
#
|
|
-$log = "$homedir/Log";
|
|
+$log = "/var/spool/majordomo/log";
|
|
|
|
# $sendmail_command -- Pathname to the sendmail program
|
|
# usually /usr/lib/sendmail, but some newer BSD systems
|
|
# seem to prefer /usr/sbin/sendmail
|
|
#
|
|
-$sendmail_command = "/usr/lib/sendmail";
|
|
-# $sendmail_command = "/usr/sbin/sendmail";
|
|
+# $sendmail_command = "/usr/lib/sendmail";
|
|
+$sendmail_command = "/usr/sbin/sendmail";
|
|
|
|
# $mailer -- What program and args do I use to send mail to the list?
|
|
# $bounce_mailer -- What is used to send mail anywhere else?
|
|
@@ -80,15 +80,15 @@
|
|
# high by uncommenting the following lines. THIS ONLY WORKS if your "uptime"
|
|
# command (usually found in /usr/bin/uptime or /usr/bsd/uptime)
|
|
# returns a string like:
|
|
-# 5:23pm up 5:51, 9 users, load average: 0.19, 0.25, 0.33
|
|
+# 5:23pm up 5:51, 9 users, load averages: 0.19, 0.25, 0.33
|
|
#
|
|
-#$max_loadavg = 10; # Choose the maximum allowed load
|
|
+$max_loadavg = 10; # Choose the maximum allowed load
|
|
#
|
|
-#$uptime = `/usr/bin/uptime` if -x '/usr/bin/uptime'; # Get system uptime
|
|
+$uptime = `/usr/bin/uptime` if -x '/usr/bin/uptime'; # Get system uptime
|
|
#$uptime = `/usr/bsd/uptime` if -x '/usr/bsd/uptime'; # or uptime is over here.
|
|
#
|
|
#($avg_1_minute, $avg_5_minutes, $avg_15_minutes) =
|
|
-# $uptime =~ /average:\s+(\S+),\s+(\S+),\s+(\S+)/;
|
|
+# $uptime =~ /averages:\s+(\S+),\s+(\S+),\s+(\S+)/;
|
|
#
|
|
#exit 75 if ($avg_15_minutes >= $max_loadavg); # E_TEMPFAIL
|
|
#
|
|
@@ -169,8 +169,8 @@
|
|
# Set the umask for the process. Used to set default file status for
|
|
# config file.
|
|
#
|
|
-umask(007);
|
|
-$config_umask = 007;
|
|
+umask(037);
|
|
+$config_umask = 037;
|
|
|
|
# don't change this. It checks to make sure that you have a new enough
|
|
# version of perl to run majordomo. It is in here because this file is
|
|
@@ -188,9 +188,8 @@
|
|
# Directory where resend temporarily puts its rewritten output message.
|
|
# For the paranoid, this could be changed to a directory that only
|
|
# majordomo has r/w permission to.
|
|
-# Uses the environment variable TMPDIR, since that's pretty common
|
|
#
|
|
-$TMPDIR = $ENV{'TMPDIR'} || "/usr/tmp";
|
|
+$TMPDIR = "/var/spool/majordomo/tmp";
|
|
|
|
# Tune how long set_lock tries to obtain a lock before giving up. Each
|
|
# attempt waits 1 to 10 seconds before trying again and waittime is
|