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

21 lines
643 B
Plaintext

--- archive2.pl.orig Fri Jan 7 08:00:49 2000
+++ archive2.pl Tue May 23 07:47:09 2000
@@ -50,7 +50,7 @@
# Read and execute the .cf file
$cf = $ENV{"MAJORDOMO_CF"} || "/etc/majordomo.cf";
if ($ARGV[0] eq "-C") {
- $cf = $ARGV[1];
+ $cf = "$ENV{'MAJORDOMO_CFDIR'}/$ARGV[1]" unless $ARGV[1] =~ /\//;
shift(@ARGV);
shift(@ARGV);
}
@@ -88,7 +88,7 @@
exit 1;
}
-$sendmail_command = $sendmail_command || "/usr/lib/sendmail";
+$sendmail_command = $sendmail_command || "/usr/sbin/sendmail";
$bounce_mailer = $bounce_mailer || "$sendmail_command -f\$sender -t";
&set_abort_addr($whoami_owner);
&set_mail_from($whoami);