openbsd-ports/mail/majordomo/patches/patch-majordomo
2000-05-24 14:35:41 +00:00

21 lines
799 B
Plaintext

--- majordomo.orig Thu Jan 13 14:29:31 2000
+++ majordomo Tue May 23 07:48:42 2000
@@ -29,7 +29,7 @@
while ($ARGV[0]) { # parse for config file or default list
if ($ARGV[0] =~ /^-C$/i) { # sendmail v8 clobbers case
- $cf = $ARGV[1];
+ $cf = "$ENV{'MAJORDOMO_CFDIR'}/$ARGV[1]" unless $ARGV[1] =~ /\//;
shift(@ARGV);
shift(@ARGV);
} elsif ($ARGV[0] eq "-l") {
@@ -75,7 +75,7 @@
# Define all of the mailer properties:
# It is possible that one or both of $sendmail_command and $bounce_mailer
# are not defined, so we provide reasonable defaults.
-$sendmail_command = "/usr/lib/sendmail"
+$sendmail_command = "/usr/sbin/sendmail"
unless defined $sendmail_command;
$bounce_mailer = "$sendmail_command -f\$sender -t"
unless defined $bounce_mailer;