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.
196
E-Mail / Re: too much mail from
« on: April 27, 2022, 12:28:52 PM »
If you are being blocked by a remote host, there is nothing you can do on your end. Gmail is good for this. If you send more than 100 emails in a day, no matter how legit they are, they put a temporary block on your server. IF your client is a high volume email sender, then they need to use a high volume mail server that the big tech companies don't throttle. I'm sure that's not what you want to hear, but it is the only option.
197
Suggestions / Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
« on: April 22, 2022, 12:30:16 PM »
2031 is closed to all traffic not "ALLOWED" through the firewall. By having a DDNS address in the allow list, you are bypassing the firewall.
Ports 443, and 80 are run by different software than all of the other ports. Therefor, if you don't add the port on the end of the URL, those softwares don't know how to route them to cwpsrv.
Ports 443, and 80 are run by different software than all of the other ports. Therefor, if you don't add the port on the end of the URL, those softwares don't know how to route them to cwpsrv.
198
DKIM / Re: How to setup DKIM for domain using remote DNS servers
« on: April 21, 2022, 12:11:51 AM »
admin/index.php?module=dns_list_zones
Find the domain you want the records for, then click edit recoreds.
For DKIm, you are looking for the record "default._domainkey"
Find the domain you want the records for, then click edit recoreds.
For DKIm, you are looking for the record "default._domainkey"
199
DKIM / Re: How to setup DKIM for domain using remote DNS servers
« on: April 19, 2022, 08:09:28 PM »
You need to copy the records over to godaddy, who hosts your actual DNS. You should create the TXT records for SPF, DKIM and any other pertinent records, and give them the same values as the ones on your CWP server.
200
MySQL / Re: How connect to database in another site of same server
« on: April 19, 2022, 03:47:30 AM »
You cannot access /home/A from /home/B by default for security purposes. You have a few options.
1) Copy the settings.inc from /home/A to /home/B and chown the files to B
2) You can use "setfacl" to give B permission to A's files
3) You can make B part of A's group in linux "usermod -G A"
1) Copy the settings.inc from /home/A to /home/B and chown the files to B
2) You can use "setfacl" to give B permission to A's files
3) You can make B part of A's group in linux "usermod -G A"
201
Suggestions / Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
« on: April 18, 2022, 06:15:34 PM »
Use https://hostname:2031
It's possible the proxy get's broken.
YOu can also add your hostnames IP to the /etc/csf/csf.allow, but I believe that will open up the system to the possibility of brute force attacks again
It's possible the proxy get's broken.
YOu can also add your hostnames IP to the /etc/csf/csf.allow, but I believe that will open up the system to the possibility of brute force attacks again
202
Installation / Re: Can I Install It On Canonical Ubuntu 20.04
« on: April 18, 2022, 01:30:46 AM »
Alternatively, you can install lxd and create a CentOS vps on the server.
203
Softaculous / Re: Softaclous disk space issue
« on: April 14, 2022, 12:59:49 PM »
In that case, I'm going to say that it's a bug with softaculous. But seeing as it's showing 3GB or space, which is more than enough to install the script, I wouldn't worry about it too much. I think it's more of a visual bug than a functional one.
204
CentOS-WebPanel Bugs / Re: Bug with CWP - Template Editor Pages
« on: April 14, 2022, 12:54:32 PM »
you could make a cronjob to check if the file is modified, and copy your template if it's reverted.
Probably the easiest way to do this, is in your modified index.html file, add " <meta name="modified"> "
then in a bash script do the following:
then just make your changes in /usr/local/apache/htdocs/index.tpl
make sure to chmod your shell script 755, and add a cronjob to run as often as you want to point to that script
Probably the easiest way to do this, is in your modified index.html file, add " <meta name="modified"> "
then in a bash script do the following:
Code: [Select]
if [ "$(grep -c '<meta name="modified"' /usr/local/apache/htdocs/index.html)" == 0 ] ; then
cp /usr/local/apache/htdocs/index.tpl /usr/local/apache/htdocs/index.html
fi
then just make your changes in /usr/local/apache/htdocs/index.tpl
make sure to chmod your shell script 755, and add a cronjob to run as often as you want to point to that script
205
CentOS-WebPanel Bugs / Re: Bug with CWP - Template Editor Pages
« on: April 14, 2022, 12:19:52 PM »
When CWP updates, it overwrites all changes you make to the files that come with the software. Unfortunately, there is no way around this.
206
Softaculous / Re: Softaclous disk space issue
« on: April 14, 2022, 12:14:09 PM »
I believe the 3GB space it shows is the account based limit you set in the packaging and features. Meaning that account is allowed to use 3GB of the 190GB your system actually has.
207
Postfix / Re: how to stop spam
« on: April 12, 2022, 11:23:11 PM »
Your server may not be sending them. SMTP sends the reply to the MX assigned to a domain, even if the original spam didn't originate from your server.
The other emails are probably being sent via PHP. Most likely your have an insecure script on your server. If you don't use the server for email at all, you can close the ports for SMTP ( port 25 mainly ), and disable all of the mail software.
The other emails are probably being sent via PHP. Most likely your have an insecure script on your server. If you don't use the server for email at all, you can close the ports for SMTP ( port 25 mainly ), and disable all of the mail software.
208
I can build it / Re: Want to hire - Postfix blacklist manager
« on: April 11, 2022, 09:56:24 PM »
It's completely doable. However, you could also use SQL for the blacklist, much like the rest of CWP uses. Something to consider.
209
CentOS 7 Problems / Re: 503 Service unavailable
« on: April 10, 2022, 11:16:56 PM »
try
systemctl restart php-fpm81
systemctl restart php-fpm81
210
CentOS 7 Problems / Re: 503 Service unavailable
« on: April 08, 2022, 01:48:48 PM »
systemctl start php-fpm80