Package: metche / 1:1.2.2-4

0001-Bypass-root-s-mutt-configuration-file.patch Patch series | download
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
Description: Bypass root's mutt configuration file
Subject:Bypass root's mutt configuration file.In case the root user has configured mutt, in their $HOME, for their own
 interactive use, we don't want these tweaks to impact the non-interactive use
 metche makes of mutt in any way.
 .
 In case the administrator wants to configure mutt for interactive *and*
 non-interactive use, they'd better edit its system-wide configuration file.
 .
 As mentioned by Andreas Beckmann, a mutt configuration file for the root user
 may trigger more occurrences of Debian bug #657071 than needed :)
From:intrigeri <intrigeri@boum.org>
Bug-Debian: https://bugs.debian.org/657071
Origin: upstream, commit:1e61154f49422f2d718f34114991f92861370718
---
 metche |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metche b/metche
index 4bf511c..ef1983e 100755
--- a/metche
+++ b/metche
@@ -82,7 +82,7 @@ add_header() {
 _mail() {
     local subject="$1"
     if which mutt > /dev/null ; then
-        LC_ALL="$LOCALE" mutt -s "$subject" "$EMAIL_ADDRESS"
+        LC_ALL="$LOCALE" mutt -F/dev/null -s "$subject" "$EMAIL_ADDRESS"
     elif which mail > /dev/null ; then
         LC_ALL="$LOCALE" mail -s "$subject" "$EMAIL_ADDRESS"
     elif [ -x /usr/sbin/sendmail ]; then