bodysplit
Junior Member
Posts: 45
Joined: Nov 2007
Reputation: 1
|
RE: [HowTo] Replace courier with dovecot
Just ran through the howto and found out that something is missing the SQL statement for Quota.
Changes in dovecot-sql-domain.conf - add "and" (red):
user_query = SELECT concat('/var/mail/virtual/', domain.domain_name, '/',mail_acc) as home, '1001' as uid, '8' as gid, concat('maildir:storage=', floor(quota/1024)) AS quota FROM mail_users inner join domain on mail_users.domain_id = domain.domain_id WHERE mail_acc='%n' and domain.domain_name='%d' and (mail_type='normal_mail' OR mail_type='normal_mail,normal_forward');
else the select will fail and nobody can access it's mailbox.
Also, to me it seems that this value is updated only after new mail arrives. My box was changed from unlimited to 100 MB and is still written as Unlimited.
|
|
03-30-2010 01:57 AM |
|