--- libs/maildir/maildircreate.c.bak 2015-02-10 20:41:23.000873342 +0000 +++ libs/maildir/maildircreate.c 2015-02-10 20:41:30.798876266 +0000 @@ -225,16 +225,5 @@ int maildir_movetmpnew(const char *tmpname, const char *newname) { - if (link(tmpname, newname) == 0) - { - unlink(tmpname); - return 0; - } - - if (errno != EXDEV) - return -1; - - /* AFS? */ - return rename(tmpname, newname); }