[Tickets #10147] mailbot quotes the contents of the original message

bugs at horde.org bugs at horde.org
Fri May 27 12:06:35 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10147
------------------------------------------------------------------------------
  Ticket             | 10147
  Created By         | rsalmon at mbpgroup.com
  Summary            | mailbot quotes the contents of the original message
  Queue              | Ingo
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-05-27 12:06) wrote:

It's rather old (August 2010), but after updating the maildrop package  
today, I noticed that mailbot's default behaviour has changed.

Fom the man page : "
-N
Do not quote the contents of the original message in the message  
create by ?reply?, ?replyall?, and ?replydsn? options. The original  
message gets quoted, in the absence of this option, only if the  
original message was formatted as plain text. mailbot is unable to  
quote an original message which was formatted as HTML, or any other  
non-plaintext format.
"

So here is a patch to mimic the old behaviour (what an end user would  
expect) of the vacation rule,

--- ingo/lib/Script/Maildrop/Recipe.php.org	2011-05-27  
14:02:35.000000000 +0200
+++ ingo/lib/Script/Maildrop/Recipe.php	2011-05-27 14:02:41.000000000 +0200
@@ -153,1 +153,1 @@
-   '| mailbot -D %d -c \'UTF-8\' -t $HOME/vacation.msg -d  
$HOME/vacation -A %s -s %s /usr/sbin/sendmail -t',
+  '| mailbot -N -D %d -c \'UTF-8\' -t $HOME/vacation.msg -d  
$HOME/vacation -A %s -s %s /usr/sbin/sendmail -t',







More information about the bugs mailing list