Results 1 to 10 of 41

Thread: Set up an internal mail server

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Location
    Gujranwala, Pakistan
    Beans
    139
    Distro
    Ubuntu

    Question Set up an internal mail server

    My home network is like this:

    5-6 devices (wirelessly) -----> Router ---> ISP Modem ---> Internet
    File server-Ubuntu 12.04 (wired)--^

    All devices are part of the same workgroup. I'm interested in learning more about networking and I would like to set up an internal mail server that allows all devices to send emails to each other.

    I've found some good tutorials on the web but most are too advanced for my needs. I don't need to receive email from outside, just internally... for starters. I found this one tutorial which seems fit for my needs but its 5 years old. Also I'm a little confused about domains. In order to use email internally, do I need to register a domain? And it seems I'd have to set up a DNS server (probably on the file server)...won't that screw up the internet access to the network if I set up my own DNS server?

    I'm just experimenting since these things interest me, so if you can be patient and explain...please help.

  2. #2
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,297
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Set up an internal mail server

    Email is strongly tied to DNS and the Internet, a strictly internal mail server is possible but far from trivial. (Email itself is far from trivial to begin with, even for a "standard" mail sever, I suggest you find something else to experiment with like HTTP/FTP.)
    「明後日の夕方には帰ってるからね。」


  3. #3
    Join Date
    May 2012
    Beans
    122

    Re: Set up an internal mail server

    I would have a read of that article you cited again, if I were you.

    Actually, I think the postfix installer in Ubuntu server has an option to select local only (open to correction on that as it has been a while).

    Would nervously disagree with Bachstelze (that's an awful lot of posts you have racked up) about the internal only mail server for your domain-only mail, but certainly take the point on a practical level (i.e. you should focus on setting up a fully functional "standard" mail server only once you are more comfortable with the concepts).

    Also, as Bachstelze mentioned, look at setting up a web server first, as you should have a better understanding of other related concepts (such as networking, DNS) before you tackle the mail server project.

  4. #4
    Join Date
    Jul 2006
    Location
    Gujranwala, Pakistan
    Beans
    139
    Distro
    Ubuntu

    Re: Set up an internal mail server

    Thanks for your responses. I've already fiddled with an setting up an FTP server (vsftp). That was pretty easy. I haven't set up a web server yet. I'll look into that.
    Last edited by sbjaved; November 17th, 2012 at 04:58 AM.

  5. #5
    Join Date
    Jul 2006
    Location
    Gujranwala, Pakistan
    Beans
    139
    Distro
    Ubuntu

    Re: Set up an internal mail server

    After some reading i've gathered that I can set up an internal domain and DNS server with the ability to forward internet requests to ISP's DNS servers. That was what I wanted to know. If i'm able to set up the DNS server properly, I think I'll try setting up a mail server as well.

    I'm going to install ubuntu 12.04 server on spare old desktop and experiment with BIND on it, so that my current network setup (and file server) isn't disturbed if I make a mistake. Any and all pointers are welcome.

  6. #6
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,922
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Set up an internal mail server

    You do not even need a domain as I recall if all you want to do is deliver mail to local users. You'd just need Postfix and Dovecot, though you'll need to change the Postfix configuration to allow mail to be sent to the Ethernet interface. But you should be able to address mail to a local user name without a domain and have it delivered to that person's mailbox.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •