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 - andylau123

Pages: [1]
1
I also got this error, and I fixed them by reassigning the owner rights:
chown -R

2
How to / Re: [Tutorial] How to install SSL on hostname?
« on: April 01, 2022, 01:36:25 AM »
I will add more pictures.
<a href="https://ibb.co/Z6QWv5M"><img src="https://i.ibb.co/VWF2bRq/01.png" alt="01" border="0"></a>
<a href="https://ibb.co/tM2FRLj"><img src="https://i.ibb.co/rGpN9d8/02.png" alt="02" border="0"></a>
<a href="https://ibb.co/8Xfgvrq"><img src="https://i.ibb.co/SJMwYtb/03.png" alt="03" border="0"></a>

2087 and 2083 are handled by the cwp version of nginx itself (/usr/local/cwpsrv/)

Whereas your third picture is run by apache/nginx (Whichever you use). 

Do the following:
grep cert /usr/local/cwpsrv/conf/cwpsrv.conf   Copy the 2 lines

FOr Apache:
nano /usr/local/apache/conf.d/hostname-ssl.conf
Find all instances of SSLCertificateFile and SSLCertificateKeyFile and point them to the cert above:

For Nignx:
 nano /etc/nginx/conf.d/hostname-ssl.conf
Find all Instances of ssl_certificate and ssl_certificate_key and point them to the cert above

After making the changes, systemctl restart httpd and nginx -s reload

Thank you very much,
Can you show me how to do it in detail, because I'm not familiar with it, I just installed CWP.
Please sympathize.
I switched back to using only Apache.

3
How to / Re: [Tutorial] How to install SSL on hostname?
« on: March 31, 2022, 09:29:59 AM »
I will add more pictures.
<a href="https://ibb.co/Z6QWv5M"><img src="https://i.ibb.co/VWF2bRq/01.png" alt="01" border="0"></a>
<a href="https://ibb.co/tM2FRLj"><img src="https://i.ibb.co/rGpN9d8/02.png" alt="02" border="0"></a>
<a href="https://ibb.co/8Xfgvrq"><img src="https://i.ibb.co/SJMwYtb/03.png" alt="03" border="0"></a>

4
How to / Re: [Tutorial] How to install SSL on hostname?
« on: March 31, 2022, 09:19:38 AM »
Hello,

I could see that a lot of users are asking "How to install SSL on hostname" and I found a few tutorials some of which are working and others do not. Also, the tutorials which are working are lenghty and not for linux newbie.

So, I will teach you here how to install and configure Letsencrypt Free SSL on hostname in CWP in simple 3 steps.

1 - Check that you should have an A record for the hostname. For example if your server hostname is cp.hostinpk.com, then you should have an A record for "cp" pointing to server IP

2 - Login to CWP Admin Panel>> Server Settings>>Change Hostname and then hit "Change Hostname" button after putting your desired hostname (in my case cp.hostinpk.com). This will only generate a valid LE SSL for your hostname when an A record is present against hostname

3 - Perform following command from shell
Code: [Select]
service cwpsrv reload
THAT's IT. Enjoy the green padlock while accessing the CWP services (admin panel, user panel, webmail, etc..)
Hi,
Thank you for the great guide.
I have been able to access cwp-panel with ssl, but only webmail roundcube, when I log in, there is still no ssl.
I'm using Apache
Hope you can help yourself.

5
Updates / Re: problem following update 01/11
« on: March 31, 2022, 02:28:05 AM »
Problem solved for me
for information
the user must also go to his 2083 panel and go to PHP Selector
select domain and php version apply
Thank you for the solution.
But can you be more detailed, because I go to the PHP Sector and I see a lot of entries and I don't see where to choose Domain.
Thank you.

6
Hi,
I have the same problem as you but my ISP doesn't block port 25.
I send and receive mail to Gmail, it's fine, the mail goes to Gmail's inbox and doesn't spam.
But when I send to Yahoomail and Hotmail even Mail-tester gives error port 25:
<mainmain.com@yahoo.com>: connect to
    mta6.am0.yahoodns.net[67.195.204.72]:25: Connection timed out
--------------------------
<mainmain.com@hotmail.com>: connect to
    hotmail-com.olc.protection.outlook.com[104.47.73.161]:25: Connection timed out
--------------------------
<test-j466zqh2b@srv1.mail-tester.com>: connect to
    reception.mail-tester.com[94.23.206.89]:25: Connection timed out
--------------------------
I asked Support from CWP, they were also very enthusiastic but were unsuccessful.
They have a solution for themselves that should change the mail server name:

"I noticed that the server hostname you are using seems not correct, we do not recommend using the system words like mail. in server hostname. We recommend changing the server hostname to something else like server or server1 or srv or srv1."

"We already tried all other solutions, there is the only way to change the server hostname and the emails will start working fine."
---------------------
I haven't changed it yet because I'm afraid it will damage the mail server because I'm sending it very well to Gmail.
Very headache.

7
E-Mail / Help! I cannot send mail using the editor type HTML
« on: January 13, 2020, 08:26:57 AM »
Help! I cannot send mail using HTML type editor
I cannot email using the HTML Type Editor.
Just press send and there will be a notification Sending message .... forever and not sent.
Does anyone help me with this error. I use Roundcube 1.4.2

8
DNS Manager / Re: rDNS/PTR error
« on: January 06, 2020, 01:43:39 AM »
Hi, Glorency.
Do you give me ask:"
I am also stuck with rDNS / PTR = FAILED on CWP. I bought my own computer to build mailserver, not to rent an ISP.
If so, how to configure rDNS / PTR so you.
Thank you so much.

9
DNS / Re: rDNS/PTR Failed for hostname
« on: January 06, 2020, 01:24:46 AM »
I also have the same error as you, can you show me how to FIX.
Thanking you.

Pages: [1]