2003-05-01 13:59:48 +02:00
|
|
|
$NetBSD: patch-aa,v 1.2 2003/05/01 11:59:50 jmmv Exp $
|
2001-08-01 15:54:10 +02:00
|
|
|
|
2003-05-01 13:59:48 +02:00
|
|
|
--- mailserv.orig 2002-10-23 02:59:51.000000000 +0200
|
2001-08-01 15:54:10 +02:00
|
|
|
+++ mailserv
|
2003-05-01 13:59:48 +02:00
|
|
|
@@ -28,7 +28,7 @@ print "Content-type: text/html\n";
|
2001-08-01 15:54:10 +02:00
|
|
|
## the include files are write-protected, otherwise someone
|
|
|
|
## could add malicious code to them.
|
|
|
|
|
|
|
|
-@INC = (".", "./config");
|
2003-05-01 13:59:48 +02:00
|
|
|
+@INC = (".", "./config", "@PKG_SYSCONFDIR@");
|
2001-08-01 15:54:10 +02:00
|
|
|
&cgiRequire("cgi-lib.pl");
|
|
|
|
&ReadParse();
|
|
|
|
|
2003-05-01 13:59:48 +02:00
|
|
|
@@ -71,7 +71,7 @@ $max = 10;
|
2001-08-01 15:54:10 +02:00
|
|
|
# Program into which mail is piped
|
2003-05-01 13:59:48 +02:00
|
|
|
# You can also override this with $config::mailer.
|
2001-08-01 15:54:10 +02:00
|
|
|
|
|
|
|
-$mailer = "/usr/lib/sendmail -t";
|
|
|
|
+$mailer = "/usr/sbin/sendmail -t";
|
|
|
|
|
2003-05-01 13:59:48 +02:00
|
|
|
# mailer_accepts_f
|
2001-08-01 15:54:10 +02:00
|
|
|
# Use "-f address" for the mailer?
|