[Tickets #6431] make procmail command line utilities configurable [patch]

bugs at horde.org bugs at horde.org
Wed Mar 12 09:49:23 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6431
-----------------------------------------------------------------------
 Ticket             | 6431
 Created By         | Michael.Redinger at uibk.ac.at
 Summary            | make procmail command line utilities configurable [patch]
 Queue              | Ingo
 Version            | HEAD
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
+New Attachment     | ingo-procmail-gnupaths.diff
-----------------------------------------------------------------------


Michael.Redinger at uibk.ac.at (2008-03-12 05:49) wrote:

The .procmailrc file generated by ingo heavily depends on the GNU versions
of the programs.
 - eg. (ls -lcn --time-style=+%s or even echo -e). If your mail server
happens to be not linux, the most often not works.

After looking at the code, I thought it would be too much trouble making
the whole command configurable. Instead, I  decided the procmail code might
assume that the GNU tools are available, but should not assume they are in
the path or even what their name is (eg. on many Sun systems the GNU
utilities are available, but prefixed with 'g' - gdate, gls etc.).

I therefore wrote a small patch (for lib/Script/procmail.php) that makes
date, echo and ls a configuration option for each server (the test command
seems to work on all platforms).






More information about the bugs mailing list