Control Web Panel

WebPanel => E-Mail => Topic started by: jclins on July 19, 2018, 10:31:46 AM

Title: outlook unknown certificate and php_network_getaddresses
Post by: jclins on July 19, 2018, 10:31:46 AM
Hello everyone, I'm having problems with the email system. It is working, receiving and sending email by the roundcube (including DKIM and SPDIF ok).

If I try to connect through Outlook 2016 I get a certificate error message:
https://prnt.sc/k8d021

When I send email with the application in php I get the error message: php_network_getaddresses
https://prnt.sc/k8cznn

In theory, the server is configured correctly:
https://prnt.sc/k8cydk

Anyone have any ideas how to fix it?
Title: Re: outlook unknown certificate and php_network_getaddresses
Post by: studio4host on July 19, 2018, 06:04:26 PM
the first issue is related to hostname certificate so you need to install some valid certificate.
By default in cwp if you have a working A record set for your hostname when saving hostname CWP will automatically install free autossl.

for other issues in php try to check your application and requirements for it
Title: Re: outlook unknown certificate and php_network_getaddresses
Post by: jclins on August 08, 2018, 12:57:50 PM
Sorry my delay. I'm a newbie. I reinstall all 3 times and none of them worked.   :(

My footerprints:
0-Change MYDOMAIN.COM NAMESERVERS to NS1.CENTOS-WEBPANEL.COM and NS2.CENTOS-WEBPANEL.COM
1-change hostname for MYDOMAIN.COM
2-install cwp-el7-latest
3-Enable Firewall (IP:2030/admin/index.php?module=firewall)
5-Verify rDNS/PTR and Hostname (IP:2030/2030/index.php?module=change_hostname)
6-Create MYDOMAIN.COM in "Free DNS Manager"
7-I wait 8 or 12 hours for  DNS propagation
8-create NEW ACCOUNT  for MYDOMAIN.COM with AutoSSL checked (IP:2030/admin/index.php?module=new_account)
9-Enable DKIM (IP:2030/admin/index.php?module=dkim)
10-Copy DKIM key to "Free DNS Manager"
11-Create sPDIF in "Free DNS Manager"
12-Create _dmarc  in "Free DNS Manager"
13-Check SLL (https://www.sslshopper.com/ssl-checker.html?hostname=MYDOMAIN.COM)
14-Create email (IP:2082/iddircom/?module=email_accounts)
15-Configure email in Outlook

What's wrong??? snifff


Title: Re: outlook unknown certificate and php_network_getaddresses
Post by: jclins on August 09, 2018, 06:22:50 PM
I read again and I make a mistake when I wrote first step, the correct is:

1-change hostname for SRV.MYDOMAIN.COM
Title: Re: outlook unknown certificate and php_network_getaddresses
Post by: jclins on August 20, 2018, 10:09:41 AM
the first issue is related to hostname certificate so you need to install some valid certificate.
By default in cwp if you have a working A record set for your hostname when saving hostname CWP will automatically install free autossl.

I have:
srv1      0      IN      A      IP-ADDRESS

It's correct?