<<< Date Index >>>     <<< Thread Index >>>

1.5.17 batch mode does not append .signature



Whether by error or design, mutt 1.5.17 and earlier does not append the
.signature file when sending in batch mode.  Here is a small patch to
correct:

--- ../Orig/mutt-1.5.17/send.c  2007-07-26 15:43:39.000000000 -0400
+++ send.c      2007-11-27 11:45:30.837661017 -0500
@@ -1218,6 +1218,9 @@
   if (flags & SENDBATCH) 
   {
     mutt_copy_stream (stdin, tempfp);
+    if (! (flags & (SENDMAILX | SENDKEY)))
+      append_signature (tempfp);
+
     if (option (OPTHDRS))
     {
       process_user_recips (msg->env);

-- 
Roger Cornelius        rac@xxxxxxxxxxx