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 - overseer

Pages: 1 ... 81 82 [83] 84 85 ... 91
1231
Updates / Re: Updates are bad
« on: February 04, 2023, 02:55:02 PM »
I think I've seen this one time before. Probably a non-clean exit on httpd. Clear the PID file manually and then try starting your http service (Apache/Nginx).

1232
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 02, 2023, 09:53:40 PM »
You don't need to know any user's login info -- just run the operation and reverse it back if you have have a failure or data loss. E-mails are just atomic files owned by vmail:mail -- you don't need to authenticate as the user to read them or rsync them offsite. You can gzip/compress in transit and also at rest on the target drive if you need it be smaller. I have enough disk space on the target to not need compression.

1233
Updates / Re: How can update PHP for cwpsrv
« on: February 02, 2023, 11:51:55 AM »
cwpsrv uses its own internal build of PHP 7.2 (labeled php71) so as to maintain usability no matter what you do with PHP selectors or php-fpm. Absolutely I am running php-ftp 8.1 on my servers and my sites run that version. But you can't upgrade the internal cwpsrv version yourself or you risk breaking everything.

CWP provides a script for updating to the 1.4.x branch of Roundcube:
Code: [Select]
sh /scripts/mail_roundcube_update
But you can update Roundcube yourself to 1.5.0, per Sandeep's directions:
https://www.uxlinux.com/upgrade-to-roundcube-version-mail-on-cwp-centos-webpanel/

1234
Updates / Re: How can update PHP for cwpsrv
« on: February 02, 2023, 04:06:02 AM »
Although labeled 7.1, it is actually PHP 7.2. We are all waiting on an official upgrade. At this point, as of Nov 2022, PHP 7.x tree is EOL, so we need to be moving on to PHP 8.1.

1235
Installation / Re: CWP Host SSL with Cockpit?
« on: February 01, 2023, 06:37:52 PM »
But really, I don't know why you don't just add an A record to your DNS and give your Cockpit host its own resolvable FQDN and have it request a LetsEncrypt SSL certificate for itself. All my bare metal host servers have a domain name of host1, host2, etc. and the VMs they host have a corresponding srv1, srv2, etc. hostname. If it's greater than 1:1 of multi-VMs per host, the secondary VM gets an alternate name, of course.

1236
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 01, 2023, 06:33:29 PM »
Sure, you can do whatever you want "behind its back". The /var/vmail directory is owned by vmail:mail, so you just recursively set those permissions if you need to.

1237
Installation / Re: CWP Host SSL with Cockpit?
« on: February 01, 2023, 04:21:28 PM »
I don't have any direct experience with Cockpit yet -- just Webmin. But I would imagine you could SCP the key and certs needed to the host system from the VM. Just be aware you will need to update the certs every 90 days if using LetsEncrypt SSL.

1238
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?

1239
I can validate this fix also. Thanks!

1240
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).

1241
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.

1242
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

1243
CSF Firewall / Re: How to block China traffic?
« on: January 31, 2023, 04:15:04 AM »
edit /etc/csf/csf.conf
Code: [Select]
CC_DENY = "BG,CN,KP,RU,NG"(Sorry if it's your country, but this list includes the top 5 hacking countries in my US-based observation.)
Code: [Select]
service csf restart

1244
Backup / Re: little worried to use cwp
« on: January 31, 2023, 04:05:10 AM »
Bulletproof:
Code: [Select]
mysql  database_name < file.sql

1245
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.

Pages: 1 ... 81 82 [83] 84 85 ... 91