Question

how can i configure mail server in hosting without cpanel

hello 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 domain1.com will have mail like support@domain1.com and the others will be apply@domain2.com … 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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

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.

https://www.digitalocean.com/community/questions/using-gmail-with-postfix-smtp-server?answer=23985

Hope that this helps! Regards, Alex

@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 ?