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

Pages: [1]
E-Mail / Re: change messages count limit
« on: October 15, 2021, 02:36:15 PM »
I found that the value can be changed into the dovecot user_query in the dovecot-mysql.conf file

E-Mail / change messages count limit
« on: September 24, 2021, 11:27:18 AM »
I noticed that each mailbox created in cwp can contain a maximum of 10000 messages.
Once this limit is exceeded, the mailbox results full regardless of the space occupied by the messages on the disk.
I can also see this limit from roundcube by clicking on the icon of the used space .
I can't figure out how to change or remove this limit.
Please, could you help me?

E-Mail / Re: Roundcube can't login to newest mailboxes
« on: November 20, 2020, 05:25:18 PM »
it seem that with the latest roudcube version it works, but I had to manualy set a default value for alias column in user table of roundcube to avoid sql insert error on first time user login. Probably this is due to some problems that I had in upgrading roundcube, I will check this another time

E-Mail / Roundcube can't login to newest mailboxes
« on: November 20, 2020, 02:19:24 PM »
I can't login into my newest mailboxes trought roundcube because authentication fail.
All old mailboxes works normally in roundcube.
I can login normally through other clients like thunderbird to both old and new mailboxes.
I don't know exactly when the problem started.

This is my system:
CentOS 6.10
MySQL 5.6.47
Roundcube 1.2.3 (also tested with 1.5)
archive 2.4
cwpautologon -
filesystem_attachments 1.0
jqueryui 1.10.4
managesieve 8.6
password 4.1
zipdownload 3.1

What I see in /var/log/dovecot-info.log when I use $config['imap_auth_type']=null; is something like:
Code: [Select]
Nov 20 13:29:18 imap-login: Info: Disconnected (auth failed, 1 attempts): user=<>, method=PLAIN, rip=, lip=, securedIf I use $config ['imap_auth_type']='PLAIN'; for some odd reason I get:
Code: [Select]
Nov 20 13:28:18 imap-login: Info: Login: user=<>, method=PLAIN, rip=, lip=, mpid=25268, secured
Nov 20 13:28:18 imap ( Info: Disconnected: Logged out bytes=29/405
but the result does not change, the authentication fails.

what could I do?

CentOS 6 Problems / Re: CentOS6 Upgrade
« on: August 30, 2018, 07:53:39 AM »
I've done nothing but today the database oauthv2 has been autocreated.
I suppose it was installed by some autoupgrade cron scipt

CentOS 6 Problems / Re: CentOS6 Upgrade
« on: August 29, 2018, 09:57:43 AM »
After following upgrade instructions I have the following php warnings at the bottom of left column of cwp admin panel under 'User Connected':

Warning: mysqli::__construct(): (HY000/1049): Unknown database 'oauthv2' in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Notice: Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

How to fix these? I have no database called oauthv2, and the file functions.php is ioncube encrypted

CentOS 6 Problems / Re: CentOS6 Upgrade
« on: February 23, 2018, 09:55:33 AM »
If the server will be hacked obviously it's my fault
If the update procedure does not work it's your fault
The update procedure is the one described on the first page of this thread
I have not reported the exact problem because I do not remember it exactly
If I will try the update again I will report the error here.
The problem is that I'm on a production server. I can not leave it offline for too long or put it offline too often

CentOS 6 Problems / Re: CentOS6 Upgrade
« on: February 23, 2018, 08:48:59 AM »
The problem is that the upgrade procedure doesn't work.
I had to restore the vm from a snapshopshot to rollback.
Tried on two servers a lot of time ago. I will try again when I can.

However I think it is not a right choice to disable the control panel, the servers are not yours.

you have the notification in cwp.admin in "red alert" box more than a few months now.

You need to do this upgrade as version is very old and has security issues which were fixed a long time ago.
Also, each cwp version has expire date so you can't run it forever as it will be unusable soon and then you will have an error and no notification about upgrade needed.

CentOS 6 Problems / Re: CentOS6 Upgrade
« on: February 22, 2018, 12:25:36 PM »
WHAT the f****

This server needs to be upgraded by using this instruction!

For assistance, you can contact our support at:


As a workaround you can go to /usr/local/cwpsrv/htdocs/ and swap the 'admin' and 'admin_disabled' folder names.
Do a backup of entire htdocs before doing this

CentOS-WebPanel GUI / Re: Wrong info in CWP info block
« on: February 09, 2017, 09:29:25 AM »
Thank you, the problem was in /etc/hosts.
I found both correct and incorrect hosts in it, I deleted all the wrong hosts and than ran  /etc/init.d/network restart just to be sure.

CentOS-WebPanel GUI / Wrong info in CWP info block
« on: February 08, 2017, 09:15:16 AM »
The CWP info block at the end of the right column report a wrong information.
Near 'Server IP' there is a wrong host name
The format should be:
Server IP: |
But what i see is:
Server IP: |
My rdns is correct and points to
My hostname seems to be correctly set in both cwp and centos6 to
Where cwp gui fetch this wrong information? ho can I fix it?

CentOS-WebPanel Bugs / doveadm can't iterate users
« on: April 01, 2016, 08:52:11 AM »
There is a bug in /etc/dovecot/dovecot-mysql.conf that prevents doveadm to iterate through all users (with option -A eg. doveadm expunge -A mailbox Trash savedbefore 90d)

To fix this problem it is necessary to add this line: iterate_query = SELECT username as user FROM mailbox

E-Mail / Re: Spamassassin does not work for all domains
« on: March 30, 2016, 10:52:15 AM »
I reply to myself:
there is a bug in amavis configuration in etc/amavisd.conf.
On line 50 there is
@local_domains_maps = ( [".$mydomain"] );

the  var $mydomain is initialized at line 20 and it is equal to domain name specified in cwp postfix build options.

I have manually pushed all my domain in the array in this way:
@local_domains_maps = ( ["","","", ""] );

now spamassassin works on all my domains.

My question now is if there is any way to specify all domains in the array without manually write them.
I have tryed with "*" but it doesn't work.

E-Mail / Spamassassin does not work for all domains
« on: March 30, 2016, 09:35:58 AM »
I have one occount with multiple domains.
Each domain have multiple mailboxes.
I have recently rebuilt postfix with spamassassin and it works only for one of my domain (and all its mailboxes).
I don't have any spamassassin header in the incoming mail of other domains (but I have amavis header on all domains).
Why this happen? Is there any configuration file that I can check?

Pages: [1]