| Summary | make procmail command line utilities configurable |
| Queue | Ingo |
| Queue Version | HEAD |
| Type | Enhancement |
| State | Resolved |
| Priority | 1. Low |
| Owners | Chuck Hagenbuch <chuck (at) horde (dot) org> |
| Requester | Michael (dot) Redinger (at) uibk (dot) ac (dot) at |
| Created | 03/12/2008 (60 days ago) |
| Due | |
| Updated | 03/15/2008 (57 days ago) |
| Assigned | |
| Resolved | 03/15/2008 (57 days ago) |
| Attachments | ingo-procmail-gnupaths-2.diff ![]() |
| Milestone | |
| Patch | 1 |
State ⇒ Resolved
Assigned to Chuck Hagenbuch
Looks good to me - committed, thanks!New Attachment: ingo-procmail-gnupaths-2.diff
Ok, I hope this is what.I also added comments to backends.php.dist regarding the external delivery patch (
bug 6433).State ⇒ Feedback
Can you please update the patch so that reasonable defaults are supplied in the base object for these setting, and provide a patch to backends.php.dist showing setting them?Summary ⇒ make procmail command line utilities configurable
New Attachment: ingo-procmail-gnupaths.diff
Patch ⇒
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ make procmail command line utilities configurable [patch]
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
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).