主题: Upgrade_040_041 有个bug

and dovecot-mysql.conf (if you use MySQL as backend) should be changed too: 
user_query = SELECT CONCAT("/home/vmail", maildir) AS home, \    "/home/vmail/sieve/%Ld/%Ln/" AS sieve_dir, \    CONCAT('*:bytes=', quota*1048576) AS quota_rule \    FROM mailbox WHERE username='%u' \    AND active='1' AND enable%Ls='1' AND expired >= NOW()

少了个斜杠:

SELECT CONCAT("/home/vmail/", maildir) AS home

回复: Upgrade_040_041 有个bug

顺便问下:

#v0.4.0
#mail_location = maildir:/%Lh/%Ld/%Ln/:INDEX=/%Lh/%Ld/%Ln/
为什么要调整为:

mail_location setting changed in file: /etc/dovecot.conf. 
mail_location = maildir:/%Lh/:INDEX=/%Lh/

为什么要调整这个,我是新手,需要多琢磨学习。

回复: Upgrade_040_041 有个bug

原帖由 e345 于 2009-4-15 16:01 发表 http://www.iredmail.org/bbs/images/common/back.gif
and dovecot-mysql.conf (if you use MySQL as backend) should be changed too:
user_query = SELECT CONCAT("/home/vmail", maildir) AS home, \    "/home/vmail/sieve/%Ld/%Ln/" AS sieve_dir, \    CONCAT('*: ...


已修正。感谢。

回复: Upgrade_040_041 有个bug

原帖由 e345 于 2009-4-15 16:04 发表 http://www.iredmail.org/bbs/images/common/back.gif
顺便问下:

#v0.4.0
#mail_location = maildir:/%Lh/%Ld/%Ln/:INDEX=/%Lh/%Ld/%Ln/
为什么要调整为:mail_location setting changed in file: /etc/dovecot.conf.
mail_location = maildir:/%Lh/:INDEX=/%Lh/为什么要 ...


出于安全考虑,应该为每个用户指定一个不同的 HOME 目录,而不是统一将 homeDirectory 指定为 /home/vmail。