I managed to get it working! After installing FreeBSD I immediately did the following:
pkg update
freebsd-update fetch install
pkg update upgrade
reboot
I'm not sure if each step/the order is relevant since I'm new to FreeBSD
Note, after following the steps at http://www.iredmail.org/docs/install.ir … eebsd.html
I still encountered an error like:
<< ERROR >> security/amavisd-new: Port was not successfully installed (stopped in archivers/arj)
so I did:
cd /usr/ports/security/amavisd-new && make install
then I re-ran the iRedMail.sh and got:
<< ERROR >> security/amavisd-new: Port was not successfully installed:
===> Installing for amavisd-new-2.11.0_1,1
===> Checking if amavisd-new already installed
===> amavisd-new-2.11.0_1,1 is already installed
so then I did:
setenv FORCE_PKG_REGISTER
Then I again, re-ran iRedMail.sh and it worked.