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
Postfix / Re: Has anyone encountered this situation?
« on: December 29, 2023, 02:14:03 AM »
Thank you Two bro.
I have a separate inbox with the imap.log file link.
Two bro, please help me see if there's anything strange.
Thank you very much.

2
Postfix / Re: Has anyone encountered this situation?
« on: December 28, 2023, 08:44:54 AM »
Truncating to zero bytes leaves the file in place with its correct permissions, then the IMAP daemon (dovecot) will continue to log to the file. It will make it more manageable for you to start over from zero.

Thank you, it worked well.
But imap.log works continuously, just after 30 minutes of deleting it has jumped back to nearly 1gb.
For now, just use your method.
Thank you very much.

3
Postfix / Re: Has anyone encountered this situation?
« on: December 27, 2023, 07:14:19 AM »
before you delete it, investigate if there are numerous errors in it.  If it's just logging imap connections, you can safely delete it.
Thank you, I don't know what to do with it.

4
Postfix / Re: Has anyone encountered this situation?
« on: December 27, 2023, 07:12:13 AM »
Start over if you are encountering errors; it will make them easier to parse and diagnose. Truncate the log file to zero bytes:
Code: [Select]
truncate -s0 /usr/local/cwpsrv/var/services/roundcube/logs/imap.log

Thank you for your help.
I'm wondering if Truncate = 0 will it continue to save to the imap.log file or not?

5
Postfix / Has anyone encountered this situation?
« on: December 26, 2023, 08:48:08 AM »
Has anyone encountered this situation?
Currently I have a log file named: imap.log
It's more than 600gb, I don't know what to do with it, I don't know whether to empty it or not.
Has anyone encountered this problem and how did you solve it? It takes up too much space on your server.
Thank you.
[~]# cd /usr/local/cwpsrv/var/services/roundcube/logs/
4.0K carddav.log
6.4M errors.log
601G imap.log
9.3M sendmail.log
4.0K userlogins.log

6
E-Mail / Has anyone encountered this situation?
« on: December 26, 2023, 08:47:33 AM »
Currently I have a log file named: imap.log
It's more than 600gb, I don't know what to do with it, I don't know whether to empty it or not.
Has anyone encountered this problem and how did you solve it? It takes up too much space on your server.
Thank you.
[~]# cd /usr/local/cwpsrv/var/services/roundcube/logs/
4.0K carddav.log
6.4M errors.log
601G imap.log
9.3M sendmail.log
4.0K userlogins.log

7
I also got this error, and I fixed them by reassigning the owner rights:
chown -R

8
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.

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

10
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.

11
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.

12
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.

13
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

14
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.

15
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]