1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
From: Christian Kastner <ckk@kvr.at>
Date: Thu, 7 Jan 2016 22:11:18 +0100
Subject: Debian sendmail options
Modify the options passed to sendmail:
* Drop -odi option (don't force immediate delivery)
* Drop -or0s option (don't override read timeout)
* Add -i option (Don't terminate on "." by itself)
Bug-Debian: https://bugs.debian.org/36338
Bug-Debian: https://bugs.debian.org/146224
Forwarded: no
Last-Update: 2016-01-07
---
config.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/config.h b/config.h
index 2940392..3d2b614 100644
--- a/config.h
+++ b/config.h
@@ -42,11 +42,16 @@
*/
#define MAILCMD _PATH_SENDMAIL /*-*/
-#define MAILARGS "%s -FCronDaemon -odi -oem -or0s -B8BITMIME %s" /*-*/
+#define MAILARGS "%s -FCronDaemon -i -B8BITMIME -oem %s" /*-*/
/* -Fx = set full-name of sender
+ * -i = don't terminate on "." by itself
+ * -B8BITMIME = 8-bit processing
* -odi = Option Deliverymode Interactive
* -oem = Option Errors Mailedtosender
+ * -t = read recipient from header of message
* -or0s = Option Readtimeout -- don't time out
+ * XXX: sendmail doesn't allow -or0s when invoked
+ * by joe user. --okir
*/
/* #define MAILCMD "/bin/mail" /*-*/
|