Very good explanation from the guys at Digital Ocean https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
Requirements: - Mail server needs on SugarCRM needs-- Inbound Email cannot function without the IMAP c-client libraries enabled/compiled with the PHP module. […]