How to reset max defers limit on cPanel server

You may got:

2022-07-28 14:43:22 1oH9Pk-111Cld-8x ** [email protected] R=enforce_mail_permissions: Domain domain.com has exceeded the max defers and failures per hour (5/5 (100%)) allowed. Message discarded.

To reset:

/var/cpanel/email_send_limits/track/domain.com

If the limits too tiny on your server then adjust them per your needs:

sed -i -e 's/MAX_DEFER_FAIL_PERCENTAGE=.*/MAX_DEFER_FAIL_PERCENTAGE=125/g'
Read the rest

How to generate Self-Signed SSL on cPanel server using command line

Run and put your domain:

read -p "Domain: " domain; username=`/scripts/whoowns $domain`; email=`grep @ /var/cpanel/users/$username |tail -n1 |cut -d '=' -f2|sed -e 's/@/\%40/'`; whmapi1 generatessl domains=$domain countryName=US stateOrProvinceName=Texas localityName=Houston organizationName="The Justice League of GG" emailAddress=$email pass=`openssl rand -base64 15` keysize=2048 skip_certificate=0

Now use WHM to install it

Enjoy!… Read the rest

How to update reseller’s subaccounts disk quota and bandwidth on cPanel server

Useful if you have plan limited by:

– limitation by amount of cPanel accounts
– bandwidth limitation
– disk space limitation
– overselling disabled

Update reseller’s packages with new limits via command line

sed -i -e "s/QUOTA=.*/QUOTA=2000/g" /var/cpanel/packages/resellerusername_*
sed -i -e "s/BWLIMIT=.*/BWLIMIT=20000/g"
Read the rest

How to fix Roundcube Server Error: STATUS: Mailbox doesn’t exist error

This may occur because of UTF8 formatting was not enabled

– Navigate to cPanel –> Email –> Email Accounts.
– Select Manage next to the “Default” account.
– Enable the toggle under “UTF-8 Mailbox Names”.

You may also inspect Roundcube interface setting for UTF8 formatting enabling… Read the rest

How to remove Mailman list from command line

Find rmlist binary file under  /usr/local/cpanel/3rdparty/mailman/bin folder

For more info run:

[email protected] [/usr/local/cpanel/3rdparty/mailman/bin]# ./rmlist --help

Usage:
rmlist [-a] [-h] listname

Where:
–archives
-a
Remove the list’s archives too, or if the list has already been
deleted, remove any residual archives.

–help
-h
Print this help message and exit.

Read the rest

How to rebuild vc_list_store file

Recently I faced that vc_list_store is missed for just restored account as result a client got their Git repositories empty

I have found that .cpanel/datastore in Jetbackup exclude list, it seems because they skip .cpanel/datastore by default at their doc page:

https://docs.jetbackup.com/manual/whm/BackupJobs/excludeFiles.htmlRead the rest