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.


Topics - ashokjp

Pages: [1]
1
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.



2
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"?

3
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 !! ::)

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



5
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

6
Migration from other control panels / htpasswds
« on: November 25, 2014, 05:23:29 PM »
Accounts when migrated from cpanel. the password protected directories no more work

They are not restored, even if we manually copy it over, it doesnt work

cPanel stores the password files in folder .htpasswds at /home/username
Even when they are restored, we get a 500 error on protected folders after entering passwords.

7
CentOS-WebPanel Bugs / Cron error - undefined variable
« on: November 24, 2014, 10:44:56 AM »
I am getting the below cron error on daily cron. Fresh server installed 2 days back

Code: [Select]

====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Your CWP version: 0.9.6<br><b>No update needed, your CWP is up to date.</b>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0    14    0    14    0     0     45      0 --:--:-- --:--:-- --:--:--    93
<myserverip>
Date which backup script is using: 2014-11-24 08:21:03

PHP Notice:  Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6

Notice: Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6
PHP Notice:  Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6

Notice: Undefined variable: YnD197gFTjan in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 6
cpulimit: no process killed

8
E-Mail / subdomain email ids ?
« on: November 24, 2014, 12:03:06 AM »
Why cant we create email ids for subdomains ?

I migrated few users from cpanel, and after migration when i started getting complaints I realized, I am unable to see subdomains in dropdown where we create email accounts

Is there something i am missing ?

Pages: [1]