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

Pages: [1] 2
1
Thanks for your response.

For the openssl commands,
openssl s_client -servername mail.domain.com -connect mail.domain.com:pop3s
This returns the server hostname instead of the client - mail.domain.com etc.

openssl s_client -connect localhost:25 -servername servername.otherdom.com -starttls smtp
This returns the correct client domain name mail.domain.com etc.

2
CentOS-WebPanel GUI / Re: E-Mail server settings in User Panel
« on: October 06, 2020, 05:16:08 PM »
if domain has installed ssl for mail.DOMAIN.COM then it will also have all required configuration to use the same address.
However, in the panel configuration is shown for the hostname to avoid issues with those not having ssl for the mail subdomain installed.

If you noticed the picture I shared, there are 2 sets of configuration - one for SSL and one for non-SSL.

1. non-SSL is not showing the client domain or hostname, it simply saying Yourdomain
2. For SSL, it would have been great if we could have a condition that would check for mail service installed for client, if yes display the client domain and else use server hostname.

3
CentOS-WebPanel GUI / Re: E-Mail server settings in User Panel
« on: October 06, 2020, 04:55:28 AM »
they can use both we prefer to use hostname.
Hi Sandeep, I am not sure I understand your response.
Do you mean its possible, if so how do I configure the control panel to use the same ?

4
As I have already mentioned within Background details, all services, specifically mail is installed for each of the domain domain.

5
Postfix / Postfix SNI - Email SSL for each domain than Server hostname
« on: October 05, 2020, 04:53:53 PM »
What i am trying to achieve is, each domain can connect to mail server with its respective SSL domain irrespective of hostname
for e.g. abc.com connect to imap and smtp using mail.abc.com on SSL

However, whenever a client connects to mail.abc.com, the server responds with server main hostname SSL.

Please know that, http SSL certificate works fine on server hostname and abc.com properly, this issue is with e-mail.

Background:
New install of CWP with everything updated
Postfix mail_version = 3.4.7
Domain and certificate key mapping is found in File: /etc/postfix/vmail_ssl.map
Tried rebuilding mail server configuration, it doesnt work
All services are installed in CWP control panel --> SSL Certificates option

Need help with resolving this.



6
CentOS-WebPanel GUI / E-Mail server settings in User Panel
« on: October 05, 2020, 03:08:51 PM »
In CWP user panel, under menu "Email Accounts", the mail client configuration details are shown.


This configuration is showing server hostname as Incoming Server: and Outgoing Server: irrespective of the user/client domain name.

Now that Postfix supports SNI, and client can connect using SSL with their individual domain names, can we not have the same mail.userdomain.com format.

In cPanel we see similar customized mail client configuration details, which can give each user their own branded incoming / outgoing mail client configuration details.

Any help how to achieve this in CWP, or if this could be a possible future option ?

Additionally if we could see the user's domain name for non SSL settings, instead of "Your domain"?

7
I can build it / Re: Apply and build
« on: November 27, 2014, 10:03:19 PM »
Yup its not there.

8
When you install Varnish (cache server), all your websites will be served first by varnish. Apache logs will see client ip as 127.0.0.1.

Concerns:
Modules that depend on client ip / filtering breaks. eg. mod_spamhaus

Solution:
There is this module mod_extract_forwarded. This has been build for Apache 2.0 but it works for Apache 2.2.17 of CWP too.

Instructions:
http://share.ashokjp.com/linux/varnish-apache-and-client-ip-reporting-for-mod_spamhaus.html

I have compiled instructions to get this working on a CWP server. It works for me, still please try it at your own risk, make necessary backups before you try !! ::)

9
E-Mail / Re: imap php extension
« on: November 26, 2014, 09:15:07 PM »
Once you give the rebuild through CWP admin panel.

SSH to your server and tail the log file to see if your apache is built or halt with errors.

the file location is /var/log/apache-rebuild.log

and the command to tail is
Code: [Select]
tail -f /var/log/apache-rebuild.log

As of now, you can check the previous built log by either
Code: [Select]
cat /var/log/apache-rebuild.log

or  open it in an editor with
Code: [Select]
/var/log/apache-rebuild.log

10
CentOS-WebPanel Bugs / Heavy GUI Slow Menu
« on: November 26, 2014, 02:06:40 PM »
I am posting this just to confirm if anyone else is having same concern. If its a common concern, I hope CWP team considers this as a positive feedback

The menu on CWP admin (left menu), it takes 3 seconds, sometimes 6 to expand after clicked.
It drags the whole point of GUI.

It feels like working on a low end PC too slow to process.

I tried on 3 -4 pcs Intel i3, i5 with 2GB free RAM and still same. also repeats across all browsers.

----
If this cannot be fixed, atleast a link on top to expand all menu at once would make it more convinient.



Also the dashboard
It keeps updating process details / memory statistics every second.
We should have an option to turn it off. We sure can login without stats, but as soon as we go to some other option and return it still returns.

It just makes the whole GUI too heavy at times.



11
CentOS-WebPanel Bugs / Package & Inode Values while Editing Account
« on: November 26, 2014, 05:38:07 AM »
Everytime we edit an account, the package and inode values are not reflecting to what we set last.

The value for package is always default
The value for inode is always 0 (unlimited).

The issue is, suppose we open an account for editing its contact email, we just change contact email and save. The package and inodes get reset to default which is unlimited features and unlimited inodes.

If this is not a bug, this isnt the right behaviour.

If we have set package for xyz.com to XX plan, when we click edit, it should show XX plan and not default

12
I can build it / Re: Apply and build
« on: November 26, 2014, 01:33:22 AM »
Also one more thing

I created a module, I can access via index.php?module=<modulefilename> format link and it is working fine

But to add it to menu
as per your instructions at http://centos-webpanel.com/how-to-build-a-new-module-for-web-panel

I created the file /usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php and added the below content.
Code: [Select]
<a href="index.php?module=<modulefilename>">Manage Alias</a>

But its not appearing in the CWP admin menu

13
CentOS-WebPanel Bugs / Re: Cron error - undefined variable
« on: November 26, 2014, 01:11:42 AM »
done

14
I can build it / Re: Apply and build
« on: November 26, 2014, 01:07:35 AM »
I figured out getting username from session variable but the environment is limited on how we can build modules.

I have built one for adding alias for subdomains as well as dual delivery to alias and local mailbox.

One more constraint is, I had to create new database logins for this purpose and make seperate connection to DB in my script. Usually building apis this would be part of some common api files.

Hope this would be resolved once you have your end ready for the same

15
CentOS-WebPanel Bugs / Re: Cron error - undefined variable
« on: November 26, 2014, 01:06:25 AM »
My backup is a local backup and the only configuration is the folder location /backup
The folder exists too.
Config below


I guess the undefined variable error is because of PHP code.  Its not an error actually, its just the variable YnD197gFTjan is not set when checked for some value.

I am not sure, the code is encoded so cant really figure out.

Pages: [1] 2