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

Pages: [1]
New Modules / Re: [Module] Track E-mail Delivery
« on: October 08, 2023, 05:36:04 PM »
i really would like this to work but i get this error message:
You are not authorized to use this module (email_delivery)- Contact Server Admin

what can cause this?

Postfix / Re: Postfix uses wrong IP address
« on: September 11, 2023, 04:02:41 PM »
I have added that to my postfix configuration but it still sends messages with the addon IP address.
Here are some of the output from the Undelivered Mail Returned to Sender emails
Code: [Select][] said: 550-5.7.1 [xx.xx.xx.xx
    18] Our system has detected that this message is 550-5.7.1 likely
    suspicious due to the very low reputation of the sending IP 550-5.7.1
    address. To best protect our users from spam, the message has been
    550-5.7.1 blocked. Please visit 550 5.7.1 for more information.
    z5-20020a05600c0a0500b003fbef8ad8f5si3205315wmp.40 - gsmtp (in reply to end
    of DATA command)

Scripts / Re: CWP update script
« on: August 30, 2023, 07:48:37 PM »
This is the content of the
Code: [Select]
/scripts/update_cwp file:
Code: [Select]
/usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
Opening the
Code: [Select]
cron.php file looks like this:

Code: [Select]
<?php //0042b
// Copyright CentOS WebPanel, Decoding is FORBIDDEN
// All Rights Reserved.
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube restart');exit(199);


So i have no way of NOT restarting apache every night...

Scripts / Re: CWP update script
« on: August 29, 2023, 08:03:32 AM »
That file is manglede by the cwp team so i cannot edit it.

Scripts / CWP update script
« on: August 28, 2023, 06:17:21 PM »
I see that the CWP update script runs daily, thats OK i think,. but at the end it restarts Apache webserver, i i really do not get why, this also restarts my PHP cache and several other services, is this possible to turn off?

Postfix / Postfix uses wrong IP address
« on: August 28, 2023, 06:15:18 PM »
When i send an email, i have a PTR record for my hostname it has IP
I also have an addon IP address
IPs and hostname is changed to make this simple.

When i send an email it uses the IP address and not the one for the hostname, this has the "wrong" PTR record, and so gmail blocks the email because its not "correct" ptr and several other parameters.

How do i change this so it doesnt happen? server sends around 1000-2000 mail a day and about 50-100 are blocked. this is quite irritating that it does not use hostname and server IP in CWP for sending email. it uses ANY ip address!

I had this problem to and then i enabled logrotation on a weekly basis and that made the monthly stats start to work again. The log files were too big for goaccess to read.

Apache / update_cwp restarts apache
« on: July 16, 2023, 07:32:36 PM »
I dont need, and dont want to restart httpd every time the update_cwp runs,

How can i disable this?

CentOS-WebPanel GUI / Re: [Feature Request] Use A Full Apache Status
« on: June 25, 2023, 05:09:48 PM »
Following my feature request, I have now integrated it in CWP, so for the benefit of others..

1. Create /usr/local/cwpsrv/htdocs/resources/admin/modules/apache_status.php with the following contents

Code: [Select]
// Apache Status - Accesses v0.4

$url "http://localhost/server-status";
$ch_session curl_init();
$result_url curl_exec($ch_session);


To Add under webservers instead of Developer Options
<script type="text/javascript">
        $(document).ready(function() {
                var newButtons = ''
                +' <li>'
                +' <a href="?module=apache_status"><span aria-hidden="true" class="icon16 icomoon-icon-switch"></span>Apache Status - Accesses</span></a>'

I can build it / Re: Apache Status - Accesses
« on: June 24, 2023, 07:36:41 PM »
This would be better and show more info:

Code: [Select]
// Apache Status - Accesses v0.4

$url "http://localhost/server-status";
$ch_session curl_init();
$result_url curl_exec($ch_session);


Pages: [1]