Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pedromidiasf

Pages: 1 ... 4 5 [6] 7 8
76
E-Mail / Re: Email rejected: Quota exceeded (mailbox for user is full)
« on: January 28, 2016, 09:59:46 PM »
Nice, thanks, never have this problem actually.
Btw, do you have idea why/when this problem will ocurred?

It occurs when one of your emails receives the total of 10000, if anyone tries to send a new one, that sender will receive a delivery error

77
New Modules / Re: Migrate CWP->CWP
« on: December 13, 2015, 03:27:31 AM »
I'm working on it, altho i don't have time to finish it at the moment.

But all you have to do is:
- Export data bases (phpmyadmin)
- Export database users (phpmyadmin)
- Backup postfix, root_cwp databases (phpmyadmin)
- Backup /home files
- Backup var/vmail (email folders)
   - After you import email files, process these commands
       chown -R vmail:mail /var/vmail
       find /var/vmail -type f -exec chmod 600 {} \;
       find /var/vmail -type d -exec chmod 700 {} \;
Then backup vhosts and other stuff that you might need

78
New Modules / Re: [module] Clear memory ram
« on: December 11, 2015, 01:26:32 AM »
What do you mean? I don't get it

79
New Modules / Re: How to Build a new module for CentOS Web Panel (CWP)
« on: December 11, 2015, 01:22:02 AM »
Is there a way to process ajax requests (PHP side)?
How can i call my module without calling the entire index page?

80
E-Mail / Re: Email rejected: Quota exceeded (mailbox for user is full)
« on: September 14, 2015, 11:09:20 PM »
BEST SOLUTION:

open the file: /etc/dovecot/dovecot-mysql
search for: (...) CONCAT('*:messages=10000:bytes=', quota) (...)

And replace it by:
search for: (...) CONCAT('*:messages=:bytes=', quota) (...)

And it'll be fixed :)

81
How to / Re: MySQL & Default domain
« on: August 30, 2015, 11:43:20 AM »
Download "phpMyAdmin 4.0.10.10" and it will work just fine :)

82
How to / Re: How do I edit Cron Jobs
« on: August 30, 2015, 11:37:01 AM »
Quote
/usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /home/user/public_html/blablabla.php

And it'll work just fine :)

83
How to / Re: Disable Function for User Account
« on: August 30, 2015, 11:33:45 AM »
GO to /usr/local/cwpsrv/htdocs/resources/client/modules
And remove\comment the name\change the internal content - of those modules you want to not allow access to.

But remember, after an automatic update of CWP, those files will start working again :)

84
How to / Re: How to update CWP to New version
« on: August 30, 2015, 11:29:54 AM »
It's automatic, just wait for it and it'll be done by itself :)

85
(This is a temporary fix)

With root mysql user, login into the myphpadmin
Go to "postfix" database, open "Quota2" table, and reset all "bytes" and "messages" for every user once and then
Code: [Select]
UPDATE quota2 SET messages=0, bytes=0
restart postfix process
And you'll no longer have a problem.

86
New Modules / Re: [module] Last Modified files
« on: May 27, 2015, 08:07:42 PM »
Updated with more details :)

87
Installation / Re: [Tutorial] How to configure your server
« on: May 26, 2015, 05:42:12 PM »
Really do you send backup data over FTP? Unencrypted backup data?

Yes why? This is an OVH private network, nothing access to it, it's how OVH handles backups since when you format the server everything gets lost

88
Updates / Re: Disable auto-updater
« on: May 26, 2015, 05:39:34 PM »
oh ok, then I'll leave it disabled.
It's working perfectly for what i need :)

Thanks admin for letting me know

89
New Modules / [module] PhpMyAdmin auto login
« on: May 18, 2015, 02:53:40 PM »
This helps you to login directly to phpMyAdmin with one click
Note: You might also be interested on: http://forum.centos-webpanel.com/new-modules/%28module%29-favorites-top-bar/msg2604/#msg2604

Please give a support message if you use this module :)



Add this line to:
/usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php
Quote
<li><a href="index.php?module=phpMyAdmin_autologin" target="_blank"><span class="icon16 icomoon-icon-arrow-right-3"></span>PhpMyAdmin auto login</a></li>


Then create a new file called "phpMyAdmin_autologin.php" on:
/usr/local/cwpsrv/htdocs/resources/admin/modules
with this content:

Quote
<h3>Redirecting to phpMyAdmin...</h3>
This might take a few seconds.<br>
Click <a href="#" onclick="location.reload();">here</a> to try again.

<form method="post" id="phpMyAdmin_Form" action="http://<?php echo $_SERVER["SERVER_NAME"];?>/phpMyAdmin/" name="login_form" style="display:none">
<input type="text" name="pma_username" id="input_username" value="root" size="24" class="textfield"/>
<input type="password" name="pma_password" id="input_password" value="<?php echo $db_pass ?>" size="24" class="textfield" />
<input type="hidden" name="server" value="1" />

<input value="Exec" type="submit" id="input_go" />
<input type="hidden" name="target" value="index.php" />
</form>

<script>
$('#phpMyAdmin_Form').submit();
</script>

If you want to avoid that "unsecured access" message that pops up on your browser, just activate SSL on your phpmyadmin and also change the "action" in the form and you are ready to go :)

Pages: 1 ... 4 5 [6] 7 8