5f60d5c020
courier-0.53.1 as mail/courier-mta. The Courier mail transfer agent (MTA) is a modular multiprotocol mail server that's designed to strike a balance between reasonable performance, flexibility and features. This package differs from traditional courier-mta packages in that the webmail, imap/pop3, and maildrop components are not included because they are supplied by the mail/sqwebmail, mail/courier-imap, and mail/maildrop packages, respectively. When Courier-MTA is installed together with Courier-IMAP and SqWebMail, they form an integrated mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail, and mailing list services within a single, consistent, framework. A web-based administration and configuration tool is included for comprehensive configuration of the entire Courier software suite. Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD was an invaluable reference.
24 lines
678 B
Text
24 lines
678 B
Text
$NetBSD: patch-ah,v 1.1.1.1 2006/04/28 18:10:21 jlam Exp $
|
|
|
|
--- courier/module.local/deliver.c.orig 2005-02-03 21:44:59.000000000 -0500
|
|
+++ courier/module.local/deliver.c
|
|
@@ -633,7 +633,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;
|
|
@@ -725,7 +725,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 == '|')
|
|
{
|