[#10508] Support customizable folder and filename in maildrop-backend for all ingo-generated maildrop files
Summary Support customizable folder and filename in maildrop-backend for all ingo-generated maildrop files
Queue Ingo
Queue Version Git master
Type Enhancement
State Accepted
Priority 2. Medium
Owners
Requester stephan@admin.nabira.de
Created 2011-09-12 (2990 days ago)
Due
Updated 2013-02-01 (2482 days ago)
Assigned
Resolved
Milestone
Patch No

Comments
stephan@admin.nabira.de 2011-09-12 15:56:36
Ingo just supports maildrop scripts situated in a userfolder, for 
example: /home/%u/mailfilter
%u is substituted to "username" just for the path part, not the filename part.

I need the following substitution working when creating maildrop scripts:
/var/kunden/mailfilter/%u

The same is true for vacation helper files that need to be in a 
admin-configurable path and filenames like:
For the vacation message: /var/kunden/mailfilter/%u_vacation.msg
For the mailbot database: /var/kunden/mailfilter/%u_vacation

I have patched my installation in a way that works for me (with 
hardcoded paths and just for the maildrop-backend and vfs-transport), 
but I suppose this could be of interest to others. In this case there 
is some work necessary to generalise my customizations. I am not deep 
enough into the horde-code to do this myself, so I report this as 
enhancement request with my customizations attached in the hope they 
are useful.

stephan@admin.nabira.de 2011-09-12 15:59:49
For some unknown reason the attached archive was rendered unusable by 
the ticketing system. I try it again with a zip-archive.

stephan@admin.nabira.de 2011-09-12 16:01:08
Bad File Again. Another try with a single diff-file.

stephan@admin.nabira.de 2011-09-12 16:03:35
> Bad File Again. Another try with a single diff-file.
That previous file seems to work. This file resides in 
ingo/lib/Transport/Vfs.php

The file belonging to the diff posted with this comment is located in 
ingo/lib/Script/Maildrop/Recipe.php