diff --git a/src/net/maildir/maildirUtils.cpp b/src/net/maildir/maildirUtils.cpp index 67d52fe6..13311a5f 100644 --- a/src/net/maildir/maildirUtils.cpp +++ b/src/net/maildir/maildirUtils.cpp @@ -25,6 +25,7 @@ #include "vmime/net/maildir/maildirStore.hpp" #include "vmime/utility/random.hpp" +#include "vmime/platform.hpp" #include "vmime/exception.hpp" @@ -153,6 +154,8 @@ const utility::file::path::component maildirUtils::generateId() oss << utility::random::getProcess(); oss << "."; oss << utility::random::getString(6); + oss << "."; + oss << platform::getHandler()->getHostName(); return (utility::file::path::component(oss.str())); }