14 Mar
2007
14 Mar
'07
6:58 p.m.
On Wed, 2007-03-14 at 09:47 -0700, Brent Hostetler wrote:
user_query = SELECT maildir, 5000 AS uid, 5000 AS gid, CONCAT('/usr/local/vmail/', @home := maildir) AS home FROM mailbox WHERE username = '%u'
And the plugin loads and the mail is filtered!!
One problem with the CONCAT method is that there is an extra '/' in the users home path. However, the filter still works As expected. Should I be concerned?
deliver(brent@hostetler.ws): Mar 14 09:32:23 Info: cmusieve: Using sieve path: /usr/local/vmail/hostetler.ws/brent//.dovecot.sieve
I think that's because your maildir contains a '/' at the end. That's not needed, so removing it would fix it. It doesn't anyway break anything.