On Thu, 2010-10-07 at 20:42 -0500, Mike Abbott wrote:
> This may resolve the mysterious "Maildir: Symlink destination doesn't exist"
> errors.
>
> - if (lstat(path, &st) == 0 && (st.st_mode & S_IFLNK) != 0) {
> + if (lstat(path, &st) == 0 && (st.st_mode & S_IFMT) == S_IFLNK) {
Yeah, look
This may resolve the mysterious "Maildir: Symlink destination doesn't exist"
errors.
--- a/src/lib-storage/index/maildir/maildir-util.c
+++ b/src/lib-storage/index/maildir/maildir-util.c
@@ -91,7 +91,7 @@
{
struct stat st;
- if (lstat(path, &st) == 0 && (st.st_mode & S_IFLNK) !=