Sorry,

I have resolved my problem !

"user_query" wasn't executed because i defined a "userdb_static". I have defined a "userdb_static" because Dovecot couldn't find my maildir locations... But it wasn't the good solution !

So :

1 - I removed "userdb_static"
2 - I modified my "dovecot-sql.conf" file to get an absolute path to home (my first problem was here in fact) :

user_query = SELECT concat('/var/vmail/', path) AS home, uid, gid, concat('*:storage=', quota, 'M') AS quota_rule FROM admin_mailbox WHERE full_address = '%u'

Now, it's OK :)

Thanks for Dovecot !
--
Mikaël,

Reply via email to