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

Pages: [1] 2
1
CentOS-WebPanel Bugs / Re: PHP 8.3.0 on CWP 0.9.8.1172
« on: January 04, 2024, 09:58:22 PM »
I'm not in a hurry; I'd rather wait. I'm just curious whether it's an error they haven't noticed or if the 8.3.x version is temporarily on hold. I'd prefer to wait than have something incorrectly set up.
Thank you anyway.

2
CentOS-WebPanel Bugs / Re: PHP 8.3.0 on CWP 0.9.8.1172
« on: January 04, 2024, 08:35:24 AM »
Is there any news regarding 8.3.x?

I noticed that the control panel has been updated to version 0.9.8.1174, and PHP-FPM now has version 8.3.1.
However, when attempting to install it, the same error occurs as with version 8.3.0:

Code: [Select]
#cat /var/log/php-selector-rebuild.log

Build Completed
###################


Error:Can't add notification!

3
E-Mail / Re: NewBackup backup vmail problem
« on: December 16, 2022, 09:38:25 AM »
Simple solution with bash script,
just start this script in every folder:

Code: [Select]
#/bin/bash
#starting with 1* because all filenames starts with 1
for file in 1*;
do
    echo "Processing $file.."
   
# getting timestamp from filename, first 10 characters
tstamp=$(echo "${file}" | cut -c1-10)

# set timestamp to file
touch -d @"$tstamp" "$file"
done



4
E-Mail / Re: NewBackup backup vmail problem
« on: December 16, 2022, 08:15:57 AM »
Now I see that there is possible solution, all email files has timestamp in the filename.
I will try to solve this out somehow.

5
E-Mail / NewBackup backup vmail problem
« on: December 16, 2022, 08:13:30 AM »
Today I tried just to recover some emails and I noticed that all files (email) files have date created not when email is received and created but date of backup?

Now when you restore all this emails, they are sorted in email client as they are received at the day of backup.

Is there any solution to repair this?
Tnx.

6
Backup / Re: What is the best BACKUP on CWP
« on: October 10, 2022, 07:11:33 AM »
I will do it with manual script, bash and then with crond.

Or you can try to use new backup in control panel (CWP settings > New Backup).
There you can select user to backup (one, multiple), what to backup, where, when and notifications.
Also you can create multiple backups.

New Backup is great backup.





7
E-Mail / zen.spamhaus.org or postfix or control web panel
« on: August 19, 2022, 01:16:32 PM »
Few days ago I noticed a plenty of email messages denied by system in /var/log/maillog, system gone wild.
Zen spamhaus  org in combination with postfix configuration marked some incoming email servers as blacklisted servers, some of them weren't on spamhaus list at all.

I tested some IP addresses there:
https://check.spamhaus.org/

Configuration of postfix main.cf wasn't changed for months.
Maybe anyone have more info about that problem? Is it spamhaus error/bug with false positive reporting or is there anything with the current system?


Example:
Code: [Select]
Aug 18 14:47:46 srv postfix/smtpd[32701]: NOQUEUE: reject: RCPT from example.mailserver.com[xxx.xxx.xxx.xxx]: 554 5.7.1 Service unavailable; Client host [xxx.xxx.xxx.xxx] blocked using zen.spamhaus.org; from=<some.user@exampleserver.com> to=<someuser@exampleserver.com> proto=ESMTP helo=<example.mailserver.com>

Thank you,
BR.

8
CentOS 7 Problems / Re: I do not receive mail....
« on: August 19, 2022, 01:04:12 PM »
I noticed today the same problem today.

We have multiple messages in log with:
554 5.7.1 Service unavailable; Client host [xxx.xxx.xxx.xxx] blocked using zen.spamhaus.org

When I check IP on spamhaus, some IP addresses aren't listed there.

Not sure if this is spamhaus problem or centos webpanel.
Only fast solution was to disable spamhaus in postfix i /etc/postfix/main.cf

9
CentOS 5 Problems / Re: Continuous reduction of hosting space
« on: June 20, 2022, 07:33:23 AM »
Hello
The VPS server I use CWP panel, decreasing the area to be used about 100 MB each day. We had 12GB of free space from 6GB. Can you help with this?

Firstly install ncdu with
# yum install ncdu.

After that start ncdu. With that tool you can easily see what's taking your space.


Also you can clean some system apache logs.
Notice: First command list them all, so you can check them before cleaning, second command truncates to nothing.

# apache domain logs
# find /usr/local/apache/domlogs/ -type f -name "*.log" -exec ls -if {} \;
# find /usr/local/apache/domlogs/ -type f -name "*.log" -exec truncate --size 0 {} \;

# php-fpm system logs
# find /opt/alt/php-fpm*/usr/var/log/ -type f -name "php-fpm.log" -exec ls -if {} \;
# find /opt/alt/php-fpm*/usr/var/log/ -type f -name "php-fpm.log" -exec truncate --size 0 {} \;

# apache logs
# find /usr/local/apache/logs/ -type f -name "*log" -exec ls -if {} \;
# find /usr/local/apache/logs/ -type f -name "*log" -exec truncate --size 0 {} \;

# dovecot logs
# find /var/log/dovecot-* -type f -name "*log" -exec ls -if {} \;
# find /var/log/dovecot-* -type f -name "*log" -exec truncate --size 0 {} \;

# cwp_stats home folder clean
# find /home/*/cwp_stats/goaccess/ -type f -name "*.html" -exec ls -if {} \;
# find /home/*/cwp_stats/goaccess/ -type f -name "*.html" -exec rm {} \;


10
CentOS 7 Problems / Re: hello, web try to update cwp get errors!!
« on: June 20, 2022, 07:27:45 AM »
Is there any solution?
Should I contact CWP Control payed support?

Can they fix it? Should I know what they are going to fix it?
Because I read it somewhere in forum that some CWP team crashed some server.
Tnx.

11
Also tnx to the @NFT,
solved also by my side.

Just notice,
temporally solved.

Problem still exists, yesterday I noticed the same message for crond :(.

Is there any solution?! It seems that there is existing problem with CentOS 7.6, even on 7.8.
It doesn’t look promising that the RedHat team will address this any time soon.


12
CentOS 7 Problems / Re: hello, web try to update cwp get errors!!
« on: June 01, 2022, 12:32:31 PM »
Yes rcshaff is right. Apply this fix.
https://opentechy.com/how-to-fix-gdbus-errororg-freedesktop-policykit1-error-failed/

this is not good it can be lead to OS boot failure.

So what's is the good fix for that issue?

Few weeks ago I noticed problem with restart of mysqld, now the same problem with restarting/reloading crond?!
How to solve it?

Code: [Select]
[root@srv /]# systemctl reload crond

** (pkttyagent:13253): WARNING **: 14:32:10.818: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)




13
Also tnx to the @NFT,
solved also by my side.


14
E-Mail / X-Envelope-From and From different
« on: January 14, 2022, 09:47:20 AM »
Today I received one email where fields "X-Envelope-From" and "From" field are different,
client is confused because he is deceived that email was sent from his coworker on the same domain from e***d.com domain.

The sender wants to intentionally confuse the recipient from whom it was sent, because the server accepts email from X-Envelope-From and the client on the email client application see only From as sender which is actually not true.

My question is,
what service on Centos Webpanel should remove or just mark this mail as SPAM or as deceiving email.
Maybe Spamassasin or Postfix?

Where to configure to check incoming emails for valid SPF, DKIM, DMARC?

I do not have installed on server:
"AntiSpam/AntiVirus (recommended): ClamAV, Amavis & Spamassassin, Requires 2Gb+ RAM"



Thank you.


Header of this email:
Code: [Select]
Return-Path: <carola.scheffel@mydkt.com>
Delivered-To: vt@e***d.com
Received: from srv.m***r.com
    by srv.m***r.com with LMTP id uO/ALc4q4WGVWAAAoUtXVA
    for <vt@e***d.com>; Fri, 14 Jan 2022 08:48:30 +0100
Received: from mta1dc6.protectedservice.net (mta1dc6.protectedservice.net [194.1.166.173])
    (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
    (No client certificate requested)
    by srv.m***r.com (Postfix) with ESMTPS id B4422A405AB
    for <vt@e***d.com>; Fri, 14 Jan 2022 08:48:30 +0100 (CET)
X-Envelope-From: carola.scheffel@mydkt.com
X-Hid: 5c2eeee9-750e-11ec-bd20-00163e218517
Received: from zimbra-mbox25dc1.protectedservice.net (ec2-3-9-3-218.eu-west-2.compute.amazonaws.com [3.9.3.218])
    by smtp.protectedservice.net (Halon) with ESMTPS
    id 5c2eeee9-750e-11ec-bd20-00163e218517;
    Fri, 14 Jan 2022 07:48:27 +0000 (GMT)
Received: from zimbra-mbox25dc1.protectedservice.net (localhost [127.0.0.1])
    by zimbra-mbox25dc1.protectedservice.net (Postfix) with ESMTP id B83D7470F25
    for <vt@e***d.com>; Fri, 14 Jan 2022 07:48:27 +0000 (UTC)
Date: Fri, 14 Jan 2022 07:48:27 +0000 (UTC)
From: RS <rs@e***d.com>
Reply-To: office.mobilemail7@gmail.com
To: vt@e***d.com
Message-ID: <84477814.4167090.1642146507695.JavaMail.zimbra@mydkt.com>
Subject: =?utf-8?Q?Payment?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: Zimbra 8.8.15_GA_4018 (ZimbraWebClient - GC96 (Win)/8.8.15_GA_4026)
Thread-Index: YFWfkK3jx1TTazTDLfBNMsQQSbIiiQ==
Thread-Topic: =?utf-8?Q?Payment?=

15
You're right, myipaddress confused me with showing ipv6 address.
Problem solved thanks to your advice.

Thanks a lot once again.

Pages: [1] 2