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]
1
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)

2
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

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

Before:
Code: [Select]
<VirtualHost 103.205.140.126:80>
   ServerName webmail.domain.com

   <IfModule mod_proxy.c>
      ProxyRequests Off
      ProxyPreserveHost On
                .
                .
                .

After:
Code: [Select]
      .
      .
      .
<VirtualHost 103.205.140.126:80>
   ServerName webmail.domain.com
       
       RewriteEngine On
       RewriteCond %{HTTPS} off
       RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]

   <IfModule mod_proxy.c>
      ProxyRequests Off
      ProxyPreserveHost On
      .
      .
      .
[code]
Do the same for mail.domain.com
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.

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

I have the latest version of CWP. When I configure email in any email client auto-discover returns imap.domain.com and smtp.domain.com. How can I change this as I don't have SSL for those sub-domains? Also, when I change the imap.domain.com and smtp.domain.com to mail.domain.com 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.

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

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 "mail.domain.com webmail.domain.com" {
      2   ssl_cert = </etc/pki/tls/certs/domain.com.bundle
      3   ssl_key = </etc/pki/tls/private/domain.com.key
      4 }

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

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

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

Screenshot: https://ibb.co/MSSgs0K


8
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: xyz.com
hostname: cwp01.xyz.com
account domain: pqr.com
Mail subdomain: mail.pqr.com
Email user: amey@ pqr.com
Incoming:
    Type: IMAP
    Hostname: mail.pqr.com
    Port: 993
    SSL: SSL/TLS
    Authentication: Normal Password
Outgoing:
    Type: SMTP
    Hostname: mail.pqr.com
    Port: 465
    SSL: SSL/TLS
    Authentication: Normal Password
 ++++++++++++++++++++++++++++++++++++++++++
So where is the issue? Thundrbird, Postfix or somewhere else?

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

Pages: [1]