Setup Mail Server

Posted on 2005-04-28
Last Modified: 2010-03-18

I'm new to Linux, but my company request to set up mail server on Red Hat Linux 9.0

Could you help me to set up

Thanks very much
Question by:blueadmin
    LVL 3

    Expert Comment

    use sendmail ... You have to go through the configuration manual and use sendmails mailing list for any questions.

    LVL 14

    Accepted Solution

    redhat 9,  come with sendmail pre-install  you only need to type

    /etc/init.d/sendmail start

    and the mail server is working

    after that you tell us, what are the problems do you have, IF you have one and try to help you.

    Author Comment

    ok, i'll try, and if i have got problems, i will ask you later
    thank you
    LVL 1

    Assisted Solution

    You'll definitely have trouble coz the default Red Hat configuration does not allow sendmail to bind on your network ip address.
    make sure you have sendmail-cf rpm package installed and do the following

    open the /etc/mail/ file and change the following line

    DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl


    dnl # DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl

    restart sendmail

    uncomment and modify the following lines


    edit /etc/mail/access file to include your network some thing like below

    192.168.1                               RELAY

    finally add your domain name to /etc/mail/local-host-names file refer below

    Note: replace with your real domain name and 192.168.1 with your real network id

    then run the following command as root

    # make -C /etc/mail
    # service sendmail restart

    thats it now you can send mail to any one in the internet if your mail server have access to internet.

    LVL 1

    Expert Comment

    Oops I almost forgot about POP3 or IMAP for mail retrival within your network

    I personally suugest you to go for UW IMAP server which provides POP3 support too. Its very easy requires almost NIL configuration. Unfortunately Fedora Core 3 replaced it with dovecot. You can still grab the FC3 rpm from the following like

    Install it enable it using the following command

    # chkconfig ipop3 on
    # service xinetd reload

    thats it now you can download mail from any mail clients like Thunderbird, Outlook etc.

    LVL 1

    Expert Comment

    I'm new as well. Howrver here is some web sites that my help you.

    Good Luck :)
    LVL 25

    Expert Comment

    No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
    I will leave the following recommendation for this question in the Cleanup topic area:
    Split Points:  pablouruguay & apsivam

    Any objections should be posted here in the next 4 days. After that time, the question will be closed.

    EE Cleanup Volunteer

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    745 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

    16 Experts available now in Live!

    Get 1:1 Help Now