how can i configure mail server in hosting without cpanel

Posted April 6, 2016 11.5k views

i have small VPS serves about 8 websites
centos 6.7 running on the VPS without cpanel
just lamp and apache virtual host for each website
i need to configure free mail server to offer mail account for each domain
let’s say that will have mail like
and the others will be .... etc
i already did it with zarafa along side with lamp but i had a problem with relay
i’m not expert for mail servers but all i need is a way to configure working mail server along with hosting solution

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

@lan2015 thanks i installed in on a local VM , it works like charm but when i try to send to outlook or any mail outside the msg arrives on junk folder . does it require extra configuration ?

Hi, @mbadry

You can check a question that was already answered here in the community. I’ve posted a mini tutorial on how to use Postfix and configuring it to use the Gmail server to send emails.

Hope that this helps!