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

Pages: [1] 2 3 ... 7
CentOS Configuration / Limit maximum processes - whats a good value
« on: September 17, 2021, 07:03:02 PM »

what is a good value for preventing fork bombs and limiting max processes?

when i do ulimit -u i see 62570 which seems to be a high value to me.

pgrep -wcu $USER gives me the value 150 back.

is this ok or should i limit this? And if, what would be a good and practicable value?


Installation / Re: How to install WordPress Themes and Plugins
« on: September 11, 2021, 07:14:10 AM »
If you have wordpress already installed, themes and plugins will be installed from within wordpress like always.

Installation / Re: Changelog
« on: September 08, 2021, 10:06:45 AM »
the New changes arent published. Changelog changed version but no LOG what changed.

CentOS 7 Problems / Security Center - How to automate the malware scanner
« on: September 08, 2021, 08:25:54 AM »

I have seen that in the Security Center my Malware Scanner shows me last scan 14 days ago.
I was wondering how can i set this to automatically scan eg. every day?

I have rkhunter, clam etc all running but this seems to be another scanner as it is not recorgnizing and refreshing the last scan date, except i scan manually.

Any idea how to make this one also work automatically? Maybe by creating a cron for this one?


Apache / Re: ip to name how to do?
« on: September 07, 2021, 05:57:39 AM »
this also depends on the running webserver, htaccess is for apache only. so if you have apache and nginx, the htaccess is the wrong place doing this.

If you have apache only this should do the trick:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^11\.11\.11\.111$ [NC,OR]
RewriteCond %{HTTP_HOST} ^([a-z.]+)?mydomain\.com$ [NC]

Migration from other control panels / Re: Migration from Plesk Obsidian
« on: September 04, 2021, 07:58:21 AM »
Hi, i would do it the following way:

- backup your databases and your html folder.
- create an account
- point your domain to your IP if not already done
- import databases
- double check the database logins, maybe you need to change logins in your sites config
- create ssl certs
- If you plan using CWP internal DNS management check if something is missing and add the records

if you are using your hoster for DNS Zone Management skip the last point.

now check if your site is up

this should be all to get your site up and running on cwp :)

Installation / Re: AlmaLinux
« on: September 03, 2021, 11:27:31 AM »
Any way to update from Centos7 to Centos 8 stream?

I know it's still recommended to stay on Centos 7 but i mean for the future one day we will need to update, is this possible or is there anything in progress for getting this done?

A complete reinstall is not a good solution as there are still a lot of things not getting backed up and restored.

Would be cool to have a solution for this scenario, not now but after Centos7 EOL


Postfix / Re: How to see if someone is sending mails from my server
« on: September 02, 2021, 11:52:24 AM »
You should really improve the support in here.

Postfix / undeliverable mails since latest CWP Pro update
« on: September 01, 2021, 10:28:34 PM »
Since the latest update to CWP PRO my custom cronjob that sends me a mail summary is sending 3 mails instead of one.

normally i get 1 Mail to a external mail address, since the latest update this cronjob tries to send the mails to summary@servername and log@servername including my correct mail address i normally get the mails.

The external address is now receiving 3 mails (the summary i wanted with this job) and 2 not deliverable mail notifications because something tries to send to summary@ and log@.

What is this, in the changelog i don't see any changes of mail behaviour.

where does this summary@ and log@ comes from?

There are no changes i did on the server which would explain such a behaviour

what is sending the other 2 mails? i never added those addresses anywhere.


CentOS 7 Problems / User Accounts are no longer resetting bandwidth
« on: September 01, 2021, 12:19:29 PM »
Seems like my User Accounts no longer resets the monthly limits.

How can i force a reset for some users?

They will hit the monthly bandwidth limit, i need to reset them manually.


Scripts / Reset users monthly Bandwith script
« on: August 31, 2021, 10:15:15 PM »

It would be nice to have a script to reset a users monthly usage period.

I made a support ticket and it seems there is no way to manually reset a users usage/bandwith period.

This would be a great improvement.

Maybe the support is wrong and there is a way to reset the users period, but how?

SSL / Re: Insecure SSL on email
« on: August 30, 2021, 09:22:58 PM »
I hope i understand you right, do you mean the Webmail isn't using https or are you talking about postfix connections?

If you mean postfix you can create a cert for the communication with the following command:

openssl dhparam -out /etc/postfix/dh_3072.pem -2 3072

this will create a ssl cert for postfix communication.

Postfix / Re: Incoming mail - unknown server error
« on: August 30, 2021, 09:10:50 PM »

strange because this line shows me it has been sent:
Code: [Select]
Aug 29 18:49:32 tmip postfix/smtp[3223]: 5F29A20736: to=<>, relay=[]:10024, delay=5.8, delays=0.14/0.02/0.02/5.6, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[]:10025): 250 2.0.0 Ok: queued as E879B21C71)
have you tried to reboot the server since you added the new user?

E-Mail / Re: Copy all Incoming Email for Domain to Another Address
« on: August 30, 2021, 09:05:19 PM »
yes you can create a catch all address.

In the User Panel the User can add a mail forwarder and do * and forward to eg.

this will do the trick.

Installation / Change Domain Home Dir
« on: August 30, 2021, 08:44:20 PM »
Is there any way to change the Home dir of a Domain (Addon Domain)

Actually it is /home/USER/DOMAIN

but as it is impossible using the filesystemlock to work for this directory (it only works for public_html and everything in there) i wanna move my addon domain to /home/USER/public_html/DOMAIN

Any way to do this?


Pages: [1] 2 3 ... 7