pkgsrc/mail/courier-mta/patches/patch-ai
jlam 5f60d5c020 First cut at packaging the MTA and mailing list components of
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.
2006-04-28 18:10:21 +00:00

13 lines
498 B
Text

$NetBSD: patch-ai,v 1.1.1.1 2006/04/28 18:10:21 jlam Exp $
--- courier/module.local/local.c.orig 2004-10-23 22:02:38.000000000 -0400
+++ courier/module.local/local.c
@@ -731,6 +731,8 @@ const char *quota;
strlen(argv[7])), "SENDER="),
argv[7]));
+ putenv(strcpy(courier_malloc(sizeof("COURIER_MTA=")),
+ "COURIER_MTA="));
putenv(strcat(strcpy(courier_malloc(sizeof("HOME=")+
strlen(homedir)), "HOME="), homedir));
putenv(strcat(strcpy(courier_malloc(sizeof("DEFAULT=")+