I wish there was an option in validate-domains command to set it to automatically attempt to fix errors. Fixing this errors manually can take time however many of them can be easily fixed automatically by running a simple chown or mkdir command!
Status:
Active
Comments
Submitted by JamieCameron on Thu, 12/29/2016 - 00:50 Comment #1
There are API commands and features to fix some errors. Which ones are you referring to specifically?
for example mail (home) folder for account X does not exist, OR mail folder is owned by Y instead of X,
Submitted by JamieCameron on Thu, 12/29/2016 - 13:11 Comment #3
The fix-domain-permissions API command should solve all of these (although it seems like from your other bug that it is introducing problems) ?
Yes fix-domain-permissions fixes permission errors however it doesnt create missing / removed homes/email folders.
Submitted by JamieCameron on Fri, 12/30/2016 - 12:59 Comment #5
Ah, I see ... yeah, automating fixing these would be a good feature. I'll look into it.
Thank you, and Jamie we can also contribute in fixing these things if Virtualmin GPL's source is pushed into Github!
Submitted by JamieCameron on Sat, 12/31/2016 - 10:21 Comment #7
The GPL and pro source is intermixed in a way that makes this hard currently. But you could send me a patch against the code on your system..