Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2752,"date":"2019-12-14T19:07:23","date_gmt":"2019-12-14T19:07:23","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2752"},"modified":"2019-12-14T19:07:23","modified_gmt":"2019-12-14T19:07:23","slug":"setup-iredmail-on-freebsd-10","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/setup-iredmail-on-freebsd-10\/","title":{"rendered":"Setup iRedMail on FreeBSD 10"},"content":{"rendered":"

This tutorial will show you how to install the groupware iRedMail on a fresh installation of FreeBSD 10.<\/p>\n

You should use a server with at least\u00a0one gigabyte<\/strong>\u00a0of memory, preferably even two. While the software doesn’t use many resources when idling, it peaks very fast when under load. For example, during virus scans.<\/p>\n

Important<\/strong>: Please do not try to install iRedMail on a system that’s already in production. It’s designed to be installed on a\u00a0fresh<\/strong>\u00a0installation and will override other MTAs when it finds them. Please be cautious and always have backups at hand.<\/p>\n

For the course of this tutorial, we will assume that you are working as the administrative user. If you want to use\u00a0sudo<\/code>\u00a0instead, then you will have to append it where necessary.<\/p>\n

First, make sure that a fully qualified domain name is set by opening\u00a0\/etc\/rc.conf<\/code>\u00a0with your favorite text editor and replacing the value there with a FQDN:<\/p>\n

hostname=\"mail.example.com\"\r\n<\/code><\/pre>\n

Next, make sure that FQDN is the first value listed in\u00a0\/etc\/hosts<\/code>:<\/p>\n

127.0.0.1   mail.example.com mail localhost localhost.localdomain\r\n<\/code><\/pre>\n

Verify that everything worked by issuing\u00a0hostname -f<\/code>. The output should be:<\/p>\n

mail.example.com\r\n<\/code><\/pre>\n

The only dependency of iRedMail is\u00a0bash-static<\/code>\u00a0(and\u00a0wget<\/code>\u00a0to fetch it) which can be found in the official pkg-repositories:<\/p>\n

pkg\r\npkg update -f\r\npkg install bash-static\r\n<\/code><\/pre>\n

Since the installation script builds everything from FreeBSD’s ports tree, you need to fetch it:<\/p>\n

portsnap fetch extract\r\n<\/code><\/pre>\n

Due to some complications with the Apache versioning from FreeBSD 10 upwards, you need to add the following to\u00a0\/etc\/make.conf<\/code>\u00a0to ensure that the installation script works:<\/p>\n

DEFAULT_VERSIONS=apache=2.2\r\n<\/code><\/pre>\n

Download and unpack the latest version from the official homepage:<\/p>\n

wget https:\/\/bitbucket.org\/zhb\/iredmail\/downloads\/iRedMail-0.8.7.tar.bz2\r\ntar -xf iRedMail-0.8.7.tar.bz2\r\n<\/code><\/pre>\n

Change the permissions of the script, and run the installer:<\/p>\n

cd iRedMail-0.8.7\/\r\nchmod 700 iRedMail.sh\r\n.\/iRedMail.sh\r\n<\/code><\/pre>\n

The installation script will ask you some questions:<\/p>\n