Codebase list metche / aca0c78
Import upstream Git commit: 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 :) intrigeri 10 years ago
2 changed file(s) with 31 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: intrigeri <intrigeri@boum.org>
1 Date: Fri, 5 Oct 2012 19:56:13 +0200
2 Subject: Bypass root's mutt configuration file.
3
4 In case the root user has configured mutt, in their $HOME, for their own
5 interactive use, we don't want these tweaks to impact the non-interactive use
6 metche makes of mutt in any way.
7
8 In case the administrator wants to configure mutt for interactive *and*
9 non-interactive use, they'd better edit its system-wide configuration file.
10
11 As mentioned by Andreas Beckmann, a mutt configuration file for the root user
12 may trigger more occurrences of Debian bug #657071 than needed :)
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
0 0001-Bypass-root-s-mutt-configuration-file.patch