Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
E-Mail / Re: Email is neither received nor sent.
« Last post by Kvakunoff on April 22, 2024, 10:43:01 PM »
Thanks for the replay.
I changed it to v=spf1 ip4:192.0.2.0 include:djridhaboss.com -all

Not work either.
I see the same error:
 Your message couldn't be delivered to admin@djridhaboss.com because the remote server is misconfigured. See technical details below for more information.

 554 5.7.1 : Relay access denied
42
E-Mail / Re: Email is neither received nor sent.
« Last post by overseer on April 22, 2024, 10:27:45 PM »
Do you have valid rDNS / PTR record in place (provided by your hosting provider/ISP)?

Your SPF record doesn't look like complete, correct syntax; it should be more like this:
Code: [Select]
v=spf1 ip4:192.0.2.0 include:example.com -all
https://www.cloudflare.com/learning/dns/dns-records/dns-spf-record/
43
E-Mail / Email is neither received nor sent.
« Last post by Kvakunoff on April 22, 2024, 09:48:43 PM »
Hello,
I have been struggling for almost a month to solve the email problem.
It neither receives nor sends emails.
i use Cloudflare as DNS.
Routing is disabled in Cloudflare.
I need emails to work on admin@djridhaboss.com.
I use the default Roundcube.

Please tell me the errors and how to solve the problem.

Please tell me what to change or what to add and where to do it.
Installed RainLoop Webmail on new subdomain, https://email.djridhaboss.com same problem.
Sorry for the question, I'm new to all this and it's very hard for me.

These are DNS i have added
https://gyazo.com/a52aa63498c705bd2033ee449264e1fc
That is on the server
https://gyazo.com/c91897dd2c27295b2661ebdb2c07c6d1

Thanks in advance
44
PHP / Re: Problem PHP Mail Function Alma Linux 8
« Last post by Starburst on April 22, 2024, 04:50:07 PM »
I can tell you , you will run into problems with the Minimal version.

Since the CLI mail test didn't work, something was missing.
Not sure if it was cronie or not.

if you run

Code: [Select]
rpm -qa | grep cron
It should show:
cronie-anacron-1.5.2-8.el8.alma.1.x86_64
cronie-1.5.2-8.el8.alma.1.x86_64
crontabs-1.11-17.20190603git.el8.noarch

The other option during testing, is install postfix, and s-nail.
If it still fails the CLI test, then some backend package required isn't being installed.

As mentioned we have the base AL8 install with CWP 8 installed on mirror servers, and those even tested OK wit the CLI test I gave you.
https://almalinux.stl.us.ssimn.org/

This is a weird problem you are having.
45
CentOS 7 Problems / Re: Acme.sh, try to renew all domain or subdomain removed
« Last post by Starburst on April 22, 2024, 04:43:45 PM »
Which is the folder that I had told you to look in and delete the domain from on 2024-04-19

But am glad you got it fixed.
This seems to be a problem with how Let's Encrypt acme cron works, and not CWP.

Quote
One other place you can look is:

Code: [Select]
cd /root/.acme.sh/cwp_certs
46
PHP / Re: Problem PHP Mail Function Alma Linux 8
« Last post by topserv on April 22, 2024, 04:29:12 PM »
Good Morning,

Before doing new tests I reinstalled the CWP Pro Centos7 Version because
the scripts are used continuously and everything works perfectly.

I tested the Almalinux 8 64Bits image version (non-DVD) from the supplier and the original image version
of Almalinux on a cloud server and both have the same problem.

The Postfix mail server worked perfectly without problem as did all of the
CWP features.

I will install a new server to do the tests with a minimum AlmaLinux version in
version 8 because I need several versions of PHP.

Thank you for the help.
47
CentOS 7 Problems / Re: Acme.sh, try to renew all domain or subdomain removed
« Last post by devloraa on April 22, 2024, 12:36:12 PM »
As I point out, the folder /root/.acme.sh/cwp_certs, was the key here.

After reading the log file in /root/.acme.sh/acme.sh.log , it is clear to me (it would need confirmation from someone who really knows how cwp handle cert with acme.sh), that the parameter "home" in the cron task, indicates to acme.sh where to start is renewal work.

Code: [Select]
/root/.acme.sh/acme.sh --cron --home /root/.acme.sh/cwp_certs > /dev/null
Every domain has its own folder in cwp_certs folder. In every of these folders, there is a file that ends ending with .conf (ex: www.mydomain.com.conf).
In these files, you'll find many var, some of them are used by acme.sh to decide if it will or not, renew the domain.

Quick fix :
Go to the folder given as parameter 'home' to the cron task, and delete the folder of the domain.

This is not a bug fix.

CWP should have deleted these folders when we removed the domain from CWP panel.  This is the bug, and the provided "fix" does not repair the bug.
48
CentOS 7 Problems / Re: Acme.sh, try to renew all domain or subdomain removed
« Last post by devloraa on April 22, 2024, 11:59:42 AM »
Hello,
for the record, I have never doubted the certificates were located there.

My point is, acme.sh does not base is renew to do list on the files in this folder.

Thank you for trying, I'll post the fix when I found it .
49
Functions / Re: CWP account hooks NOT WORK!!
« Last post by mah1973 on April 21, 2024, 11:02:02 PM »
Sorry for the necropost :)

Not sure if it cwp allows to print some output from the hooks. However the hooks described here:
https://wiki.centos-webpanel.com/action-hooks
work for me.

Here is a simple example (just a bit modified example provided by docs):

cat /usr/local/cwpsrv/htdocs/resources/admin/hooks/account/account_new.php

Code: [Select]

<?php
function account_new($array){
        
$fp fopen('/tmp/account_new.txt''w');
        
fwrite($fpprint_r($arrayTRUE));
        
fclose($fp);
}
?>



then create some account and review the file /tmp/account_new.txt.

The new account hook works but when you try account unsuspend it doesn't work!
50
PHP / Re: Problem PHP Mail Function Alma Linux 8
« Last post by Starburst on April 21, 2024, 04:59:49 PM »
That's why I tested from one of our new mirror servers, those run the bare minimum.

Are you installing AlmaLinux 8 from the DVD or minimal version? As the DVD version is recommended.
Or is this an image from a provider?

Is Postfix installed & running?

A quick Google search shows some possible solutions, like at:
https://unix.stackexchange.com/questions/711728/spam-messages-cb-crond1288-no-configuration-file-found-at-root-esmtprc-or

https://think.unblog.ch/en/send-mail-mailx-command/

Pages: 1 ... 3 4 [5] 6 7 ... 10