admin has written 153 articles

Installing packages

Overview Python uses a package management system called “pip“. Package management is available on newer hosting platforms v4.5 and above. Terminal access is necessary to use the feature. Package management All packages installed reside under /usr/local/lib/python/<VERSION> where <VERSION> is the Python version. Python versions may be switched on-the-fly using pyenv on v6 platforms. Important platform info: all commands listed here use pip.…

Running Node.js

Overview Node.js is a performant JavaScript backend built off Chrome’s JavaScript engine (v8). It’s also wicked fast. Node.js and its accompanying package management, npm, are available on newer platforms (v6+) without any additional compilation from source. Accounts with terminal access are eligible to use Node.js and npm. Running Node.js with Passenger Newer hosting servers, v6+…

Running Redis

Overview Redis is an advanced key-value cache and store, similar to memcached with better performance. It is available on newer platforms (v6+) without any additional compilation from source. Accounts with terminal access are eligible to use Redis. Quickstart From the terminal, run: redis-server –bind 127.0.0.1 –port PORT where PORT is a preassigned port to the account.…

Separating mail to same user, different domain

Overview Accounts may host multiple domains under one account. In certain circumstances, an e-mail address on one domain must deliver to a different inbox than the same e-mail address on a different domain: info@mydomain.com must not deliver to the same inbox as info@myotherdomain.com Solution Each user within the control panel (Users > Manage Users) provides a…

Mail filtering

Overview Message filtering is done prior to delivery via maildrop. Each message goes through two levels of filters: (1) global — processed first in /etc/maildroprc followed by (2) local per-user filters in $HOME/.mailfilter. Basic filtering recipes are provided below. Syntax and usage may be found in mailfilter(7). Important: on older platforms, (less than v6), remember to…

Unable to send e-mail

Overview Client is able to receive e-mail, but not send. If client is unable to both send and receive e-mail, then refer to Accessing e-mail for proper login details. Note, this does not affect webmail. Only desktop/handheld mail clients apply. Causes Firewall restriction on port 25 ISPs commonly implement firewall blocks upstream on port 25…

Viewing PHP settings

Overview Default PHP settings may be viewed either as a standalone page or within an application using phpinfo() or ini_get(). Default Environment Settings To view your default environment settings, create a file named phpinfo.php inside your document root. Inside this file, include the following line: <?php phpinfo(); ?> Access the URL phpinfo.php from your web…

POP3 vs IMAP e-mail protocols

Overview POP3 and IMAP are two separate protocols to access e-mail stored on the server. POP3 originated first in 1996 and IMAP in 2003. POP3 is designed for devices that have limited Internet connectivity and limited storage available on the mail server. POP3 is suitable for a dial-up connection or situations in which limited storage is available…