Hi, today I upgraded my ISPConfig 3 installation to ISPConfig 3.1 using ispconfig_update.sh. Distro is Debian 7.0 Wheezy and everything went fine while updating. After the upgrade I created a new client with a new Web- and Mail-Domain called new-mail-domain.tld. Web is working great but I couldn't login to the new mail account info @new-mail-domain.tld and could not receive mails on it. I started debugging and my finding is that when creating the new mail domain, ispconfig fails to create the directory /var/vmail/new-mail-domain.tld. There is no error - even with log level debug enabled (see Snippet 1). I just get some warnings when I afterwards create the mailbox info @nw-mail-domain.tld (see Snippet 2). But if I manually create /var/vmail/new-mail-domain.tld with proper permissions, the mailbox is created successfully (see Snippet 3). I never get an error in the web interface and the database entries in mail_domain and mail_user are written. Just the mail_user entry is somehow broken, uid and gui is 0 and there is no maildir set. Any suggestions what could cause the problem? Best regards Sven Snippet 1 - Output when new mail domain is created: Code: srv004:/var/vmail# /usr/local/ispconfig/server/server.sh 12.06.2017-18:13 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'. 12.06.2017-18:13 - DEBUG - Found 1 changes, starting update process. 12.06.2017-18:13 - DEBUG - Calling function 'domain_dkim_insert' from plugin 'mail_plugin_dkim' raised by event 'mail_domain_insert'. 12.06.2017-18:13 - DEBUG - Processed datalog_id 2006 12.06.2017-18:13 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished. srv004:/var/vmail# file /var/vmail/new-mail-domain.tld /var/vmail/new-mail-domain.tld: ERROR: cannot open `/var/vmail/new-mail-domain.tld' (No such file or directory) Snippet 2 - Output when new mailbox is created on "failed" mail domain: Code: srv004:/var/www/domain.tld/web#/usr/local/ispconfig/server/server.sh 12.06.2017-17:47 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'. 12.06.2017-17:47 - DEBUG - Found 1 changes, starting update process. 12.06.2017-17:47 - DEBUG - Calling function 'user_insert' from plugin 'mail_plugin' raised by event 'mail_user_insert'. 12.06.2017-17:47 - DEBUG - Mailuser uid: 0, gid: 0 12.06.2017-17:47 - DEBUG - Created Directory: 12.06.2017-17:47 - DEBUG - Created Maildir /Maildir with subfolder: Sent 12.06.2017-17:47 - DEBUG - Created Maildir /Maildir with subfolder: Drafts 12.06.2017-17:47 - DEBUG - Created Maildir /Maildir with subfolder: Trash 12.06.2017-17:47 - DEBUG - Created Maildir /Maildir with subfolder: Junk chown: fehlender Operand nach „root:root“ „chown --help“ gibt weitere Informationen. 12.06.2017-17:47 - DEBUG - Set ownership on 12.06.2017-17:47 - DEBUG - Calling function 'update' from plugin 'maildeliver_plugin' raised by event 'mail_user_insert'. 12.06.2017-17:47 - DEBUG - Mailfilter config has been changed 12.06.2017-17:47 - DEBUG - Found 1 addresses. 12.06.2017-17:47 - DEBUG - Found 1 addresses at all. 12.06.2017-17:47 - DEBUG - Found 1 unique addresses at all. PHP Warning: chdir(): No such file or directory (errno 2) in /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php on line 225 PHP Stack trace: PHP 1. {main}() /usr/local/ispconfig/server/server.php:0 PHP 2. modules->processDatalog() /usr/local/ispconfig/server/server.php:180 PHP 3. modules->raiseTableHook() /usr/local/ispconfig/server/lib/classes/modules.inc.php:218 PHP 4. call_user_func:{/usr/local/ispconfig/server/lib/classes/modules.inc.php:285}() /usr/local/ispconfig/server/lib/classes/modules.inc.php:285 PHP 5. mail_module->process() /usr/local/ispconfig/server/lib/classes/modules.inc.php:285 PHP 6. plugins->raiseEvent() /usr/local/ispconfig/server/mods-available/mail_module.inc.php:138 PHP 7. call_user_func:{/usr/local/ispconfig/server/lib/classes/plugins.inc.php:120}() /usr/local/ispconfig/server/lib/classes/plugins.inc.php:120 PHP 8. maildeliver_plugin->update() /usr/local/ispconfig/server/lib/classes/plugins.inc.php:120 PHP 9. chdir() /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php:225 PHP Warning: symlink(): No such file or directory in /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php on line 227 PHP Stack trace: PHP 1. {main}() /usr/local/ispconfig/server/server.php:0 PHP 2. modules->processDatalog() /usr/local/ispconfig/server/server.php:180 PHP 3. modules->raiseTableHook() /usr/local/ispconfig/server/lib/classes/modules.inc.php:218 PHP 4. call_user_func:{/usr/local/ispconfig/server/lib/classes/modules.inc.php:285}() /usr/local/ispconfig/server/lib/classes/modules.inc.php:285 PHP 5. mail_module->process() /usr/local/ispconfig/server/lib/classes/modules.inc.php:285 PHP 6. plugins->raiseEvent() /usr/local/ispconfig/server/mods-available/mail_module.inc.php:138 PHP 7. call_user_func:{/usr/local/ispconfig/server/lib/classes/plugins.inc.php:120}() /usr/local/ispconfig/server/lib/classes/plugins.inc.php:120 PHP 8. maildeliver_plugin->update() /usr/local/ispconfig/server/lib/classes/plugins.inc.php:120 PHP 9. symlink() /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php:227 12.06.2017-17:47 - WARNING - Unable to create symlink to active sieve filter 12.06.2017-17:47 - DEBUG - Processed datalog_id 1994 12.06.2017-17:47 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished. Snippet 3 - Output when new mailbox is created and manually created /var/vmail/new-domain.tld Code: srv004:/var/vmail# /usr/local/ispconfig/server/server.sh 12.06.2017-18:00 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'. 12.06.2017-18:00 - DEBUG - Found 1 changes, starting update process. 12.06.2017-18:00 - DEBUG - Calling function 'user_insert' from plugin 'mail_plugin' raised by event 'mail_user_insert'. 12.06.2017-18:00 - DEBUG - Mailuser uid: 5000, gid: 5000 12.06.2017-18:00 - DEBUG - Created Directory: /var/vmail/new-mail-domain.tld/test2 12.06.2017-18:00 - DEBUG - Created Maildir /var/vmail/new-mail-domain.tld/test2/Maildir with subfolder: 12.06.2017-18:00 - DEBUG - Created Maildir /var/vmail/new-mail-domain.tld/test2/Maildir with subfolder: Sent 12.06.2017-18:00 - DEBUG - Created Maildir /var/vmail/new-mail-domain.tld/test2/Maildir with subfolder: Drafts 12.06.2017-18:00 - DEBUG - Created Maildir /var/vmail/new-mail-domain.tld/test2/Maildir with subfolder: Trash 12.06.2017-18:00 - DEBUG - Created Maildir /var/vmail/new-mail-domain.tld/test2/Maildir with subfolder: Junk 12.06.2017-18:00 - DEBUG - Set ownership on /var/vmail/new-mail-domain.tld/test2 12.06.2017-18:00 - DEBUG - Calling function 'update' from plugin 'maildeliver_plugin' raised by event 'mail_user_insert'. 12.06.2017-18:00 - DEBUG - Mailfilter config has been changed 12.06.2017-18:00 - DEBUG - Found 1 addresses. 12.06.2017-18:00 - DEBUG - Found 1 addresses at all. 12.06.2017-18:00 - DEBUG - Found 1 unique addresses at all. 12.06.2017-18:00 - DEBUG - Processed datalog_id 2001 12.06.2017-18:00 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished.