MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Kloxo-DR on 2014-03-13, 23:33:04
-
Hello Mustafa,
Since a longtime I have observed that mailboxes were created in / dir.
Now I got deferral: vdelivermail:_deferred.
After executing /script/fixmail it got created in / directory again.
Then I executed the sh /script/reset-mysql-root-password xxx and theafter executed /script/fixmail.
As a result, of reset, the mailboxes were not created in / dir anymore, vdelivermail became working again and I can not login.
This is a BUG.
-
Vpopmail need root password for creating their data. Sometimes, it's not match and then we need to run reset-mysql-root-password.
Information for root password is inside /home/vpopmail/etc/vpopmail.mysql.
So, don't reset mysql root password except from kloxo script and or from panel.
-
Hi Mustafa,
So, don't reset mysql root password except from kloxo script and or from panel.
I did reset the mysql password from the command line.
Before I did this reset, all mailboxes got created in the main root directory of centos, like /etc, /user_mailbox1, /user_mailbox2, /usr, /var, ...
This should not happen.
When this happened, it could not connect to mysql. It could connect with mysql only after I made a reset of mysql root password from command line. There is something wrong in fixmail script which should not create mailboxes like this.
-
Hello Mustafa,
I see that no emails could be relayed locally by myself as the deferral: /bin/sh:_/home/vpopmail/bin/vdelivermail:_Permission_denied/ occurs.
vPOP scripts cannot login into mysql.
I have reset mysql password from kloxo control panel. It did not help.
All messages are queued as well.
I have tried:
sh /script/fix-program-mysql
sh /script/cleanup, etc.
What can I do to fix this?
-
Hi,
I did the following:
chmod 4751 /home/vpopmail/bin/vchkpw
Thereafter the queue started processing.
-
Hi,
Running 'sh /script/fixmail-all' also fix this issue.
-
Hi Mustafa,
Running 'sh /script/fixmail-all' also fix this issue.
It did Noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooot!
If you read my post above, then you will find that it did not.
The reason was because it did not, or could not, connect to mysql server. Thereafter, it failed to change the permission, which it usually does.
If one changes the programming that the permissions are corrected - BEFORE MAKING A DATABASE CONNECTION, then this BUG will disappear.
-
Did you see /script/fixmail-all?.
-
Hi,
Sorry, I do not understand you what you mean "did you see?". I did not see in the script itself.
But I should not see in it.
I executed the sh /script/fixmail-all command and it said that it cannot connect to mysql database using password root @ kloxo etc command. Thereafter, I found that it created many mailboxes on the main server's root directory.
Thats the problem: If there are problems with mysql connections, fixmail-all script creates all mailboxes in root directory
The problem is how to stop fixmail-all script making all mailboxes in the directory of root /.
-
If you found something wrong when running fixmail-all (because vpopmail not able to accessed), run 'sh /script/reset-mysql-root-password'. And then fixmail-all already running well.
-
If see the content of fixmail-all file, you will found code for fix chmod issue for vchkpw.
-
Mustafa,
Is it possible to restrict the focus of the issue I have raised in this thread?
Following is the issue:
The problem is how to stop fixmail-all script making all mailboxes in the directory of root /.
-
If vpopmail not work (because wrong password detected), all mail account will be created in /. That it.
-
Hi,
Ok, then it should be like that. I give up as this is a bit difficult conversation for me, one number to high.
Thanks.