How to change maximum email size in cPanel/WHM

How to change maximum email size in cPanel/WHM There is no max file size limit that can be sent and received, however, cPanel defaults the limit to 50mb. You can change this in cPanel. To change this do the following, Login to cPanel as admin Under Service Configuration, Click “exim Configuration Manager” Click “Advanced Editor”[…]

Email setup tutorials

Popular email software setup tutorials The settings used to connect to our email servers are the same for all types of email software. If the support article for the software you use is not listed below, we recommend searching the Internet for assistance on how to use that particular software or device. Once you know[…]

How to Add an email account on your iPhone, iPad, or iPod touch

Note: As a courtesy to our customers, we provide online tutorials on how to configure various email software. Our staff however are not able to provide support on how to use your iPhone or iPad. For further assistance in using Mail on your iPhone or iPad, see Apple’s Mail support pages. Add an email account[…]

WooCommerce – Redirect to a custom page after logging out

By default, WooCommerce will redirect customers to the My Account page after logging out. However, you may want them to go somewhere else – here’s how. Firstly, you’ll need to make sure that you are overriding the default WooCommerce template files in your theme. If you’ve already got a woocommerce folder in your theme’s directory,[…]

WooCommerce – Redirect to a custom page after logging in based on the user role

By default WooCommerce redirects the user to the My Account page after a successful login. You may change this and use a custom URL based on the user role, like the Dashboard for admins and My Account page for customers. To do this, add this code at the end of the file functions.php located in[…]

WooCommerce – Redirect to a custom page after logging in for All Users

Sometimes you may want to send users to a unique or custom URL after logging in through WooCommerce. No need for additional plugins or complicated code. Just add the following code to the custom functions area of your functions.php file. // Custom redirect for users after logging in add_filter(‘woocommerce_login_redirect’, ‘wcs_login_redirect’); function wcs_login_redirect( $redirect ) {[…]

How to Set a Firewall on cPanel & WHM’s Services

CSF (ConfigServer Security & Firewall) ConfigServer provides the free WHM plugin CSF, which allows you to modify your iptables rules within WHM. It is a stateful packet inspection (SPI) firewall, login and intrusion detection mechanism, and general security application for Linux servers. Important: We do not recommend that you use these examples. Instead, make certain[…]

Restart “spamd” in WHM via SSH

I was facing the issue to restart “spamd”. The error messages was “The system’s command to check or to restart this service failed.” To Fix this issue. Please follow below: Via root SSH access: Please use the following to check if spamd is running: /scripts/restartsrv_spamd –status To restart spamd, the following command may be used:[…]

How to find first and last index of foreach loop in smarty

When we do a coding with the Prestashop sometime we need to find whether first/last index of foreach loop. There are 2 ways to find first or last index of foreach loop in the smarty. I will show you some of example for that. {foreach from=$arrList key=myId item=i name=foo} {if $smarty.foreach.foo.first} This is the first[…]

How To Update the Kernel in CentOS / Red Hat using YUM

Updating the kernel on Red Hat Linux or CentOS Linux is a very simple process. Most commonly you will use the following command in the case of a security vulnerability, or perhaps just to verify that you’re running the most up-to-date kernel: yum -y update kernel In this case, yum is the rpm-based package manager[…]