On Wed, May 11, 2011 at 11:35:37AM +0800, Peter Bell wrote:
Possibly more concerning is this message: May 10 23:31:23 imap(peter): Error: link(/mnt/user/Maildir/peter/dovecot.index.log, /mnt/user/Maildir/peter/dovecot.index.log.2) failed: Function not implemented
Basically you are nesting homedir/meta data inside the Maildir root. This is where the errors stem from. Sieve scripts and index data should not reside within same.
mail_location = maildir:/mnt/user/Maildir/%u
This is a bit overcomplicated. Try using a construct like:
mail_location = maildir:~/Maildir
http://wiki2.dovecot.org/MailLocation/Maildir
This however requires home directories to be set accordingly in the User Database:
userdb { args = /etc/passwd.dovecot driver = passwd-file
http://wiki2.dovecot.org/AuthDatabase/Passwd
With the changes in place the nesting can be avoided by simplifying:
plugin { sieve = /mnt/user/Maildir/%u/.dovecot.sieve sieve_dir = /mnt/user/Maildir/%u/
sieve = ~/.dovecot.sieve sieve_dir = ~/sieve
Regards Thomas