On Sat, January 12, 2008 10:48 am, Timo Sirainen wrote:
On Thu, 2008-01-10 at 14:35 +0200, Timo Sirainen wrote:
Ah, it's because it's the current directory. It would be better if home dir wouldn't be the same as mail dir (http://wiki.dovecot.org/VirtualUsers#homedirs), but I'll see if I can do something about this.
Thanks, thats great:)
I'll test it on monday to see if that fixed it completely.
But isn't this fix masking the real error; namely that either I my directory layout isn't propper or Dovecot is flushing the wrong directory in this specific case when using Sieve "redirect" (home directory is then flushed instead of the maildir directory that it normally flushes).
Also I wonder if there is a potential issue if somebody decides to use "/" as the home-directory (probably wouldn't happen). Then I guess changing to the parent directory isn't possible. I tried to look at your commit but my C-skills (don't have any) aren't quite enough to decide whether you took this into consideration already:)
Regards, Mikkel