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.
28 lines
705 B
Text
28 lines
705 B
Text
$NetBSD: patch-ag,v 1.3 2008/02/19 18:45:24 jlam Exp $
|
|
|
|
--- courier/module.esmtp/mkesmtpdcert.in.orig 2007-11-04 16:17:03.000000000 -0500
|
|
+++ courier/module.esmtp/mkesmtpdcert.in
|
|
@@ -9,7 +9,13 @@
|
|
# ESMTP STARTTLS. Normally this script would get called by an automatic
|
|
# package installation routine.
|
|
|
|
-if test "@ssllib@" = "openssl"
|
|
+case "$1" in
|
|
+gnutls) ssllib=gnutls ;;
|
|
+openssl) ssllib=openssl ;;
|
|
+*) ssllib="@ssllib@" ;;
|
|
+esac
|
|
+
|
|
+if test "$ssllib" = "openssl"
|
|
then
|
|
test -x @OPENSSL@ || exit 0
|
|
else
|
|
@@ -32,7 +38,7 @@ cleanup() {
|
|
|
|
cd @mydatadir@
|
|
|
|
-if test "@ssllib@" = "openssl"
|
|
+if test "$ssllib" = "openssl"
|
|
then
|
|
cp /dev/null @mydatadir@/esmtpd.pem
|
|
chmod 600 @mydatadir@/esmtpd.pem
|