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

Pages: [1] 2 3 ... 6
1
Popup notification which alerts about new updates has some issues

1. Even after updates are completed, the popup keeps coming back when logging as admin again
2. No of updates shown in popup quite often dont match with actual updates

Not critical but wastes admin time many a times

2
E-Mail / incoming email not getting delivered
« on: June 14, 2025, 07:04:51 AM »
Trying to send email from abc@outlook.com to me@mydomain.com (my VPS email)

Quote


Jun 14 15:56:18 server postfix/smtpd[322142]: connect from mail-koreacentralazolkn19013081.outbound.protection.outlook.com[52.103.74.81]
Jun 14 15:56:19 server postfix/smtpd[322142]: TLS SNI mydomain.com from mail-koreacentralazolkn19013081.outbound.protection.outlook.com[52.103.74.81] not matched, using default chain
Jun 14 15:56:19 server postfix/smtpd[322142]: Anonymous TLS connection established from mail-koreacentralazolkn19013081.outbound.protection.outlook.com[52.103.74.81]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256

Jun 14 15:56:20 server postfix/cleanup[322873]: 146A32A014E: discard: header ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;? s=arcselector10001;? h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCou from mail-koreacentralazolkn19013081.outbound.protection.outlook.com[52.103.74.81]; from=<abc@outlook.com> to=<me@mydomain.com> proto=ESMTP helo=<SEYPR02CU001.outbound.protection.outlook.com>
Jun 14 15:56:20 server postfix/smtpd[322142]: disconnect from mail-koreacentralazolkn19013081.outbound.protection.outlook.com[52.103.74.81] ehlo=2 starttls=1 mail=1 rcpt=1/2 bdat=1 quit=1 commands=7/8

Email not visible in my inbox / junk / SPAM

Can someone help resolve this?

3
E-Mail / Extending CWP with nextCloud
« on: June 07, 2025, 06:23:31 AM »
NextCloud is a good open source fully free cloud platform

An integration of CWP with NextCloud would be a great addition

My taughts

Have next cloud at https://hostname/cloud or https://domain.tld/cloud or something similar

Admin set a default NextCloud Space. Give option to set this at package level

Each email created in CWP will have an account in nextcloud instance

4
E-Mail / ClamAV not working
« on: May 29, 2025, 06:14:49 AM »
As mentioned in wiki at https://wiki.centos-webpanel.com/test-spamassassin-and-clamav

I am sending an email with content

Quote
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

I dont see any flagging in log.

Mail is also getting landed in inbox

What might have gone wrong?

I have built mail servers with ClamAV enabled

Any settings to be done as it is the case with SpamAssassin ?


5
E-Mail / Spamassassin Restarting regulary
« on: May 21, 2025, 11:09:23 AM »
Few times I saw Spamassassin had stopped. On checking the logs, I see this. How to fix this?


Quote
May 21 20:05:45 server systemd[1]: Started Spamassassin daemon.
May 21 20:05:47 server systemd[1]: spamassassin.service: Succeeded.
May 21 20:05:47 server systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
May 21 20:05:47 server systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 4589.
May 21 20:05:47 server systemd[1]: Stopped Spamassassin daemon.
May 21 20:05:47 server systemd[1]: Started Spamassassin daemon.

6
CentOS-WebPanel GUI / NetworkManager errors / warnings
« on: April 25, 2025, 05:28:17 AM »
Quote
Apr 25 00:22:01 hosting NetworkManager[676]:   [1745558521.6932] platform-linux: do-add-ip6-address[2: fe80::250:56ff:fe40:f5e8]: failure 13 (Permission denied)
Apr 25 00:22:03 hosting NetworkManager[676]:   [1745558523.6955] ipv6ll[7815b866a956efe0,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Apr 25 00:22:03 hosting NetworkManager[676]:   [1745558523.6958] platform: (eth0) route-sync: failure to add IPv6 route: type unicast fe80::1/128 dev 2 metric 100 mss 0 rt-src user: Permission denied
Apr 25 00:22:13 hosting NetworkManager[676]:   [1745558533.7064] platform-linux: do-add-ip6-address[2: fe80::250:56ff:fe40:f5e8]: failure 13 (Permission denied)
Apr 25 00:22:15 hosting NetworkManager[676]:   [1745558535.7089] ipv6ll[7815b866a956efe0,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Apr 25 00:22:15 hosting NetworkManager[676]:   [1745558535.7093] platform: (eth0) route-sync: failure to add IPv6 route: type unicast fe80::1/128 dev 2 metric 100 mss 0 rt-src user: Permission denied

Apache log file shows these lines. Should I ignore or should I fix this?

7
E-Mail / Stop forwarding SPAM emails
« on: April 23, 2025, 10:31:54 AM »
Some of my users have created email forwards

I see in postfix q that many SPAM emails coming to these emails getting forwarded.

This has resulted in my IP getting blacklisted with email providers like Microsoft

How to stop SPAM emails getting forwarded?

8
MySQL / root password change
« on: April 17, 2025, 06:31:16 AM »
I tried following https://wiki.centos-webpanel.com/how-to-reset-mysql-root-password

Quote
[root@hosting ~]# sh /scripts/mysql_pwd_reset

Enter the new root password (at least 8 chars).
Or leave it empty if you would like to generate it.
Or press CTRL+C to abort and do not touch it

Enter MySQL root password (NO special characters): abcxyzavcbdFrsg
Shutting down any mysql processes...
/scripts/mysql_pwd_reset: line 14: [: -eq: unary operator expected
Redirecting to /bin/systemctl stop mariadb.service
/scripts/mysql_pwd_reset: line 26: [: -eq: unary operator expected
Redirecting to /bin/systemctl start mariadb.service
Resetting password... hold on
--------------
UPDATE mysql.user SET Password=PASSWORD('abcxyzavcbdFrsg'),Authentication_string=PASSWORD('abcxyzavcbdFrsg') WHERE user='root'
--------------

ERROR 1348 (HY000) at line 1: Column 'Password' is not updatable
Cleaning up...
/scripts/mysql_pwd_reset: line 14: [: -eq: unary operator expected
Redirecting to /bin/systemctl stop mariadb.service

Password reset has been completed

New MySQL root password: abcxyzavcbdFrsg

Remember to store this password safely!

/scripts/mysql_pwd_reset: line 26: [: -eq: unary operator expected
Redirecting to /bin/systemctl start mariadb.service


And now CWP panel is not working

9
MySQL / mysql user issues
« on: April 16, 2025, 06:44:32 AM »
1. I am trying to add an user from user panel.

I am trying to create mysql db 'user_db' with db user 'user_db_usr'

I get success message. But the db and user are not visible.

I logged in as user. I see db '_db' with db user '_db_usr' instead of db 'user_db' with db user 'user_db_usr'

Ignoring this, I created db 'user_db' with db user 'user_db_usr' from admin panel. Now I can see this db and user from user panel login

But if I try to login to phpmyadmin with the crerdentials, I get the error "mysqli::real_connect(): (HY000/1045): Access denied for user 'user_db_usr'@'localhost' (using password: YES)"

I taught maybe I have to add local host or IP. I tried adding an existing user in userpanel with IP / hostname / %. But select user doesnt show the user (I can see the user in "List database and users" and "List Users" options)

Please suggest.

10
CentOS-WebPanel GUI / Email ids and forwards
« on: April 12, 2025, 10:44:26 AM »
If I create a email forward for a email which already has an email created email is getting forwarded but not stored in inbox.

Is this how this works?

I taught having an email id created should store email in server inbox also.

Any update on this?

Create email forward says "*** By using email forwarder you will not receive emails anymore into the mailbox but if you add your email address into Forward to: filed then you will also receive email into mailbox and forward them to the other mail address."

Where is this "Forward to" option? I am unable to find it

11
CentOS-WebPanel GUI / MySQL db and user creation error
« on: April 11, 2025, 03:46:46 PM »
Logged in as a user. Tried adding a new database along with user. Got successfully created database message (green). But the list of databases and list of users shower empty.

Curiously logged in as admin to see database _test and user _test is created without username prefix

Please suggest

https://ibb.co/Z1wM1vw7

12
E-Mail / Email ids under 1 user not receiving emails
« on: April 10, 2025, 06:06:51 AM »
All was working fine

Suddenly all email ids under a user stopped recieving emails (Has multiple domains)

I checked for quota, increased quota. No use

The folder permissions under var/vmail/domainname has

user | mail | 751

maillog do not have the record of missing incoming emails

Please guide

13
MySQL / mySQL user
« on: April 04, 2025, 11:15:57 AM »
Hi

When i login to phpmyadmin using any user, I am able to see all databases, tables and data of other users as well.

What might be wrong?

14
CentOS-WebPanel GUI / Find username option
« on: January 01, 2025, 11:29:56 AM »
Users usually dont remember their usernames

This results in recover password unusable.

Instead domain name can be used.

Including username in recovery email will help this

15
CentOS-WebPanel Bugs / User login - errors
« on: November 06, 2024, 07:54:53 AM »
I am unable to login as a user.

When I use https://server:2083/user/ I get "502 Bad Gateway cwpsrv" (Admin - List Accounts - User auto login)

When I use https://server:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)

When I use https://domain:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)

Please suggest. Also where can I check the logs? I tried looking at

/usr/local/apache/logs (main logs)
/usr/local/apache/domlogs


Pages: [1] 2 3 ... 6