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

bugs at horde.org bugs at horde.org
Fri Jun 3 10:17:56 UTC 2011


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

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


rsalmon at mbpgroup.com (2011-06-03 10:17) wrote:

> This sounds like a BC breaking change in mailbot.
It looks like it.

> How are we supposed to know which version is running on that system?
You can't. I seen two options here :
- apply the previous patch in git and add a maildrop version  
requirement in docs (and test.php ?)
- add a command line option in backend.[local].php. in case of  
maildrop, something like
$backends['maildrop']['scriptparams']['args'] = " -N "

and patch will then looks like this:

--- 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 ' . $backends['maildrop']['scriptparams']['args'] . ' -D  
%d -c \'UTF-8\' -t $HOME/vacation.msg -d $HOME/vacation -A %s -s %s  
/usr/sbin/sendmail -t',

The second option is much more flexible and can apply to other drivers  
like procmail.
It will be up to the admin to tune is backend.local.php.







More information about the bugs mailing list