0 | |
Description: Bypass root's mutt configuration file
|
1 | |
Subject:Bypass root's mutt configuration file.In case the root user has configured mutt, in their $HOME, for their own
|
2 | |
interactive use, we don't want these tweaks to impact the non-interactive use
|
3 | |
metche makes of mutt in any way.
|
4 | |
.
|
5 | |
In case the administrator wants to configure mutt for interactive *and*
|
6 | |
non-interactive use, they'd better edit its system-wide configuration file.
|
7 | |
.
|
8 | |
As mentioned by Andreas Beckmann, a mutt configuration file for the root user
|
9 | |
may trigger more occurrences of Debian bug #657071 than needed :)
|
10 | |
From:intrigeri <intrigeri@boum.org>
|
11 | |
Bug-Debian: https://bugs.debian.org/657071
|
12 | |
Origin: upstream, commit:1e61154f49422f2d718f34114991f92861370718
|
13 | |
---
|
14 | |
metche | 2 +-
|
15 | |
1 file changed, 1 insertion(+), 1 deletion(-)
|
16 | |
|
17 | |
diff --git a/metche b/metche
|
18 | |
index 4bf511c..ef1983e 100755
|
19 | |
--- a/metche
|
20 | |
+++ b/metche
|
21 | |
@@ -82,7 +82,7 @@ add_header() {
|
22 | |
_mail() {
|
23 | |
local subject="$1"
|
24 | |
if which mutt > /dev/null ; then
|
25 | |
- LC_ALL="$LOCALE" mutt -s "$subject" "$EMAIL_ADDRESS"
|
26 | |
+ LC_ALL="$LOCALE" mutt -F/dev/null -s "$subject" "$EMAIL_ADDRESS"
|
27 | |
elif which mail > /dev/null ; then
|
28 | |
LC_ALL="$LOCALE" mail -s "$subject" "$EMAIL_ADDRESS"
|
29 | |
elif [ -x /usr/sbin/sendmail ]; then
|