6.0.0-beta1
8/9/25

[#4057] Add username sobstitution for filename in VFS driver
Summary Add username sobstitution for filename in VFS driver
Queue Ingo
Queue Version FRAMEWORK_3
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester chtekk (at) gentoo (dot) org
Created 06/19/2006 (6991 days ago)
Due
Updated 06/21/2006 (6989 days ago)
Assigned
Resolved 06/21/2006 (6989 days ago)
Milestone
Patch No

History
06/21/2006 07:17:39 AM Jan Schneider Comment #3
State ⇒ Rejected
Reply to this comment
Yes, you can simply set 'filename' to Auth::getAuth().
06/21/2006 03:28:42 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Why can't you just put PHP code in backends.php to set the filename correctly?
06/19/2006 01:44:24 PM chtekk (at) gentoo (dot) org Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Add username sobstitution for filename in VFS driver
Queue ⇒ Ingo
New Attachment: horde-ingo-vfs-driver.patch Download
Reply to this comment
For my particular filtering setup, that relies on Maildrop and virtual 
users, I have all the filters in the same directory, each filter named 
as the user that it belongs to, like /var/filters/abc@lol.com, 
/var/filters/123@test.org, etc.

By default Ingo does support %u and %U sobstitution only in the 
vfs_path variable, while the filename cannot be "dinamically" 
changed/configured. This patch adds that sobstitution to the filename 
variable too, so in the config you can actually use %u and %U in the 
filename setting.

Best regards, CHTEKK.

Saved Queries