How To Make An E-mail Server

This video shows how to host your own e-mail service using your home computer.

Related tutorials:

Links used in this video:

42 Responses

  • Javid // //

    I use a dail-up connection by using my mobile phone as the modem
    My ip changes everytime I connect it pls help

    • Rick // //

      If your IP changes every time you use it then you have to go into the Modem settings of your phone and change it from Dynamic to Static which therefore changes the setting from a changing IP Address every time you use it to a Static IP Address which pretty much means you keep one IP Address every time you use your mobile phone as a modem, This does however make your connection more vulnerable to attack against “hackers” and among other thing, not really recommended. Hope this helped.


    • Justin // //

      If you are using a cell phone, chances are you won’t be able to setup a static IP. Most cell phone providers don’t want you to host things on their network without paying more.

  • Ashu // //

    Great Tutorial Man…. Helped me a great time..

  • Mario Stargell // //

    Hello this is amazing site! really cool and it will be a new inspirations for me

  • Bridger // //

    Hi ya um I have the hosts but i have like 32 of them that go hosts then numbers then back up i have no exact host file.

  • michael franklin // //


    I am looking to set up an email server that will allow HTTPS connections as opposed to HTTP. THis is due to security reasons.

    Can the same process steps described within your videos be utilzed to develop an HTTPS compliant email server?

    What are the variances involved?


    – Mike Franklin

  • MAX // //


  • carmelo // //

    where is the vedio brother?

  • Amin // //

    i am using windows sever 2003 how i configure squaremail on my local network
    please tell me

  • DD // //


    I use synology NAS server which occupies my local IP and already uses port 80,
    so when I forward or open a new port for my computer (to be used as server for other things) it tells me it will give me port 8080. When I enter my IP adres as defined by IP config so the real IP adress which shoud be public , I get acces to my router

    Is there some conflict (obvious there is) I also tried to enter my public IP adress with colon 8080 and /:8080 but no result (error message), any idea


  • DD // //

    additional information, the local IP adres from my computer is so a different number then my NAS server and different from my router
    Still it does not work

  • Brandon // //

    I have a problem. When I go to Windows/system32/drivers/etc, I can’t find a file called hosts. I also tried to complete without it and when I tried to log in it says:

    Error connecting to IMAP server: RASSAF.local. 0 : php_network_getaddresses: getaddrinfo failed: No such host is known.

    What should I do please help. My OS is Windows 7 home…. PLEASE HELP!!!!!!!!!11

  • Sean // //

    hey guys

    i am setting up a website and decided to use hmailserver as my mail server however i keep running into this problem when i get the the db setup

    (Starting task…
    Please wait while updating database settings…
    Settings updated.
    Restarting server…
    Database initialization failed.

    currently the hmail forums are down and nobody on the irc channel will help me

  • tom // //

    hi i log on but then it says connection dropped by imap server

  • Jeremy // //

    I have a problem, when I log in I get
    Error connecting to IMAP server: jeremail.local.
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known.
    What do I do?

  • aaron // //

    when itry to edit hosts fle it dosent let me save it plz plz help me

  • brad // //

    when i opn localhost i get a blank page
    tried port forewarding but i cant enter my gateway’s site

    🙁 help

  • Gaurav // //

    hey After All the process at last when i enter the Name and password in Squirrelmail -webmail page then it is showing :-

    ERROR: Connection dropped by IMAP server.

    Here i m stuck . Plzzzzzzzz Help Me at this point !!!

    Thnk you in Advance :;-)

    • Gaurav // //

      Finally I take it out ..


      • kashif // //

        please help me about email server it say connection dropped by imap server…………… plezeeeeeeeeeeeeeeee

        • James M. // //

          I had a confusion at the end about login as well; for those who got:


          Go to hmailserver, check in advanced tab on the left, under IP ranges for AUTO-BAN – this would have been created after invalid login attempts.

          Then, even after correctly logging in (hmailserver email = USER) at squirrelmail login page it still wouldn’t work.

          FIX: delete AUTO-BAN entry from left menu + change MYCOMPUTER priority to 30 to prevent banning you in the future.

          Hope this helps.

          • James M. // //

            PLEASE copy paste to others with same problem so they can be helped out.

            They really, really helped me out.

      • matt // //

        How did you do it i have the same problem

    • dereklee // //

      hi may i know how you solved the problem? 🙂

  • Talha Khalil // //

    damn this is so cool!

  • Mukhtar // //

    please i try this tutorial to create an email server i don’t know why is not working i need help the hmailserver where i will add the lines to my Domain name when i want to save it , it kip on asking me if i am using it in another program i restart the system and start refresh but still the same msgbox is popping. tnkx contact me at

  • XXXX // //

    It is really a great video, and i applied it on my computer and it works, but when I opened Squirrel Mail and logged in, i tried to send emails to my friends on Hotmail and Yahoo, but that didn’t work,
    so know I want to ask you:
    How I can send emails to Hotmail and Yahoo users?????
    I wish you can answer me quickly, and thank you!!!!!!!!!!!

  • vaishal // //

    HI i cant send mail on any website email id and also not receive what is the problem

  • derek // //

    hi i am having problem with connection drop by imap serve error…how can i fix it..please help !@

  • dhananjay // //

    login in squirrel mail i am getting the error msg………..”Error connecting to IMAP server: dhananjay.local .
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known.”
    pls tell me how to resolve this problem

  • dan // //

    Me too got this error : ERROR: Connection dropped by IMAP server.

    Please help us thanks.

  • Daniel // //

    Me too got this error : ERROR: Connection dropped by IMAP server.

    Please help us thanks.

  • Daniel // //

    please help ERROR: Connection dropped by IMAP server.

  • kashif // //

    please help me about email server it say ERROR: connection dropped by imap server…….

  • doctorwho // //

    Hi Great Idea i have always wanted a m own email server but…
    I Couldn’t edit the host file in the divers/etc file and i got this error when i tried to connect:
    Error connecting to IMAP server: #########.
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known.

    Please help!

  • Card Transaction // //

    Thank you, I’ve just been searching for info approximately this subject for a while and yours is the greatest I have came upon so far. However, what concerning the conclusion? Are you sure about the supply?

  • Darren // //

    In Final step when i tried to login it says

    “SquirrelMail version 1.4.22
    By the SquirrelMail Project Team
    Error connecting to IMAP server: deals.local.
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known. ”

    any help ??

    • RUBELMRINMOY // //

      i face the same can i solve the problem.pls tell me

  • Aaron Maynard // //

    ( ! ) Strict standards: Declaration of Deliver_SMTP::initStream() should be compatible with Deliver::initStream($message, $length = 0, $host = ”, $port = ”, $user = ”, $pass = ”) in C:squirrelmailclassdeliverDeliver_SMTP.class.php on line 369
    Call Stack
    # Time Memory Function Location
    1 0.0040 746912 {main}( ) ..compose.php:0
    2 0.0433 4437288 deliverMessage( ) ..compose.php:490
    Message not sent. Server replied:
    php_network_getaddresses: getaddrinfo failed: No such host is known.
    0 Can’t open SMTP stream.

    Help me fellow tinkernerdz!

  • Eli Kleine // //

    Okay if your webmail server with log in page is running would it also be possible to have an subscribe page so people can make theyr own e-mail acount with your domain?

  • Chowix40 // //

    i send emails to my gmail and it doesnt work. also how do i send emails to it? HELP PLEASE!!

Leave a Reply