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 ... 116 117 [118] 119 120 ... 127
1756
How to / Re: Docker and network
« on: February 05, 2023, 04:33:56 PM »
Edit:
Code: [Select]
/etc/csf/csfpost.shRestart CSF to apply your custom rule (at the end of the chain):
Code: [Select]
csf -rhttps://tecadmin.net/add-custom-iptables-rules-with-csf/

1757
CentOS 7 Problems / Re: "File System Lock" Bug
« on: February 05, 2023, 04:26:09 PM »
Can't you just chmod to lock down file permissions as an interim workaround?
Code: [Select]
chmod -R go-rwx /home/mike/directory

1758
PHP / Re: PHP-FPM7.4 How can I set php.ini files per domain name
« on: February 05, 2023, 05:37:42 AM »
Look here:
/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/yourdomain.conf

The PHP documentation indicates
Quote
FPM uses php.ini syntax for its configuration file - php-fpm.conf, and pool configuration files.

Example #1 Passing environment variables and PHP settings to a pool
Code: [Select]
php_flag[display_errors] = off
php_admin_value[error_log] = /var/log/fpm-php.www.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 32M

1759
CWP API / Re: CWP API always return 404
« on: February 04, 2023, 06:00:15 PM »
Posting the solution is always helpful for others! Thank you for sharing!

1760
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 04, 2023, 02:56:30 PM »
Yes, that sounds right. /var/vmail is Just a Bunch of Files (JBF) -- you can do whatever you want with them. ;)

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

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

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

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

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

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

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

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

1769
I can validate this fix also. Thanks!

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

Pages: 1 ... 116 117 [118] 119 120 ... 127