2011/6/27 Thomas Leuxner <[email protected]>:
>> new config (hide sieve folder)
>>
>> mail_home = /var/vmail/%d/%n
>> maildir_stat_dirs = yes
>>
>> plugin {
>> sieve_dir = /var/vmail/%d/%n/sieve/
>> sieve = /var/vmail/%d/%n/.dovecot.sieve
>> }
>
> All the examples look a bit overcomplicated. Why not go with the "defaults"?

I'll try it.

>  mail_location = maildir:~/maildir
>  sieve = ~/.dovecot.sieve

Have you any idea how i specify it best? mail_location and mail_home.

>
> However this relies on home dirs being returned from the user lookups which 
> has not been revealed in the OP's partial config post.

With MySQL.

user_query = SELECT concat('/var/vmail/', maildir) as home,
concat('maildir:/var/vmail/', maildir) as mail, 6000 AS uid, 6000 AS
gid, concat('maildir:storage=', quota) AS quota FROM mailbox WHERE
username = '%u' AND active = '1'

--
Christopher

Reply via email to