--- imap-4.5/src/osdep/unix/maildir.c.delete Tue Aug 17 12:58:59 1999 +++ imap-4.5/src/osdep/unix/maildir.c Tue Aug 17 13:03:07 1999 @@ -1176,6 +1176,10 @@ } } + /* remove the .uidvalidity file */ + strcpy(tmp + i - 4, ".uidvalidity"); + unlink(tmp); + /* try to remove the directory */ *(tmp + i - 5) = '\0'; /*syslog(LOG_INFO, "tmp2: '%s'", tmp);*/