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

Pages: [1]
Apache / Re: Every website redirects to url:2031
« on: August 15, 2022, 04:19:33 PM »
> SOLUTION: Restarted CSF firewall and it started working in incognito mode now. I think this is resolved. Still confused what this has to do with CSF!!

Apache / Re: Every website redirects to url:2031
« on: August 15, 2022, 12:35:31 AM »
1. I removed vhost conf for one domain and tried restarting httpd still redirecting

2. Sometimes when tried in browser 2-3 times some site works but some never works and redirects to 2031 port

Curl/wget output is always same:

--2022-08-15 06:01:41--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: [following]
--2022-08-15 06:01:41--
Connecting to (||:2031... connected.
ERROR: no certificate subject alternative name matches
        requested host name
To connect to insecurely, use `--no-check-certificate'.

PS: I found that cwpsrv in weird way accepting connection on port 80 (!!!) And it is not even listening on port 80?!!!? Any idea

Apache / Every website redirects to url:2031
« on: August 14, 2022, 09:41:15 PM »

If I try any website like http(s)://, It will redirect to . I have apache rebuilt several time with no luck.

Any idea on how to fix this?

Information / Posfix Increase Attachment size
« on: April 13, 2022, 08:34:37 AM »
This is how I changes postfix message size:

In file vi /usr/local/cwpsrv/var/services/roundcube/config/ value was:
$config['max_message_size'] = '100M';

And in roundcube it will show 75 M as Attachment size

When I changed

$config['max_message_size'] = '500M';

It started showing 375 M as attachemnet size.

FTP / Re: 530 Login authentication failed
« on: March 16, 2021, 09:13:26 PM »
Same issue with me.

I created a user with user001 name and I was trying to access it but failed. Later I understood that the user name should be user@domain in my case it was user001@sxyzxyzs.pqr

(*domain name not disclosed)

CentOS Configuration / Re: I have a question about the port (nginx+apache)
« on: February 11, 2021, 08:19:44 AM »
It uses Proxypass to forward requests to the 8181 port. Any request on ort 80 will be internally passed to 8181

Your request ----->  Port 80 ------> Proxy pass -----> Redirect 8181 (Internally redirected) -------> load Data from Port 8181

SSL / Re: how to force https on rouncube webmail
« on: February 11, 2021, 06:43:54 AM »
I had this HTTP to HTTPS working some days ago, But after the CWP update, I guess the configuration changes I made were reset.

I tried again to set a redirect in webmail.conf but now I get too many redirects error and certificate error. I tried changing in Apache directly and it worked. I know this is not te best solution but it can be labelled as a workaround.

Webserver Setting >  Webserver Conf Editor > Apache Tab > Vhost file tab > Select Configuration file for Domain you wish to change redirection.

Code: [Select]

   <IfModule mod_proxy.c>
      ProxyRequests Off
      ProxyPreserveHost On

Code: [Select]
       RewriteEngine On
       RewriteCond %{HTTPS} off
       RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]

   <IfModule mod_proxy.c>
      ProxyRequests Off
      ProxyPreserveHost On
Do the same for
If you have many domains I think there must be some way to have a common vhost configuration somewhere but not sure. Maybe you need to edit the template and rebuild apache to make this rule server-wide in one shot.

DNS / Autodicover Settings
« on: December 01, 2020, 02:33:47 PM »

I have the latest version of CWP. When I configure email in any email client auto-discover returns and How can I change this as I don't have SSL for those sub-domains? Also, when I change the and to in manual thunderbird configuration it gives STARTTLS as default but I want SSL/TLS by default. is this because of the autodiscovery feature?  If yes where I can change this.

E-Mail / Re: Connection to storage server failed...
« on: August 01, 2020, 03:41:09 AM »

Please post your sni configuration.

run this :

Code: [Select]
cat /etc/dovecot/sni.conf
Check if all entries are in this format :

Code: [Select]
      1 local_name "" {
      2   ssl_cert = </etc/pki/tls/certs/
      3   ssl_key = </etc/pki/tls/private/
      4 }

E-Mail / Re: SSL issue thunderbird
« on: July 31, 2020, 06:31:04 PM »
Hello, this issue was due to CWP does not add Certificates automatically to postfix and dovecot configuration. I did t and everything is smooth now. I will build a module for that.

E-Mail / Re: SSL issue thunderbird
« on: July 17, 2020, 08:15:47 AM »

I have not generated/added on the webserver. I have done exactly what you said, Pointed A record for DNS), and generated Autossl for pqr domain and mail domain. Everything is working fine for expect SSL/TLS option. Even STARTTLS settings are working fine.


E-Mail / SSL issue thunderbird
« on: July 16, 2020, 04:38:48 PM »
I have a CWP installation on openvz7 virtualization. I have configured it without any issues. But the only issue now is SSL with Email. I have no issues using STRTTLS which is working fine, but one of my clients wants SSL/TLS working in outlook and other mail clients. It gives below error while using the clients domain.

"Thunderbird Failed to find the settings for the Account"
Environment :
Panel : CWP
Main Domain:
account domain:
Mail subdomain:
Email user: amey@
    Type: IMAP
    Port: 993
    Authentication: Normal Password
    Type: SMTP
    Port: 465
    Authentication: Normal Password
So where is the issue? Thundrbird, Postfix or somewhere else?

Note : Same settings working when used main domain , or hostname
Let me know if you want need any configuration

Pages: [1]