Codebase list metche / 45ff0f1 debian / patches / 0001-Bypass-root-s-mutt-configuration-file.patch
45ff0f1

Tree @45ff0f1 (Download .tar.gz)

0001-Bypass-root-s-mutt-configuration-file.patch @45ff0f1

45ff0f1
 
 
 
 
 
 
 
 
 
 
 
 
aca0c78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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