[Tickets #11957] Make getUser configurable for vfs

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jan 15 10:19:24 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/11957
------------------------------------------------------------------------------
  Ticket             | 11957
  Created By         | rob at lensen.nu
  Summary            | Make getUser configurable for vfs
  Queue              | Ingo
  Version            | Git master
  Type               | Enhancement
  State              | New
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rob at lensen.nu (2013-01-15 10:19) wrote:

When upgrading to the latest ingo my config stopped working due to a  
change in the Ingo::getUser function.

I use a vpopmail setup with maildrop as filter and my users are stored as

/<domain>/<username>/Maildir
where <username> is without  domain name. So I have :

   'vfs_path' => '%d/%u/'

However the %u is now replaced with <username>@<domain> probably since  
this is the way I log in to the server

So the result is that the maildrop script was stored in  
<domain>/<username>@<domain>/.mailfilter and not as used to be:  
<domain>/<username>/.mailfilter

I fixed this by a small change in lib/Transport/Vfs.php

Line 115 changed  Ingo::getUser()  to read  Ingo::getUser(false)

It would be nice that this can configured, so I don't have to updates  
vfs.php after every upgrade.





More information about the bugs mailing list