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

Pages: [1] 2 3 ... 5
1
Postfix / Spam Filtering by Subject Line
« on: March 06, 2022, 10:49:19 AM »
Spammers are so intelligent and They are sending Spam with the following subject line :

your Dropbox has stopped syncing
Income Tax return 2021 issued
Please Check Your Identity Immediately
suspended incoming messages
Your Password is about to expire
Account Suspension Notice
Shipment has been completed
Advertise up to 200 MILLION EMAILS

If we block above subject by REJECT command , Spammer will get notification, Sometimes spammers has no return valid path . So we will DISCARD those email by the following settings :


Code: [Select]
# vi /etc/postfix/header_checks

/Bitcoin/                                                                    DISCARD
/Dropbox has stopped syncing/                          DISCARD
/Wetgeving/                                                               DISCARD
/Income Tax return 2021 issued/                                  DISCARD
/PSD2/                                                                         DISCARD
/Please Check Your Identity Immediately/                        DISCARD
/suspended incoming messages/                                     DISCARD
/Your Password is about to expire/                                  DISCARD
/Bescherm uw account/                                                  DISCARD
/Account Suspension Notice/                                          DISCARD
/Shipment has been completed/                                     DISCARD
/Advertise up to 200 MILLION EMAILS/                            DISCARD
/To:.*<>/                                                                     DISCARD
/From:.*<>/                                                                DISCARD
/^Subject:/                                                                 WARN
 

Code: [Select]
# postmap /etc/postfix/header_checks
# systemctl restart postfix

2
MySQL / PHPmyAdmin at risk
« on: February 11, 2022, 02:02:37 PM »
Hi

I am providing share hosting using CWPPro. I have more that 100 users .
Recently I have create a user called labiba for 2GB hosting . When login to phpmyadmin using username and password. The user can get access all database and user details. also that user can do anything .

Not only that all shared user can get access to all another user databases . Please fix the issues urgently

3
E-Mail / Re: Email goes to spam , enterprise support no reply
« on: January 14, 2022, 07:05:15 PM »
Hi

As a fan of CWP user, That is not related to cwp team. Goes to Spam , its depends on filtering of end server .
You can take the following  actions:
1.Increase your IP reputation
2.Domain Blacklisting checking for Server FQDN domain
3. IP Whitelisting to RBL
4.Perfect DNS configuration for SPF, DKIM , DMARC
5.Outbound Monitoring and many more 

4
PHP Selector / PHP-FPM8.0 Update Failed
« on: November 05, 2021, 01:38:01 PM »
I am trying to update  PHP-FPM8.0 from version ( 8.0.7 ) to version ( 8.0.12 )  Update Failed

tail -f /var/log/php-selector-rebuild.log

Code: [Select]
Saving to: '/usr/local/src/php-dependencies.sh'

     0K .                                                     100%  111M=0s

2021-11-05 18:57:03 (111 MB/s) - '/usr/local/src/php-dependencies.sh' saved [1220/1220]

--2021-11-05 18:57:59--  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Resolving ftp.pcre.org (ftp.pcre.org)... 131.111.8.88
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:00:08--  (try: 2)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:02:17--  (try: 3)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:04:27--  (try: 4)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:06:38--  (try: 5)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:08:51--  (try: 6)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:11:04--  (try: 7)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:13:18--  (try: 8)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.

--2021-11-05 19:15:33--  (try: 9)  https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... failed: Connection timed out.
Retrying.


what should be the next procedure ?

5
E-Mail / Re: rainloop integration into cwp
« on: September 18, 2021, 05:55:43 PM »
I have searched the web and have found no tutorials to make rainloop work with cwp.. i am not a fan of the outdated roundcube.. first no built in 2fa. and the vb install scripts that pop up in cwp are for windows live mail (Microsoft’s Outlook Team announced on May 5th, 2016 that the Windows Live Mail application will reach it’s End of Life (EOL) on June 30th, 2016.).. not sure why there are setups for a dead program unless someone is just too lazy to remove unusable junk..
other issues I have seen regarding the email in cwp is that it defaults the email settings to your main domain even if your setting up emails for a different one.. of course these settings wont work but it is confusing to end users when I have to say "ignore those they aren't right " and "Use these"..

I have updated , follow the below steps :

How to upgrade from RoundCube Mail Version 1.2.3 to RoundCube Mail Version 1.3.8
https://www.awsmonster.com/2019/04/cwp-how-to-upgrade-from-roundcube-mail.html

For Google Two Factor :
https://packagist.org/packages/alexandregz/twofactor_gauthenticator

6
Greetings, I hope I can get the attention of CentOS Webpanel people here!

I have found CWP7 to be a great product but I have found Roundcube to be underwhelming at best. It looks nice and all, but no Calendar, no Tasks, no Contact, Calendar & Task syncing. Even paying for additional plugins only gives you a Calendar with RoundCube.

I motion to officially request CWP7 to implement either as an option or direct replacement of Roundcube with SOGo

it offers all of the above and is open source and free.

MainPage: https://www.sogo.nu
Demolink at bottom of homepage.

Installation wiki: https://www.sogo.nu/files/docs/SOGoInstallationGuide.html#_smtp_server_configuration

There are lots of Plugins , I found those very helpful

How to Install Calendar for Rouncube
https://www.awsmonster.com/2018/11/cwp-how-to-install-calendar-for-rouncube.html

How to Install tasklist or todolist for Rouncube
https://www.awsmonster.com/2018/11/cwp-how-to-install-tasklist-or-todolist.html

Protect CWP RoundCube From Brute Force Attack with Google reCaptcha
https://www.awsmonster.com/2018/11/protect-cwp-roundcube-from-brute-force.html

7
E-Mail / Re: CWP Email Compromised & SPAM Filtering
« on: August 06, 2021, 04:05:49 PM »
Actually No extra payment required . I want to publish on this forum to Securing CWP email server with 3rd party addons . I need vote because Last time I have written some article with 3rd party addons , and The article was deleted , don't know why .

all are open source , So we can use . What did you say ?

Thanks in advance

8
E-Mail / CWP Email Compromised & SPAM Filtering
« on: August 06, 2021, 02:09:28 PM »
Dear CWP7.Pro Users

In this Pandemic I lost all my clients due to email hacked & mail account compromised . Most of them are sending mail from Website using Script including system mail flooding .

This month I build MailScanner with Mailwatch with my CWP7.Pro system which is perfectly working and getting protection via email with bad file extension including virus affected file .

I need vote to develop this for CWP , and Also If you suggest to CWP team , Then I will publish MailScanner & Mailwatch Setup for CWP Panel.

Details:
https://mailwatch.org/
https://www.mailscanner.info/


Thanks
DNA

9
Hi

Already  using it with CWP Server , It's perfectly working 

10
SSL / Re: AutoSSL not working on Centos7
« on: June 14, 2021, 02:21:57 PM »
Getting Same error and


Code: [Select]
- kanumale.com
Error Message: AutoSSL Issue Failed! ->[Mon Jun 14 20:19:22 +06 2021] Using CA: https://acme.zerossl.com/v2/DV90 [Mon Jun 14 20:19:22 +06 2021] No EAB credentials found for ZeroSSL, let's get one [Mon Jun 14 20:19:22 +06 2021] acme.sh is using ZeroSSL as default CA now. [Mon Jun 14 20:19:22 +06 2021] Please update your account with an email address first. [Mon Jun 14 20:19:22 +06 2021] acme.sh --register-account -m my@example.com [Mon Jun 14 20:19:22 +06 2021] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA [Mon Jun 14 20:19:22 +06 2021] Please check log file for more details: /root/.acme.sh/acme.sh.log

11
Hi
To monitor outgoing & incoming spamming , Mailwatch is best option for CWP .



Let me know if you need any help

12
How to / Re: [Howto] Install Rspamd
« on: October 18, 2020, 11:25:52 AM »
another error

Code: [Select]
2020-10-18 17:02:30 #1596(controller) <66e689>; csession; rspamd_controller_handle_lua_plugin: plugin handler /plugins/selectors/list_extractorss has not been found
2020-10-18 17:02:30 #1596(controller) <15eeb3>; csession; rspamd_controller_handle_lua_plugin: plugin handler /plugins/selectors/list_transformss has not been found

Code: [Select]
2020-10-18 11:18:54 #1615(rspamd_proxy) <ddfbed>; proxy; dkim_module_load_key_format: cannot load dkim key /etc/opendkim/userkeys/ysseit.com/default.private: cannot map key file: '/etc/opendkim/userkeys/ysseit.com/default.private' Permission denied
2020-10-18 15:34:38 #1657(rspamd_proxy) <592d68>; proxy; dkim_module_load_key_format: cannot load dkim key /etc/opendkim/userkeys/ysseit.com/default.private: cannot map key file: '/etc/opendkim/userkeys/ysseit.com/default.private' Permission denied
2020-10-18 15:35:41 #1657(rspamd_proxy) <7db261>; proxy; dkim_module_load_key_format: cannot load dkim key /etc/opendkim/userkeys/ysseit.com/default.private: cannot map key file: '/etc/opendkim/userkeys/ysseit.com/default.private' Permission denied

13
How to / Re: [Howto] Install Rspamd
« on: October 18, 2020, 07:26:12 AM »
Hello Netino,

I am getting the following error:

Code: [Select]
# rspamadm configtest
2020-10-18 13:20:15 #0(main) <>; lua; lua_cfg_transform.lua:452: both auth_only (true) and sign_authenticated (true) for dkim_signing are specified, prefer auth_only
2020-10-18 13:20:15 #0(main) <>; lua; lua_cfg_transform.lua:452: both auth_only (true) and sign_authenticated (false) for arc are specified, prefer auth_only
2020-10-18 13:20:15 #0(main) <>; lua; lua_cfg_transform.lua:242: conflicting names in surbl and rbl rules: SEM_URIBL_FRESH15_UNKNOWN, prefer surbl rule!
2020-10-18 13:20:15 #0(main) <>; lua; lua_cfg_transform.lua:242: conflicting names in surbl and rbl rules: SEM_URIBL_UNKNOWN, prefer surbl rule!
2020-10-18 13:20:15 #0(main) <>; lua; lua_cfg_transform.lua:242: conflicting names in surbl and rbl rules: URIBL_MULTI, prefer surbl rule!
2020-10-18 13:20:15 #0(main) <>; lua; lua_cfg_transform.lua:242: conflicting names in surbl and rbl rules: SURBL_MULTI, prefer surbl rule!
2020-10-18 13:20:15 #0(main) <>; lua; lua_cfg_transform.lua:242: conflicting names in surbl and rbl rules: DBL, prefer surbl rule!
syntax OK

Code: [Select]
CLAM_VIRUS_FAIL (0) [failed to scan and retransmits exceed]

My Status :
Code: [Select]
# rspamc stat
Results for command: stat (0.186 seconds)
Messages scanned: 142
Messages with action reject: 3, 2.11%
Messages with action soft reject: 0, 0.00%
Messages with action rewrite subject: 0, 0.00%
Messages with action add header: 3, 2.11%
Messages with action greylist: 3, 2.11%
Messages with action no action: 133, 93.66%
Messages treated as spam: 6, 4.22%
Messages treated as ham: 136, 95.77%
Messages learned: 129
Connections count: 0
Control connections count: 61
Pools allocated: 137
Pools freed: 191
Bytes allocated: 3.92GiB
Memory chunks allocated: 4294966837
Shared chunks allocated: 33
Chunks freed: 0
Oversized chunks: 2
Fuzzy hashes in storage "rspamd.com": 1519996981
Fuzzy hashes stored: 1519996981
Statfile: BAYES_SPAM type: redis; length: 0; free blocks: 0; total blocks: 0; free: 0.00%; learned: 0; users: 0; languages: 0
Statfile: BAYES_HAM type: redis; length: 0; free blocks: 0; total blocks: 0; free: 0.00%; learned: 3; users: 1; languages: 0
Total learns: 3


Disabled:
SpamAssassin, Amavisd & Opendkim

14
PHP / Re: PHP Version Switcher Deployment Error on CWP.Pro
« on: September 21, 2020, 02:11:46 PM »
another error log :

Code: [Select]
compilation terminated.
make: *** [mailparse.lo] Error 1
/bin/sh /usr/local/src/mailparse-3.1.1/libtool --mode=compile cc  -I. -I/usr/local/src/mailparse-3.1.1 -DPHP_ATOM_INC -I/usr/local/src/mailparse-3.1.1/include -I/usr/local/src/mailparse-3.1.1/main -I/usr/local/src/mailparse-3.1.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/mailparse-3.1.1/mailparse.c -o mailparse.lo
 cc -I. -I/usr/local/src/mailparse-3.1.1 -DPHP_ATOM_INC -I/usr/local/src/mailparse-3.1.1/include -I/usr/local/src/mailparse-3.1.1/main -I/usr/local/src/mailparse-3.1.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/mailparse-3.1.1/mailparse.c  -fPIC -DPIC -o .libs/mailparse.o
In file included from /usr/local/src/mailparse-3.1.1/php_mailparse.h:82:0,
                 from /usr/local/src/mailparse-3.1.1/mailparse.c:24:
/usr/local/src/mailparse-3.1.1/php_mailparse_mime.h:20:43: fatal error: ext/standard/php_smart_string.h: No such file or directory
 #include "ext/standard/php_smart_string.h"
                                           ^
compilation terminated.
make: *** [mailparse.lo] Error 1


15
PHP / PHP Version Switcher Deployment Error on CWP.Pro
« on: September 21, 2020, 01:52:37 PM »
I am using CWP.Pro and want update from php 5.6.37 to 7.3.22 using PHP Version Switcher v2 . I have checked the log and found the below error:

Code: [Select]
'ioncube_loader_lin_7.1.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1.so'
'ioncube_loader_lin_7.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.so'
'ioncube_loader_lin_7.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2.so'
'ioncube_loader_lin_7.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2_ts.so'
'ioncube_loader_lin_7.3.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.3.so'
'ioncube_loader_lin_7.3_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.3_ts.so'
'ioncube_loader_lin_7.4.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.4.so'
'ioncube_loader_lin_7.4_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.4_ts.so'
'loader-wizard.php' -> '/usr/local/ioncube/loader-wizard.php'
yes: standard output: Broken pipe
yes: write error

Code: [Select]
# php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.3.so:  /usr/local/ioncube/ioncube_loader_lin_7.3.so: undefined symbol: zend_ce_cou
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so' - /usr/lt open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/redis.so' - /usr/localhared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so' - /usr/loca shared object file: No such file or directory in Unknown on line 0
PHP 5.6.37 (cli) (built: Jul 20 2018 06:10:33)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies


Code: [Select]
Notice: Undefined variable: ;%( \'!@(1'[&2 in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
any idea ?
It is newly deployed VPS , CWPpro version: 0.9.8.1008

Pages: [1] 2 3 ... 5