a11468cf4c
+ Drop the uucp module from the default option set. + Patch the webmlm sources to not use "stdin" and "stdout" as function or member names as they can be macros according to the C standards. * webadmin: Remove check that prevents multiple virtual domains to be aliased to the same account. * webmlmd: new CGI module that can manage a Courier mailing list created with couriermlm. * Rewrite and code cleanup of couriermlm. * Use domain name, not MX hostname, for looking up authenticated SMTP passwords in esmtpauthclient
24 lines
674 B
Text
24 lines
674 B
Text
$NetBSD: patch-ah,v 1.2 2007/08/10 17:57:05 jlam Exp $
|
|
|
|
--- courier/module.local/deliver.c.orig 2006-05-28 11:29:52.000000000 -0400
|
|
+++ courier/module.local/deliver.c
|
|
@@ -635,7 +635,7 @@ static int docommand(const char *extensi
|
|
const char *defaultmail,
|
|
int recursion_level)
|
|
{
|
|
-char *envs[19];
|
|
+char *envs[20];
|
|
const char *p;
|
|
const char *hostp;
|
|
pid_t pid;
|
|
@@ -727,7 +727,9 @@ const char *shell=getenv("SHELL");
|
|
envs[17]=courier_malloc(strlen(shell)
|
|
+sizeof("SHELL="));
|
|
strcat(strcpy(envs[17], "SHELL="), shell);
|
|
- envs[18]=0;
|
|
+ envs[18]=courier_malloc(sizeof("COURIER_MTA="));
|
|
+ strcpy(envs[18], "COURIER_MTA=");
|
|
+ envs[19]=0;
|
|
|
|
if (*command == '|')
|
|
{
|