Displaying 2 results from an estimated 2 matches for "dovecot_typ_skrzynki".
2011 Sep 07
1
Problem with configuring dovecot to take namespaces from database
...I'd like to set up dovecot to keep namespaces in database, keep more
than one namespace per user.
I try to create the simplest rule (even without tuple in db table) to
get new namespace, unfortunately it doesn't work.
My user_query is:
SELECT '/dane/domeny/%d/mail/%n/' as home, dovecot_typ_skrzynki ||':'||
'/dane/domeny/%d/mail/%n/' ||'.'|| dovecot_typ_skrzynki as
mail_location, '*:bytes='||quota_mb||'M' as quota_rule ,
'test33/location=mdbox:~/.mdbox/test33/' as "namespace/test3/prefix"
In debug log i'm getting:
Debug: master...
2011 Jun 17
0
I can't setup namespace per user (with settings keept in sql db)
...namespace
---------------------------+-------------------
location="mdbox:~/.mdbox" | prefix="testn"
(1 row)
but this isn't good configuration. I've got in log:
debug: sql(marcin at mejor.pl,62.121.127.119): SELECT
'/dane/domeny/mejor.pl/mail/marcin/' as home, dovecot_typ_skrzynki
||':'|| '/dane/domeny/mejor.pl/mail/marcin/' ||'
.'|| dovecot_typ_skrzynki as mail_location, '*:bytes='||quota_mb||'M' as
quota_rule , dovecot_location AS location, dovecot_namespace AS
namespace FROM exim_users WHE
RE login = lower('marcin') AND dome...