I set up a new server for a client and the first few email mailboxes set up fine but then I dont know why any new mailboxes don't work. I checked the dbispconfig database and noticed the ones that worked initially have uid and gid of 5000 and maildir set to /var/mail/domain/user but now any new mailboxes are given uid and gid of 0 and no maildir directory Any idea's what's gone wrong? Thanks
Use the debug mode and create a new mailbox to see if you get any errors. http://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/
ok created a new mailbox and still no maildir created and the logs are vague 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Processed datalog_id 266 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Found 1 unique addresses at all. 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Found 1 addresses at all. 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Found 1 addresses. 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Mailfilter config has been changed 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Calling function 'update' from plugin 'maildeliver_plugin' raised by event 'mail_user_insert'. 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Calling function 'user_insert' from plugin 'mail_plugin' raised by event 'mail_user_insert'. 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Found 1 changes, starting update process. 2016-09-05 11:49 ns339459.ip-5-39-82.eu Debug Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
and then when I delete that email i get the following errors, obviously as the maildir doesnt exist 05.09.2016-11:57 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 05.09.2016-11:57 - DEBUG - Found 1 changes, starting update process. 05.09.2016-11:57 - DEBUG - Calling function 'user_delete' from plugin 'mail_plugin' raised by event 'mail_user_delete'. 05.09.2016-11:57 - ERROR - Possible security violation when deleting the maildir: 05.09.2016-11:57 - DEBUG - Calling function 'delete' from plugin 'maildeliver_plugin' raised by event 'mail_user_delete'. 05.09.2016-11:57 - DEBUG - Processed datalog_id 267 05.09.2016-11:57 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
Something so simple, why didn't i look there? yes everything in the mail tab was empty for some reason, set everything, added mail box and hey presto mail directory etc created. Thanks Till,