[EXIM] mutt and bcc

Top Page
Delete this message
Reply to this message
Author: Alexander Koch
Date:  
To: exim-users
Subject: [EXIM] mutt and bcc
Here's something from the (current) mutt maintainer and from the
mutt-dev list.

So you better use 0.94.3(i) with the attached patch or wait for 0.95
which may take a considerably longer time.

Hope that helps some of you. The change was in between 0.89.x and
0.91.x. Whether the MTA is broken or not, I don't know.

Alexander

--
Hit any user to continue.
Alexander Koch - <>< - aka Efraim - PGP - 0xE7694969 - Hannover - Germany
[patch-0.94.3i.tlr.write_bcc.1] This patch adds an option
$write_bcc which controls whether the Bcc header is
written out or not. This can be used to work around
broken MTA's (Exim seems to leave Bcc headers in).

The problem was noted independently by Peter Radcliffe
<pir@???> and by Dave Holland <dave@???>
(Debian Bug #25687).

tlr
-- 
Thomas Roessler · 74a353cc0b19 · dg1ktr · http://home.pages.de/~roessler/
     2048/CE6AC6C1 · 4E 04 F0 BC 72 FF 14 23 44 85 D1 A1 3B B0 73 C1

Index: init.h
===================================================================
RCS file: /home/roessler/cvsroot/mutt/init.h,v
retrieving revision 1.3.2.1.2.4
diff -u -r1.3.2.1.2.4 init.h
--- init.h    1998/08/10 15:28:31    1.3.2.1.2.4
+++ init.h    1998/08/13 20:35:02
@@ -263,6 +263,7 @@
   { "wait_key",        DT_BOOL, R_NONE, OPTWAITKEY, 1 },
   { "wrap_search",    DT_BOOL, R_NONE, OPTWRAPSEARCH, 1 },
   { "write_inc",    DT_NUM,     R_NONE, UL &WriteInc, 10 },
+  { "write_bcc",    DT_BOOL, R_NONE, OPTWRITEBCC, 1},
   { NULL }
 };


Index: mutt.h
===================================================================
RCS file: /home/roessler/cvsroot/mutt/mutt.h,v
retrieving revision 1.2.2.1.2.4
diff -u -r1.2.2.1.2.4 mutt.h
--- mutt.h    1998/08/12 07:38:03    1.2.2.1.2.4
+++ mutt.h    1998/08/13 20:34:21
@@ -226,23 +226,65 @@
 /* boolean vars */
 enum
 {
-  OPTPROMPTAFTER,
-  OPTSTATUSONTOP,
   OPTALLOW8BIT,
-  OPTASCIICHARS,
-  OPTMETOO,
-  OPTEDITHDRS,
   OPTARROWCURSOR,
+  OPTASCIICHARS,
+  OPTASKBCC,
   OPTASKCC,
+  OPTAUTOEDIT,
+  OPTAUTOTAG,
+  OPTBEEP,
+  OPTBEEPNEW,
+  OPTCHECKNEW,
+  OPTCONFIRMAPPEND,
+  OPTCONFIRMCREATE,
+  OPTEDITHDRS,
+  OPTFASTREPLY,
+  OPTFCCATTACH,
+  OPTFOLLOWUPTO,
+  OPTFORCENAME,
+  OPTFORWDECODE,
+  OPTFORWQUOTE,
+  OPTHDRS,
   OPTHEADER,
+  OPTHELP,
+  OPTIGNORELISTREPLYTO,
+  OPTMARKERS,
+  OPTMARKOLD,
+  OPTMENUSCROLL,    /* scroll menu instead of implicit next-page */
+  OPTMETAKEY,        /* interpret ALT-x as ESC-x */
+  OPTMETOO,
+  OPTMIMEFORWDECODE,
+  OPTPAGERSTOP,
+  OPTPIPEDECODE,
+  OPTPIPESPLIT,
+  OPTPOPDELETE,
+  OPTPROMPTAFTER,
+  OPTREADONLY,
+  OPTRESOLVE,
   OPTREVALIAS,
   OPTREVNAME,
-  OPTFORCENAME,
+  OPTSAVEADDRESS,
   OPTSAVEEMPTY,
-  OPTPAGERSTOP,
+  OPTSAVENAME,
   OPTSIGDASHES,
-  OPTASKBCC,
-  OPTAUTOEDIT,
+  OPTSORTRE,
+  OPTSTATUSONTOP,
+  OPTSTRICTTHREADS,
+  OPTSUSPEND,
+  OPTTHOROUGHSRC,
+  OPTTILDE,
+  OPTUSE8BITMIME,
+  OPTUSEDOMAIN,
+  OPTUSEFROM,
+  OPTWAITKEY,
+  OPTWEED,
+  OPTWRAP,
+  OPTWRAPSEARCH,
+  OPTWRITEBCC,        /* write out a bcc header? */
+  
+  /* PGP options */
+  
 #ifdef _PGPPATH
   OPTPGPAUTOSIGN,
   OPTPGPAUTOENCRYPT,
@@ -252,44 +294,9 @@
   OPTPGPENCRYPTSELF,
   OPTPGPSTRICTENC,
 #endif
-  OPTMARKOLD,
-  OPTCONFIRMCREATE,
-  OPTCONFIRMAPPEND,
-  OPTPOPDELETE,
-  OPTSAVENAME,
-  OPTTHOROUGHSRC,
-  OPTTILDE,
-  OPTMARKERS,
-  OPTFCCATTACH,
-  OPTPIPESPLIT,
-  OPTPIPEDECODE,
-  OPTREADONLY,
-  OPTRESOLVE,
-  OPTSTRICTTHREADS,
-  OPTAUTOTAG,
-  OPTBEEP,
-  OPTHELP,
-  OPTHDRS,
-  OPTWEED,
-  OPTWRAP,
-  OPTCHECKNEW,
-  OPTFASTREPLY,
-  OPTWAITKEY,
-  OPTWRAPSEARCH,
-  OPTIGNORELISTREPLYTO,
-  OPTSAVEADDRESS,
-  OPTSUSPEND,
-  OPTSORTRE,
-  OPTUSEDOMAIN,
-  OPTUSEFROM,
-  OPTUSE8BITMIME,
-  OPTFORWDECODE,
-  OPTMIMEFORWDECODE,
-  OPTFORWQUOTE,
-  OPTBEEPNEW,
-  OPTFOLLOWUPTO,
-  OPTMENUSCROLL,    /* scroll menu instead of implicit next-page */
-  OPTMETAKEY,        /* interpret ALT-x as ESC-x */
+
+  /* pseudo options */
+
   OPTAUXSORT,        /* (pseudo) using auxillary sort function */
   OPTFORCEREFRESH,    /* (pseudo) refresh even during macros */
   OPTLOCALES,        /* (pseudo) set if user has valid locale definition */
Index: sendlib.c
===================================================================
RCS file: /home/roessler/cvsroot/mutt/sendlib.c,v
retrieving revision 1.3.2.1.2.9
diff -u -r1.3.2.1.2.9 sendlib.c
--- sendlib.c    1998/08/13 17:17:54    1.3.2.1.2.9
+++ sendlib.c    1998/08/13 20:32:19
@@ -1178,8 +1178,11 @@


   if (env->bcc)
   {
-    fputs ("Bcc: ", fp);
-    mutt_write_address_list (env->bcc, fp, 5);
+    if(mode != 0 || option(OPTWRITEBCC))
+    {
+      fputs ("Bcc: ", fp);
+      mutt_write_address_list (env->bcc, fp, 5);
+    }
   }
   else if (mode > 0)
     fputs ("Bcc: \n", fp);
Index: doc/manual.sgml
===================================================================
RCS file: /home/roessler/cvsroot/mutt/doc/manual.sgml,v
retrieving revision 1.2.2.5.2.3
diff -u -r1.2.2.5.2.3 manual.sgml
--- manual.sgml    1998/08/10 15:28:38    1.2.2.5.2.3
+++ manual.sgml    1998/08/13 20:39:14
@@ -3642,8 +3642,8 @@
 Default: /usr/lib/sendmail -oi -oem


Specifies the program and arguments used to deliver mail sent by Mutt.
-Mutt expects that the specified program will read the message header for
-recipients.
+Mutt expects that the specified program interprets
+additional arguments as recipient addresses.

<sect2>sendmail&lowbar;wait<label id="sendmail_wait">
<p>
@@ -4076,6 +4076,15 @@
a single message will be displayed before writing a mailbox.

Also see the <ref id="read_inc" name="&dollar;read&lowbar;inc"> variable.
+
+<sect2>write&lowbar;bcc<label id="write_bcc">
+<p>
+Type: boolean<newline>
+Default: set
+
+Controls whether mutt writes out the Bcc header when
+preparing messages to be sent. Exim users may wish to use
+this.

 <sect1>Functions<label id="functions">
 <p>
Index: doc/manual.txt
===================================================================
RCS file: /home/roessler/cvsroot/mutt/doc/manual.txt,v
retrieving revision 1.2.2.4.2.3
diff -u -r1.2.2.4.2.3 manual.txt
--- manual.txt    1998/08/11 05:53:51    1.2.2.4.2.3
+++ manual.txt    1998/08/13 20:39:43
@@ -4087,8 +4087,8 @@
   Default: /usr/lib/sendmail -oi -oem


Specifies the program and arguments used to deliver mail sent by Mutt.
- Mutt expects that the specified program will read the message header
- for recipients.
+ Mutt expects that the specified program interprets additional
+ arguments as recipient addresses.

6?6.?.3?3.?.1?12?27?7.?. s?se?en?nd?dm?ma?ai?il?l_?_w?wa?ai?it?t

@@ -4568,6 +4568,15 @@
Also see the ``$read_inc'' variable.


+ 6?6.?.3?3.?.1?15?58?8.?. w?wr?ri?it?te?e_?_b?bc?cc?c
+
+ Type: boolean
+ Default: set
+
+ Controls whether mutt writes out the Bcc header when preparing
+ messages to be sent. Exim users may wish to use this.
+
+
6?6.?.4?4.?. F?Fu?un?nc?ct?ti?io?on?ns?s

The following is the list of available functions listed by the mapping
@@ -4585,6 +4594,30 @@
all menus (except as noted).


+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
   bottom-page                L   move to the bottom of the page
   current-bottom     not bound   move current entry to bottom of page
   current-middle     not bound   move current entry to middle of page
@@ -4617,10 +4650,40 @@




-
6?6.?.4?4.?.2?2.?. i?in?nd?de?ex?x


+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
   bounce-message             b   remail a message to another user
   change-folder              c   open a different folder
   change-folder-readonly ESC c   open a different folder in read only mode
@@ -4683,6 +4746,9 @@
   undelete-thread           ^U   undelete all messages in thread
   untag-pattern             ^T   untag messages matching a pattern
   view-attachments           v   show MIME attachments
+
+
+


6?6.?.4?4.?.3?3.?. p?pa?ag?ge?er?r