mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-07 22:58:11 +00:00
2680038293
Use new INSTALL_ aliases Clean up creation of majordom user and group Fix problem where the local host was set to 'thud.cdrom.com' in everyone's config by default.
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
--- sample.cf.orig Tue Oct 8 15:02:14 1996
|
|
+++ sample.cf Sat Oct 26 13:19:04 1996
|
|
@@ -1,23 +1,19 @@
|
|
# $whereami -- What machine am I running on?
|
|
#
|
|
-$whereami = "foo.NOWHERE.COM";
|
|
+$whereami = "%%HOSTNAME%%";
|
|
|
|
# $whoami -- Who do users send requests to me as?
|
|
#
|
|
-$whoami = "Majordomo\@$whereami";
|
|
+$whoami = "majordomo\@$whereami";
|
|
|
|
# $whoami_owner -- Who is the owner of the above, in case of problems?
|
|
#
|
|
-$whoami_owner = "Majordomo-Owner\@$whereami";
|
|
+$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/test/majordomo";
|
|
-}
|
|
+$homedir = "%%PREFIX%%/majordomo";
|
|
|
|
# $listdir -- Where are the mailing lists?
|
|
#
|
|
@@ -29,7 +25,7 @@
|
|
# /usr/local/mail/digest/bblisa
|
|
# as its directory.
|
|
#
|
|
-$digest_work_dir = '/usr/local/mail/digest';
|
|
+$digest_work_dir = "%%PREFIX%%/majordomo/digests";
|
|
|
|
# $log -- Where do I write my log?
|
|
#
|
|
@@ -39,8 +35,8 @@
|
|
# 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?
|
|
@@ -152,7 +148,7 @@
|
|
# majordomo has r/w permission to.
|
|
# Uses the environment variable TMPDIR, since that's pretty common
|
|
#
|
|
-$TMPDIR = $ENV{'TMPDIR'} || '/usr/tmp';
|
|
+$TMPDIR = '%%PREFIX%%/majordomo/tmp';
|
|
|
|
# Tune the number of retries that shlock does before aborting.
|
|
# This defaults to 600, with a random sleep from 1-10 seconds between
|