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.
1471
CentOS Configuration / Re: How to configure SpamAssassin
« on: June 01, 2023, 03:19:15 AM »
For sure, that's how it is supposed to work:
Code: [Select]
overseer@srv$ less /etc/spamassassin/local.cf
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)
# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.
1472
CentOS Configuration / Re: How to configure SpamAssassin
« on: May 31, 2023, 09:25:16 PM »
That's how it's supposed to work...
Code: [Select]
[overseer@srv ~]$ less /etc/spamassassin/local.cf
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)
1473
Backup / Re: Backup Time
« on: May 31, 2023, 09:22:32 PM »
You're right -- I only checked one of my CWP servers and that was the only one that had this listed under root's crontab:
Code: [Select]
0 0 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.phpAnd of course, it's an opaque black box, because it's IonCube encrypted... **sigh**!
1474
Apache / Re: server reached MaxClients setting, consider raising the MaxClients setting
« on: May 31, 2023, 09:19:45 PM »
Another recommendation is to switch to nginx if you want a more performant web server that consumes less resources than a patchy (apache) web server.
1475
Backup / Re: Backup Time
« on: May 31, 2023, 01:40:07 PM »
Is it not in root's crontab, running at midnight daily:
/usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.php
/usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.php
1476
Migration from other control panels / Re: cPanel to CWP Pro Migration -> DNS Zones owned by root (in cPanel)
« on: May 31, 2023, 05:11:36 AM »
Create the zone manually with CWP, then paste in the contents of the originating .db file from the cPanel server into the new zone on CWP. If it works, it should be scriptable.
1477
PHP Selector / Re: php selector error 500
« on: May 30, 2023, 04:29:01 AM »
Are you running PHP in CGI mode or php-fpm?
1478
CentOS Configuration / Re: How to configure Postfix
« on: May 30, 2023, 03:56:21 AM »
For proper form, multi-line postfix directives should have commas at the end of each line:
Code: [Select]
smtpd_sender_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_sender_domain,
reject_unknown_reverse_client_hostname,
reject_unknown_client_hostname
1479
CentOS 7 Problems / Re: Taking 3 minutes to load the Mail Server Manger
« on: May 29, 2023, 10:51:51 PM »
My two CWP VMs have more resources than that: 2 CPUs, 6GB of memory on one that runs ~30 accounts, 3CPUs and 10GB of memory on the other "heavy" VM that runs a dedicated Drupal site. That's about the resources I had dedicated to a dedicated e-commerce server running a Magento site.
I've heard of people running servers under 1-2 CPUs and 4GB of memory and I have done that as a temporary measure on my servers, but never long-term.
I've heard of people running servers under 1-2 CPUs and 4GB of memory and I have done that as a temporary measure on my servers, but never long-term.
1480
Migration from other control panels / Re: cPanel to CWP Pro Migration -> DNS Zones owned by root (in cPanel)
« on: May 29, 2023, 02:21:48 PM »
It's been several years since I've migrated my cPanel servers to CWP, but I don't recall there being any issues with DNS zones even back then -- and things should have improved in the intervening 2-3 years. I would think your workaround of changing from root-owned to account-owned should work. But how many zones are we talking about -- a handful? Dozens? Hundreds? Can you just manually recreate the zones on the receiving CWP server? Sometimes that type of workaround is the best course of action and the greatest time saver. Back 2-3 years ago I had to create a custom post-migration script to fix various permission errors I was encountering after migration, which I passed on to the CWP devs.
1481
CentOS-WebPanel GUI / Re: CWP Pro proposing gdb-headless updates when not needed
« on: May 29, 2023, 02:14:44 PM »
Good job! Exactly the right way to deal with that scenario.
(And of course, I meant CWP's YUM module is a frontend for yum -- not the whole of CWP being a yum frontend!)
(And of course, I meant CWP's YUM module is a frontend for yum -- not the whole of CWP being a yum frontend!)
1482
CentOS-WebPanel Bugs / Re: When registering a new user, The username is limited to 8 characters.
« on: May 29, 2023, 02:12:48 PM »
CWP imposes the 8 character limitation, just as cPanel used to (and cPanel is something of the spiritual father/reference platform for CWP). But the command line useradd utility can do up to 32 characters. I haven't tested to see if you do an end-run around CWP and it would respect the longer user name. But my suspicion is it would truncated it to 8 char because of the need for longer permutations for MySQL user + DB names: username_dbname. Perhaps this will be something they fix when they start offering EL9 support later this year or next year. AlmaLinux 9, here we come!
1483
E-Mail / Re: postfix sending email every minute
« on: May 29, 2023, 02:07:15 PM »
Yes, cyberspace mentioned the most common vector for spam sending on servers -- an insecure php script that gets exploited/abused to send bulk UCE (unsolicited commercial e-mail). I'm sorry I neglected to mention the possibility in my response, because that's the most common vector these days. In fact, that's the only mail abuse I've seen on my servers is via a malicous php script implanted via a WordPress vulnerability. You may want to consider closing off the php mailer vector altogether and require ONLY authenticated SMTP on the server for mail sending. It depends on your situation, but really I would say generally that using the php mailer functionality is "lazy coding" and you should only use SMTP AUTH for accounting purposes -- it's clear who is sending what and everything is logged.
1484
CentOS-WebPanel GUI / Re: CWP Pro proposing gdb-headless updates when not needed
« on: May 28, 2023, 08:01:41 PM »
CWP is just a frontend for YUM, so it is just presenting whatever suggestions yum is recommending for update. If you don't need gdb-headless, consider removing it. I recommend NOT running any unnecessary services on your server, as it just serves to increase your attack surface. Better to run lean an nimble and only install what you absolutely need.
1485
CentOS 6 Problems / Re: GUI for CentOS WHM!!
« on: May 28, 2023, 07:57:26 PM »What's with these AI bot responses lately? Are they trainers for ChatGPT?[That was not about Igor; it was about some AI Bot response that is now deleted.]
