include: + Add full DESTDIR support. + Don't create empty, unused directories under ${PREFIX}/share/examples/courier. + Teach mkesmtpdcert generate certificates and keys using the either GNUTLS or OpenSSL tools. * Fix a memory stomp in local delivery agent. * Get rid of the hard 30 minute timeout in sendmail(8). * Rewrite input processing for submit(8) process to use non-blocking I/O to read standard input. When the message source is local (or dsn), get rid of the hard 30 minute timeout, and poll stdin with a 5 minute poll() timeout, at which point the timestamps on all open control and data files are pinged, to keep courierd from purging them based on their old timestamp. Continue to use a hard timeout for all non-local mail.
13 lines
494 B
Text
13 lines
494 B
Text
$NetBSD: patch-ai,v 1.4 2008/02/19 18:45:24 jlam Exp $
|
|
|
|
--- courier/module.local/local.c.orig 2007-10-16 22:04:01.000000000 -0400
|
|
+++ courier/module.local/local.c
|
|
@@ -747,6 +747,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=")+
|