Setting up a new Mailserver

Discussion in 'Server Operation' started by samir12, Jun 18, 2011.

  1. samir12

    samir12 New Member

    Hello there ,
    given a task to set up a new mail server in our small company ,

    we already have existing emails hosted by our ISP provider but we want to get rid of it as soon as our new mail server is up and running ,

    i went thru ubuntu10.10 tutorial
    and i have a couples of questions before installing the mai server
    we already have our web server hosted by a 3rd party
    is this domain what i should use instead of ??

    also wil replaced by

    please bear with me as i'm totlay new to linux

    and thanks in advance :)

    is there any set up that need to be done to my router i have a static ip adress
  2. falko

    falko Super Moderator ISPConfig Developer

    Yes, you can use instead of Make sure you use a hostname that you don't use for email addresses (such as
  3. samir12

    samir12 New Member

    thank :)
    I finished the mail server using your guides thanks a lot
    but i have 2 issues I only can access phpmyadmin using my local network ip adress
    but i cant acess it using my host name hattp://
  4. falko

    falko Super Moderator ISPConfig Developer

    Did you create a vhost for, or does that address go to the same vhost that is used when you use
    If you created a vhost for, you must install phpMyAdmin in that vhost (or create a symlink to an existing phpMyAdmin installation; make sure that symlinks are allowed in your vhost configuration).
  5. samir12

    samir12 New Member

    Hello Falko
    and thanks for your prompt reply

    i followed exactly the instructions on the how to :

    this my network interfaces setting :
    vi /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static
    # dns-* options are implemented by the resolvconf package, if installed
    and my vi /etc/hosts localhost.localdoamin localhost mail

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    i reckon this server will only work on internal network , my ISP provide me with a static ip adress should i put that instead of

    thanks in advance
  6. samir12

    samir12 New Member

    ive fixed this issue :)
    but still my server only working on local network , i cant reach it from the internet
    any suggestion cheers
  7. falko

    falko Super Moderator ISPConfig Developer

    Please check your router settings. You must forward all needed ports from your router to your server.

Share This Page