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] 2 3 ... 9
1
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.

2
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/

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

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

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

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

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

8
I can validate this fix also. Thanks!

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

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

11
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

12
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

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

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

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

Pages: [1] 2 3 ... 9