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.
1066
E-Mail / Re: I can rececive emails, but cannot send any emails
« on: February 01, 2023, 04:14:40 PM »
DNS correct with an MX record in place? Verify with dig.
CSF firewall set with SMTP ports (25, 465, 587) open?
Are you starting without Clam and Amavis and SpamAssassin in the mail transport chain for simplicity?
CSF firewall set with SMTP ports (25, 465, 587) open?
Are you starting without Clam and Amavis and SpamAssassin in the mail transport chain for simplicity?
1067
CentOS 7 Problems / Re: Polkit error - GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed
« on: February 01, 2023, 04:11:31 PM »
I can validate this fix also. Thanks!
1068
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 01, 2023, 12:38:32 AM »
manual backup = SCP or rsync (nothing to do with the web-based control panel).
1069
Information / Re: PHOTO ATTACHEMENTS
« on: January 31, 2023, 04:22:14 AM »
The [ img ] tag works as you would expect, the image file just needs to be hosted somewhere.
![](https://forum.centos-webpanel.com/Smileys/default/grin.gif)
1070
E-Mail / Re: Email filters in CWP Web Panel?
« on: January 31, 2023, 04:19:32 AM »
You can also block via SpamAssassin (I'm pretty aggressive here -- even risking blocking Alphabet's .xyz domain):
Code: [Select]
# blacklist TLDs
blacklist_from *@*.casa
blacklist_from *@*.work
blacklist_from *@*.top
blacklist_from *@*.live
blacklist_from *@*.cam
blacklist_from *@*.pro
blacklist_from *@*.click
blacklist_from *@*.link
blacklist_from *@*.diet
blacklist_from *@*.party
blacklist_from *@*.zip
blacklist_from *@*.date
blacklist_from *@*.club
blacklist_from *@*.rest
blacklist_from *@*.bar
blacklist_from *@*.xyz
blacklist_from *@*.sbs
blacklist_from *@*.shop
1073
CentOS-WebPanel Bugs / Re: Error 504, 503 Gateway Timeout,backend fetch failed and others.
« on: January 31, 2023, 03:03:41 AM »
Files to edit are (if you are using PHP 8.1 -- whatever version you are using):
/opt/alt/php-fpm81/usr/etc/php-fpm.d/www.conf.default
and nginx vhost config:
/etc/nginx/conf.d/vhosts/yourdomain.com.ssl.conf
under the http section.
/opt/alt/php-fpm81/usr/etc/php-fpm.d/www.conf.default
and nginx vhost config:
/etc/nginx/conf.d/vhosts/yourdomain.com.ssl.conf
under the http section.
1074
Nginx / Re: All my site are now showing 502 Bad Gateway nginx/1.20.2
« on: January 31, 2023, 02:50:26 AM »
Need to see some error logs to nail it down...
1075
Other / Re: Create new disk (home2) because /home is full
« on: January 30, 2023, 06:16:36 PM »
You can mount other storage (block devices) in the filesystem manually with the mount command, then automate it with /etc/fstab. So on your additional storage, you could make that be dedicated to a large user account and mount it at /home/biguser (after moving the current home to the side: /home.biguser.temp). Then move their stuff from the temp named directory to the new /home/biguser directory.
Or you could implement something in user space with FUSE.
This is just a large overview sketch, as the devil is in the implementation details -- and that's up to you!
Or you could implement something in user space with FUSE.
This is just a large overview sketch, as the devil is in the implementation details -- and that's up to you!
1076
Other / Re: How to disable Phpmyadmin, webmail and webhosting panel login page for one domai
« on: January 30, 2023, 06:01:19 PM »
You would also have to delete this section of the vhost conf (/usr/local/apache/conf.d/vhosts/yourdomain.com.conf):
Code: [Select]
<VirtualHost 111.111.111.111:80>
ServerName webmail.yourdomain.com
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
ProxyPass / http://127.0.0.1:2095/
ProxyPassReverse / http://127.0.0.1:2095/
<Proxy *>
AllowOverride All
</Proxy>
</IfModule>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</VirtualHost>
(For completeness, you do this for both the plain .conf and the .ssl.conf files.)
1077
Apache / Re: Apache Webserver not working and shows error 502
« on: January 30, 2023, 05:55:03 PM »1078
CentOS-WebPanel Bugs / Re: Error 504, 503 Gateway Timeout,backend fetch failed and others.
« on: January 30, 2023, 05:49:06 PM »
Change your relevant version's php.ini: max_execution_time = 180 (tripling the default, at least)
Edit: /opt/alt/php-fpmXX/usr/etc/php-fpm.d/www.conf.default to include
Edit: /opt/alt/php-fpmXX/usr/etc/php-fpm.d/www.conf.default to include
Code: [Select]
fastcgi_read_timeout = 3000
And edit your nginx config to include (in the http section):Code: [Select]
fastcgi_read_timeout 3000;
Then reload php-fpm and nginx:Quote
service phpXX-fpm reload
service nginx reload
1079
Installation / Re: nginx server socket file not created for one of my users
« on: January 30, 2023, 04:42:54 AM »
Actually, this is not an nginx error; this is a php-fpm error. When installing a new PHP version, it does not carry over your existing user conf files from an existing PHP version to the newly built one. You have to copy the user conf from an existing version of PHP and then edit the paths inside the file as appropriate (ie simply changing php71 to be php56 in this case).
1080
DNS / Re: DigitalOcean DNS or CWP7 DNS?
« on: January 30, 2023, 04:37:55 AM »
I guess it depends on if you are already using the Cloudflare infrastructure -- DDoS protection, caching, optimization, etc. If so it totally makes sense to use their 1.1.1.1 DNS. Since I'm using their DNS servers for my domains, changes are near instantaneously propagated worldwide.