6.0.0-beta1
7/10/25

[#6431] make procmail command line utilities configurable
Summary make procmail command line utilities configurable
Queue Ingo
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester Michael.Redinger (at) uibk (dot) ac (dot) at
Created 03/12/2008 (6329 days ago)
Due
Updated 03/16/2008 (6325 days ago)
Assigned
Resolved 03/16/2008 (6325 days ago)
Milestone
Patch Yes

History
03/16/2008 03:32:13 AM Chuck Hagenbuch Comment #4
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Looks good to me - committed, thanks!
03/16/2008 03:16:25 AM Chuck Hagenbuch Deleted Original Message
 
03/13/2008 09:46:14 AM michael (dot) redinger (at) uibk (dot) ac (dot) at Comment #3
New Attachment: ingo-procmail-gnupaths-2.diff Download
Reply to this comment
Ok, I hope this is what.

I also added comments to backends.php.dist regarding the external 
delivery patch (bug 6433).
03/12/2008 05:54:52 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
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?
03/12/2008 05:52:43 PM Chuck Hagenbuch Patch ⇒ Yes
Summary ⇒ make procmail command line utilities configurable
 
03/12/2008 09:49:23 AM Michael (dot) Redinger (at) uibk (dot) ac (dot) at Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ make procmail command line utilities configurable [patch]
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
New Attachment: ingo-procmail-gnupaths.diff
State ⇒ New
Reply to this comment
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).




Saved Queries