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.
Pages: [1]
1
CentOS 7 Problems / spamhaus.org DQS with Spamassassin
« on: July 10, 2024, 07:38:57 AM »
Over recent weeks I have had my email servers rejecting emails from Microsoft servers, because of issues with spamhaus.org
After checking the relevant IPs at check.spamhaus.org and reading about the issue at spamhaus.org I see that this is NOT due to blacklisting but a problem with the set-up on my Centos 7 server
I am advised to use this plugin for Spamassassin: https://github.com/spamhaus/spamassassin-dqs but I see that:
I've had no choice but to turn off spamhaus.org checks following this post … https://support.cpanel.net/hc/en-us/articles/12422318769047-Disable-Spamhaus-RBL-lookups-in-SpamAssassin …, which seems to have stopped the problem
Is there no way to set up Spamassassin to use spamhaus.org normally?
After checking the relevant IPs at check.spamhaus.org and reading about the issue at spamhaus.org I see that this is NOT due to blacklisting but a problem with the set-up on my Centos 7 server
I am advised to use this plugin for Spamassassin: https://github.com/spamhaus/spamassassin-dqs but I see that:
- There are versions for Spamassassin 3.4.1+ and 4.0.0+
- Centos 7's latest build for Spamassassin is 3.4.0, ie the plugin is not compatible
I've had no choice but to turn off spamhaus.org checks following this post … https://support.cpanel.net/hc/en-us/articles/12422318769047-Disable-Spamhaus-RBL-lookups-in-SpamAssassin …, which seems to have stopped the problem
Is there no way to set up Spamassassin to use spamhaus.org normally?
2
CentOS-WebPanel GUI / What variables are available in vhost template?
« on: February 04, 2024, 03:53:46 PM »
This article explains how vhost templates can be used: https://wiki.centos-webpanel.com/webservers-vhost-templates
but does not say what variables can be used in the templates. I've found variables such as %domain_idn% and %user% but no clue as to where all variable are listed (or defined)
but does not say what variables can be used in the templates. I've found variables such as %domain_idn% and %user% but no clue as to where all variable are listed (or defined)
3
E-Mail / Roundcube update not working due to php version of cwpsrv
« on: June 01, 2022, 08:42:48 PM »
Have been following this to check and update roundcube: https://www.awsmonster.com/2018/11/cwp-how-to-check-roundcube-all.html
When running the webmail installer I get this error message relating to the php used by roundcube:
7.2.30 is indeed the version used by cwpsrv and roundcube, which checks out with the bash:
which confirms:
I can't work out how to get cwpsrv to use a later version of php (I am using FPM selector for my domains that are using php versions 7.3 to 8.1)
Help please!
When running the webmail installer I get this error message relating to the php used by roundcube:
Quote
Checking PHP version
Version: NOT OK(PHP Version 7.3.0 or greater is required 7.2.30 detected)
7.2.30 is indeed the version used by cwpsrv and roundcube, which checks out with the bash:
Code: [Select]
/usr/local/cwp/php71/bin/php -v
which confirms:
Quote
PHP 7.2.30 (cli) (built: Apr 29 2020 02:29:42) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
I can't work out how to get cwpsrv to use a later version of php (I am using FPM selector for my domains that are using php versions 7.3 to 8.1)
Help please!
4
DNS / Re: freedns.centos Keeps going back to the Login Page
« on: June 17, 2021, 09:34:46 AM »
I'm still having this problem 5 days after the post. This does not appear to be a temporary change
5
CentOS 7 Problems / Re: Apache not working
« on: November 19, 2020, 10:05:17 AM »
This seems to be a similar issue like: https://forum.centos-webpanel.com/index.php?topic=9832.0
6
Updates / Re: After updates 11.14.20 Apache failed to start
« on: November 19, 2020, 10:02:05 AM »
I had the same problem this morning.
It seems that Apache is using the wrong conf file (not the CWP one) and that /etc/init.d/httpd is missing
Apache is using /etc/httpd/conf/httpd.conf and not /usr/local/apache/conf/httpd.conf
It seems that Apache is using the wrong conf file (not the CWP one) and that /etc/init.d/httpd is missing
Apache is using /etc/httpd/conf/httpd.conf and not /usr/local/apache/conf/httpd.conf
7
CentOS 7 Problems / Re: PHP-FPM error
« on: November 19, 2020, 10:01:06 AM »
I had a similar problem this morning.
It seems that Apache is using the wrong conf file (not the CWP one) and that /etc/init.d/httpd is missing
It seems that Apache is using the wrong conf file (not the CWP one) and that /etc/init.d/httpd is missing
8
CentOS 7 Problems / Apache not working
« on: November 19, 2020, 09:58:32 AM »
After YUM updates this morning Apache load using the wrong conf file.
Instead of using: /usr/local/apache/conf/httpd.conf
... it is using: /etc/httpd/conf/httpd.conf
And I have also noticed that /etc/init.d/httpd does not exist.
I've updated CWP, but this has not solved the issue.
What do I do to correct this?
Instead of using: /usr/local/apache/conf/httpd.conf
... it is using: /etc/httpd/conf/httpd.conf
And I have also noticed that /etc/init.d/httpd does not exist.
I've updated CWP, but this has not solved the issue.
What do I do to correct this?
9
Information / Under ServicesMonitor (systemd) why do so many services show "status: unknown"?
« on: August 01, 2017, 10:54:03 PM »
Under ServicesMonitor (systemd) why do so many services show "status: unknown"?
One of these services I would like to monitor, but because the status is unknown, it is restarted every 15 minutes (or whatever period for checking is set)
One of these services I would like to monitor, but because the status is unknown, it is restarted every 15 minutes (or whatever period for checking is set)
10
CentOS-WebPanel GUI / fileManager2.php not working
« on: July 15, 2017, 04:39:48 PM »
Still getting php error in fileManager2.php
File says that decoding is forbidden so not sure how to proceed
Error: Notice: Undefined variable: 66%7? "/,&@',1) in /usr/local/cwpsrv/htdocs/admin/admin/fileManager2.php on line 2097152
File says that decoding is forbidden so not sure how to proceed
Error: Notice: Undefined variable: 66%7? "/,&@',1) in /usr/local/cwpsrv/htdocs/admin/admin/fileManager2.php on line 2097152
11
CentOS Configuration / phpmyadmin generates token after successful login but remains on login page
« on: June 17, 2017, 01:43:20 PM »Using phpmyadmin with cwp on centos 7 server. Was working, but after changes to apache configuration (maybe other changes too) have the following problem:
1) From cwp load phpmyadmin login page 2) Enter credentials correctly (sure that credentials correct because otherwise get error message) 3) See new token in URL, but login page reloaded repeatedly
Have tried: - reinstalling mariadb - ensuring root has full sql rights granted - reinstalled and updated phpmyadmin to latest
Not sure how to debug this one
12
SPF / Re: policyd-spf skip_addresses not IP network
« on: June 16, 2017, 11:10:43 PM »
Solved this by:
1) installing pip for python 3 following this: https://stackoverflow.com/questions/32618686/how-to-install-pip-in-centos-7
2) then seeing what modules were missing by invoking the script from ssh with
2a) module spf with
3) then changed back to python3 (as per the original solution above) in /etc/postfix/master.cf
4) restarted postfix
1) installing pip for python 3 following this: https://stackoverflow.com/questions/32618686/how-to-install-pip-in-centos-7
2) then seeing what modules were missing by invoking the script from ssh with
Code: [Select]
sudo -u nobody /usr/bin/python3.4 /usr/libexec/postfix/policyd-spf
I added the following:2a) module spf with
Code: [Select]
pip3 install pyspf
2b) module dns withCode: [Select]
pip3 install py3dns
2c) module policydspfsupp withCode: [Select]
pip3 install pypolicyd-spf
3) then changed back to python3 (as per the original solution above) in /etc/postfix/master.cf
Code: [Select]
user=nobody argv=/usr/bin/python3 /usr/libexec/postfix/policyd-spf
4) restarted postfix
13
SPF / Re: policyd-spf skip_addresses not IP network
« on: June 12, 2017, 01:09:05 PM »
When I follow this I get an error as follows
(As a work around until I get this fixed in master.cf I use: user=nobody argv=/usr/bin/python /usr/libexec/postfix/policyd-spf
instead of: user=nobody argv=/usr/bin/python3 /usr/libexec/postfix/policyd-spf
Also I have to disable the ipaddress modules in python. While this causes other problems the server can at least receive mails)
Code: [Select]
Traceback (most recent call last):
File "/usr/libexec/postfix/policyd-spf", line 35, in <module>
import spf
ImportError: No module named 'spf'
(As a work around until I get this fixed in master.cf I use: user=nobody argv=/usr/bin/python /usr/libexec/postfix/policyd-spf
instead of: user=nobody argv=/usr/bin/python3 /usr/libexec/postfix/policyd-spf
Also I have to disable the ipaddress modules in python. While this causes other problems the server can at least receive mails)
14
CentOS-WebPanel Bugs / Undefined varaible error when trying to use advanced file manager
« on: June 12, 2017, 05:52:00 AM »
Get the following error when starting advanced file manager:
Notice: Undefined variable: 66%7? "/,&@',1) in /usr/local/cwpsrv/htdocs/admin/admin/fileManager2.php on line 2097152
Notice: Undefined variable: 66%7? "/,&@',1) in /usr/local/cwpsrv/htdocs/admin/admin/fileManager2.php on line 2097152
Pages: [1]