How to set up mail server on CentOS

Posted on 2011-10-22
Last Modified: 2012-05-12

I have set up a centos server assigned a domain name and an IP. I want to install email service on the server. How can I do this?

Any idea or links are appreciated!
Question by:wsyy
    LVL 87

    Accepted Solution

    Do you only want a simple mailserver, or do you prefer a groupware Server? For Groupware you could go for Horde, check the Link below on how to set this up:

    Or another Groupware Suite would be Zimbra:

    If you only require mail, then you can follow the guide below for setting up postfix:
    LVL 31

    Expert Comment

    There are two default email clients on CentOS.  Sendmail and Postfix.

    You can install then from your CentOS DVD or from the online repository.

    yum install sendmail


    yum install postfix

    After that you have t ofollow simple configuration using this guide

    Author Comment

    I forgot to mention that I plan to use the email service in a distributed computing environment. Also Java + Jetty Tomcat (not php+apache) is the language and application server. Does it require special attention in addition to what you guys suggested?

    LVL 31

    Assisted Solution

    How would distributed environment affect?  Do you want mail cluster?  Sendmail can still do that.  Other than that why would a distributed environment change anything?  Yes, you can have Java and other technologies running concurrently.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
    This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now