How to Build Your Own E Mail Server using Ubuntu Server 14.04

Поделиться
HTML-код
  • Опубликовано: 7 окт 2015
  • This video will show you how to get an e-mail server up and running with all available ports and protocols working.
    Postfix is a very complex email software with hundreds of possible configurations and options. I suggest reading the documentation at www.postfix.org/documentation.html
    to learn how to fine tune your server.
    Any questions I will try to help, just leave them in the comments below...
    If this video was helpful, please leave a thumbs up and don't forget to subscribe if you haven't already.
    oddrandomthoughts for your daily dose of the strange and unusual.
  • ХоббиХобби

Комментарии • 162

  • Mickelodian Surname
    Mickelodian Surname 14 дней назад

    Ohh thank christ for that...an American... at least this is an accent I can understand. If I hear another Indian accent that may as well be talking in martian I'll go berserk.

  • Lobna Maslih
    Lobna Maslih 2 месяца назад

    great video sir thank you so much that wa a huge help for me it worked very well

  • Steven Salter
    Steven Salter 3 месяца назад

    I followed along, everything works....Fantastic tutorial Robert....
    Now for the postfix documentation

  • Adam Ishak
    Adam Ishak 4 месяца назад

    Sir sorry, whats next? How can i test sending an email? Help please, but thank you for your video, helpful sir!

  • Absalom Alila
    Absalom Alila 4 месяца назад

    Thank you for the video. all the commands worked. but now I'm wondering, if i mail stuff to that email "mail.robert.com" in your case, where can i view the mails?

  • nishant karale
    nishant karale 4 месяца назад

    first it didn't worked, then i start over with fresh ubuntu installation and worked like magic. thank you so much for help.

  • Ebaad Ahmed
    Ebaad Ahmed 5 месяцев назад

    Hello,
    I have followed the video exactly and am able to setup two accounts on the server to send and receive emails via thunderbird. how can I send emails outside of the LAN. I can telnet to all ports and get a connected response.

  • Edenilson Alves
    Edenilson Alves 5 месяцев назад

    Hi friend, the video is ideal for anyone who wants to ONLY SEND EMAILS, but with this configuration, you can not receive emails. Unfortunately. The video title should be changed to: How to Build Your Own E Mail Server - JUST TO SEND EMAILS, BUT DO NOT RECEIVE EMAILS - using Ubuntu Server 14.04. But surely the friend can help us with the next video in the series: how to complete your setup to send and receive emails. And then we could enjoy the video: installing an email client. Even so, thank you, it's a shame that does not work. Thank you ;)

  • Mat Taha
    Mat Taha 5 месяцев назад

    by trying tellnet with port 587 i do stuck in escape charcter is

    • Mat Taha
      Mat Taha 5 месяцев назад

      Connection closed by foreign host.

  • Alen S
    Alen S 6 месяцев назад

    Hi Robert, great video! I'm trying to contact you using your website's contact form, but keep getting errors. Please fix and let me know how we can connect in the meantime for some possibilities.
    f

  • lucky lau
    lucky lau 7 месяцев назад

    Hi, i followed all the steps but at the client side (thunderbird), i cant send outgoing mail. It says connection with Outgoing server timeout.

  • Deepak Bharadwaj
    Deepak Bharadwaj 8 месяцев назад

    Hi Thank you for the awesome video, but I am getting this error in dovecot can you please help with this?
    pop3-login: Fatal:Can't load ssl_cert: There is no valid PEM certificate. (You probably forgot '

  • Sew Dew
    Sew Dew 9 месяцев назад

    SEWDOO

  • Search Sky
    Search Sky 9 месяцев назад

    Sudew et-see

  • Bong Aquino
    Bong Aquino 9 месяцев назад

    Thank you very much! But I still need to work on my PTR record using AWS Route53.

  • Roberto Murillo
    Roberto Murillo 9 месяцев назад +3

    What I do understand about mail ports basing on my experiences dealing with mail servers and specially with Linux, It's really important to have the port 25 open because it's not only used to send mails but also it is used to receive mails. What I'm trying to explain here is that the mail server uses the port 25 to receive and store the mails. Now, It is important to know about the port 25 is that many ISP blocks port 25 for security reasons to prevent spam mails, so when this happens it's really important to use the protocol submission or port 587 to be able to send emails and with this way the ISP will let the mails pass through. Now talking about the protocols imap and pop3 (ports 110 and 143), these ports are used on the client side to capture the mails from the mail server when the mails are already stored inside the maildir. What I do understand about between these ports is the following: when the user client deletes mails with pop3, it only deletes the mails from the client side (thunderbird, exchangers, etc.) and when the user client deletes mails with imap, the mails are deleted from both client and server sides. Good video by the way because I liked it.

  • lane smith
    lane smith 9 месяцев назад

    hi really a great video!! but quite confused how to set it up and make it work with turbomailer or any other bulk webmailer,in turbo mailer it connected with the server but couldn't send ....will really appreciate a quick response thanks

  • Soft Tony Soft
    Soft Tony Soft 9 месяцев назад

    Can i have multiple domain names setup on one server for my various email?

  • Bai'atur Ridhwana
    Bai'atur Ridhwana 10 месяцев назад

    may I ask, i was did all of the tutorial, but i confuse how to use my practice ? are there the demo ? help me !

  • RealSoft Games
    RealSoft Games 11 месяцев назад

    thanks heaps for this tutorial, im stuck at configureing dovecot after installing it the configuration window had not opened. would you know how to force open it?

    would love to see squirlmail hooke dup with this =)

  • what on earth
    what on earth 11 месяцев назад

    I dont get the popup at 39:13

  • what on earth
    what on earth 11 месяцев назад

    at 15:25 do you mean the default gateway?

  • Manoj Kumar Maharana
    Manoj Kumar Maharana Год назад

    awesome it works for me

  • Toran Sharma
    Toran Sharma Год назад +1

    Thanks for the great tutorial.
    Read a few comments about telnet closed by foreign host and no prompt appearing during the installation of dovecot-common. I think I have the solution to these which I wrote a comment about it as a reply to myself asking for help from someone who said they had fixed this issues but didn't say how.
    Here is the comment:
    I think I worked it out. I made a few changes, I Can't be sure which of this it was. During the dovecot-common (dovecot-core) installation I didn't get the prompt to generate a self-signed cert. I did this manually with: sudo openssl req -new -x509 -days 365 -nodes -out "/etc/dovecot/dovecot.pem" -keyout "/etc/dovecot/private/dovecot.pem"
    Then check the ownership and privileges of both keys with ls -la /etc/dovecot/
    By this page: wiki.dovecot.org/SSL/DovecotConfiguration
    the public pem file should be owned by root:root and have permissions 0444
    the private pem (or just the whole private directory recursively) should also have ownership of root:root but permissions 0400
    change these with:
    sudo chown root:root /etc/dovecot/dovecot.pem
    sudo chmod 0444 /etc/dovecot/dovecot.pem
    sudo chown -R root:root /etc/dovecot/private
    sudo chmod -R 0400 /etc/dovecot/private
    I think that should make it work, I did also have the line #ssl_cert_username_field = commonName uncommented and modified from a previous fix attempt, make sure it is commented out.
    EDIT: Totally forgot to thank the man for a great video!

  • hamza Ahmed
    hamza Ahmed Год назад +3

    I got an error when telneting the port 110 and 143 everything else works great it says connection closed by foreign host

    • Miguel Jimenez
      Miguel Jimenez Месяц назад

      hamza Ahmed same here, did you got that fixed?

  • Mano b
    Mano b Год назад

    thanks for the tutorial . very helpful for my server rented from www.datasoft.ws

    • Ava Maria
      Ava Maria Год назад

      Stop spamming dumb ass

  • siphokeith ncube
    siphokeith ncube Год назад

    hey robert this is great stuff, very helpful. pliz assist m running the sudo apt-get install dovecot-common -y command on my ubuntu server 16.04 and it doesn't bring me to the configuring dovecot-core screen it simply says doecot-core is already in its newest version 1.2.2.22, dont know wat to do please help, others welcome to help

  • Burak Kaymakci
    Burak Kaymakci Год назад

    You saved my life! Thank you for the great video.
    I've been searching for a documentation or kind of a walkthrough since I don't really know about this stuff.
    Thanks to you, I've done it!
    I will actually download this video for whenever I may need to set up a mail server again. :)

  • Reef2View
    Reef2View Год назад +1

    @48:05 you're enabling SSL. You also have lines 12 and 13 un-commented. With those two lines un-commented I get an error that /etc/dovecot/dovecot.pem does not exist. Same with line 13. The log says Dovecot IMAP/POP3 email server failed to start. Commenting those two lines clears the error. Would love to hear your thoughts on this. Also when I telnet ports 110, 993, 995 the session open then closes on it's own. Thanks in advance for your feedback.

    • Toran Sharma
      Toran Sharma Год назад

      also check the ssl ports with openssl s_client -connect your.domain.com:995 for pop3 and 993 for imap

    • Toran Sharma
      Toran Sharma Год назад +1

      I think I worked it out. I made a few changes, I Can't be sure which of this it was. During the dovecot-common (dovecot-core) installation I didn't get the prompt to generate a self-signed cert. I did this manually with: sudo openssl req -new -x509 -days 365 -nodes -out "/etc/dovecot/dovecot.pem" -keyout "/etc/dovecot/private/dovecot.pem"
      Then check the ownership and privileges of both keys with ls -la /etc/dovecot/
      By this page: wiki.dovecot.org/SSL/DovecotConfiguration
      the public pem file should be owned by root:root and have permissions 0444
      the private pem (or just the whole private directory recursively) should also have ownership of root:root but permissions 0400
      change these with:
      sudo chown root:root /etc/dovecot/dovecot.pem
      sudo chmod 0444 /etc/dovecot/dovecot.pem
      sudo chown -R root:root /etc/dovecot/private
      sudo chmod -R 0400 /etc/dovecot/private
      I think that should make it work, I did also have the line #ssl_cert_username_field = commonName uncommented and modified from a previous fix attempt, make sure it is commented out.

    • Toran Sharma
      Toran Sharma Год назад

      Do you remember how you resolved this, I am having the same issue now. Thanks.

    • Reef2View
      Reef2View Год назад

      Issue resolved. Thanks!

  • Stoyko Stanev
    Stoyko Stanev Год назад

    Hi Robert! I'm having an issue, i reached to the step where I have to test the connection 43:24 . Although I'm not sure, which IP address I should include in the networks: in the main.cf file, since I'm running Ubuntu in a virtual machine and I tried using a dynamic dns on my WAN Address: Gives me Unable to connect to remote host: Connection refused when I try to telnet to the WAN. Any insights on how to make the connection, since in a virtual environment?

  • NT Studio
    NT Studio Год назад

    The devcot is doesn't want to install properli for me. Can you help me? I did not get that popup

  • Duhckey
    Duhckey Год назад

    I also live in Kansas City, anyway I would be able to call or meet up with you sometime to talk about a mail server project I'm working on?

  • Pius Odiahi
    Pius Odiahi Год назад

    Hosting this with a domain name, can it stand as an SMTP server like MailerQ and PowerMTA for sending about 1million emails per hour?

  • UTubeChannel
    UTubeChannel Год назад

    Robert all I want to say is you made this mail server your bitch

  • JANE AI MALL
    JANE AI MALL Год назад

    How do you create an email acct? like jane@doe.com?

  • Kishan Joshi
    Kishan Joshi Год назад

    how do you record your audio its fantastic thank you

  • NicholasPOGM
    NicholasPOGM Год назад

    Over an hour on how to install a server that in Windows would take 5 mins?
    I wonder if Linux will ever wise up and make software easy enough for
    the newbie to install? That's how Windows got so popular. But then,
    perhaps Linux coders like to keep it all confusing so as to appear wise.
    What a paradox! LOL!

    • NicholasPOGM
      NicholasPOGM Год назад

      Yes I know that.. have been using and installing windows email servers for years, but I have never been able to install one correctly in Linux. And so I just use an emulator and install the windows software from there. Again, Linux would have a LOT more users if they would make their OS user friendly.

    • AleksssBoss157
      AleksssBoss157 Год назад

      It just has more options than a windows email server.And windows mail servers can get complicated like this one too.

  • ftrtech
    ftrtech Год назад

    Hello Robert... Thanks God You made that video. I was able to setup my machine to send email but I not able to receive yet but I know I have to read as per your advise.
    Thanks Again

  • Darius D'Silva
    Darius D'Silva Год назад

    How much of your 14.04 videos are relavant to 16.04?

  • steve h
    steve h Год назад

    i changed host name like u said and now i cant change any thing. all files are now read only even as root. and now i cant even run apt get update any more i cant go in as root and change it back to old host name as it is now read only file
    how is it changinng ur host name make all files read only even log in as root. all my sever are down as every thingis read only. i cant even copy my files so i can save mty server.

  • ENKI EA
    ENKI EA Год назад

    not sending emails, helpome

  • Natalia lutjens galvez
    Natalia lutjens galvez Год назад +3

    Hello, please help me when i do telnet mail.mydomain.com 110 its says me connection closed by foreign host and doesn't gave me the OK.

    • Michael Hornback
      Michael Hornback 5 месяцев назад

      im guessing you never fixed it

    • Mat Taha
      Mat Taha 5 месяцев назад

      did u get any soution ?

  • D P
    D P Год назад

    how to use courier imap and coirier pop?

  • Gianni Alagna
    Gianni Alagna Год назад +1

    Hi Robert... Still watching your Tutorial, stucked on 39" min... installing dovecot.common -y... i't's not showing up the configuration panel (configuring dovecot-core). How to force this?

    • Thomas Logan
      Thomas Logan Год назад +1

      To configure dovecot to use SSL, sudo nano /etc/dovecot/conf.d/10-ssl.conf
      uncomment the following lines:
      ssl = yes
      ssl_cert =

    • Alessio Bizzarro
      Alessio Bizzarro Год назад

      Hey I got the same problem. Did you find a solution for it?

  • vakhtang khavtasi
    vakhtang khavtasi Год назад

    hi, when doing dovecot-common installetion the graphical form does'nt appier , and I can't put smth like mail.example.com , what can be the issuere? and how to fix that problem PLS )

  • vakhtang khavtasi
    vakhtang khavtasi Год назад

    hey how are u, very nice course , thank you !

  • harnek singh
    harnek singh Год назад

    You Looking for Power MTA / PMTA Setup with Interspire
    smtp server provider
    Email Service
    skype id - harnek.singh31

  • daniel4567v3
    daniel4567v3 Год назад

    Its okay when you'e "rambling" . I have little to no knowledge of this topic and it helps to hear you talk about this stuff for couple minutes rather than having to read pages of documentation.

  • Abdulla Nasser
    Abdulla Nasser Год назад +1

    Thanks for awesome explination.
    But once i reached to (sudo apt-get install dovecot-common -y), The self sign certificate window did not appear.
    can you guide me
    Thanks

    • dimrill
      dimrill 10 месяцев назад

      +Thomas Logan Not all heroes wear capes. Much appreciated!

    • Thomas Logan
      Thomas Logan Год назад +2

      To configure dovecot to use SSL, sudo nano /etc/dovecot/conf.d/10-ssl.conf
      uncomment the following lines:
      ssl = yes
      ssl_cert =

    • maulana ibrahim
      maulana ibrahim Год назад

      yeah same with me. it makes when I telnet my_hostname 110, the connection is closed and didnt appear that dovecot is ready. are you solve your problem yet?

  • Malisz Maliszewski
    Malisz Maliszewski Год назад

    Hi Robert,
    I'm doing my server after You. Many Thx.
    But in 39:12 it isnt asking me about create SSL certificate... whats to do?
    I'm using Ubuntu Server 16.04 LTS

    • malisz182
      malisz182 Год назад +1

      now, i have problems with telnet to 110:
      Connection closed by foreign host

    • malisz182
      malisz182 Год назад +1

      after that i must do more:
      openssl req -new -x509 -days 1000 -nodes -out "/etc/ssl/certs/dovecot.pem" -keyout "/etc/ssl/private/dovecot.pem"

    • malisz182
      malisz182 Год назад

      thx :)

    • Thomas Logan
      Thomas Logan Год назад +1

      To configure dovecot to use SSL, sudo nano /etc/dovecot/conf.d/10-ssl.conf
      uncomment the following lines:
      ssl = yes
      ssl_cert =

  • Jonathan Engwall
    Jonathan Engwall Год назад

    Great video. Somehow I did not end up with a PEM.

  • Taha Elshenawy
    Taha Elshenawy Год назад

    Hello from Egypt >>>>> thank you very very much for this video
    (( and and what about and ))

    /etc/ssl/certs/dovecot.pem
    Ubuntu Linux 16.04.2 >>> he refused to create dovecot.pem

    • Jay Mitra
      Jay Mitra Год назад

      Hey can you help me> I can't seem to be Abel to generate the original openssl key . out. It says "unable to load private key" what do I do?

    • Taha Elshenawy
      Taha Elshenawy Год назад

      i used this to create .pem
      openssl req -new -x509 -days 1000 -nodes -out "/etc/dovecot/dovecot.pem" -keyout "/etc/dovecot/private/dovecot.pem"
      and restart dovecot
      but no way

  • Adnan Momin
    Adnan Momin Год назад

    great video it helped me allot thanks

  • Kalyan Halder
    Kalyan Halder 2 года назад

    can you please give me your webserver video link. so i can set up server first. I can not access my computer from outside of my router though i have a public ip. thanks.

  • Happy Sexy Flying Fish
    Happy Sexy Flying Fish 2 года назад

    I got everything up and running, no errors but I can't telnet into my mail server. Can anyone help me please?

  • Happy Sexy Flying Fish
    Happy Sexy Flying Fish 2 года назад

    I have not only subscribed but I'm now a huge fan of your channel Robert. This is by far the best tutorial for setting up Postfix and Dovecot on RU-clip. Believe me, I've tried them all. Thank-you Robert for sharing your knowledge. Kudos!

  • Ankit Badani
    Ankit Badani 2 года назад

    Thank you sir for this video. I screwed up many times during the installation and had to refer to multiple sources to get everything working. As you said, reading documentation helps a lot! Now I am going to tweak around with other settings and try setting up virtual domains.

  • Rachel Fowler
    Rachel Fowler 2 года назад

    Your link for the oddrandomthoughts doesn't work... .com? .net? .org?

  • Muhammad Rafiqul Islam
    Muhammad Rafiqul Islam 2 года назад

    what conf would be needed if this postfix is behind firewall?

  • 무한세일muhansale.com
    무한세일muhansale.com 2 года назад

    One of the most detailed tutorial I ever encountered. Thank you for all your efforts.

  • sokkoban
    sokkoban 2 года назад

    Thank you for this very helpful tutorial. Great job here! Keep going :)

  • Fajar Antera
    Fajar Antera 2 года назад

    Hello, i want to ask you a question
    what if i failed when i try to telnet on port 587?
    how can i fix this ?

  • charles wilson
    charles wilson 2 года назад

    I guess I do have one more question. if you have multiple hostnames, like I want my mail server and my regular webserver and FTP server running side by side, under /etc/hosts can I do it all in one swoop. like.
    127.0.0.01 Charles.com Charles
    127.0.0.01 mail.charles.com
    127.0.0.01 ftp.charles.com
    Or is that even possible or would I need 3 different servers.
    I'm sorry if my questions sound kinda out there, like I said before I am self teaching and you seem to be the best and dumbing down this stuff to my level.

    • Odd Random Thoughts
      Odd Random Thoughts  2 года назад

      Well +charles wilson here's where things can get a little tricky. If you are only using your services, ie. mail, ftp, website etc. as internal services then yes, you can add these hosts to your hosts file. The problem with this method is that you would have to edit the host file on every computer on the network you wanted to have access to the sites. It is best practice to run your own internal DNS server on the server side in order to make resolution of those addresses accessible to any computer on your network.
      For instance, if you are running both your own website and mail server that are both accessible from the external internet as well as your internal lan, then you would direct your domain's DNS to your external IP address. Then internally you would set your DNS server to handle the server IPs. Each address such as mail.charles.com or ftp.charles.com would be resolved by your internal dns server then forwarded to the proper server via port forwarding and NAT via your internal router.
      And don't forget you would also need to include all MX records etc for your mail server internally on your router as well.
      As far as needing 3 different servers... You could run all these services from the same server, but it isn't exactly best practice to do so. To increase security of each service, it's recommended to use a separate server for each service. Because it would really be bad to have your mail server hacked because of a weakness in your web server. Make sense? (A separate DMZ network is very important to help further secure your network, I have videos on this as well.) In other words, the less services you can have running per machine, the more secure each individual machine will be. This is where virtualization comes in, and will save you a lot of money, but that's a whole different ball game, but yet quite simple to set up and highly recommended.
      Hope this made sense and was helpful...again, thanks for watching!

  • charles wilson
    charles wilson 2 года назад

    Hey I love your tutorials, It breaks down all my readings to something I can see and work with!!! any chance do you know how to get your mail server registered through your ISP? also can you follow up with how to port in and out to access outside your home network. as well as actually getting logins for the server, or is it like any other server where you create a name on the server, like "passwd Charles" and I can login on outlook via Charles@"mymailserver.com". I am trying to self teach myself all the useful things lol.

    • charles wilson
      charles wilson 2 года назад

      that was perfect thank you for the rapid reply!

    • Odd Random Thoughts
      Odd Random Thoughts  2 года назад +1

      Hi Charles and thanks for watching. In order to get your mail server "registered" through your ISP you would need to have a static IP from them. Normally you can get static IP addresses by opting for a business account. Or some ISP's will give you one for a small additional charge each month on your bill. Once you have your static IP you would need to ask your ISP to add reverse DNS for that IP to resolve to the hostname you're using for the mail server.
      As far accessing your mail from outside your network, you will need to forward SMTP port 25 as well as the port or ports you are using to listen for mail. For example port 995 for POP3 SSL. You would do this in your port forwarding of your router. In some cases you may need to configure NAT and forwarded packets depending on the router you're using.
      To add a user to your mailserver you can simply execute sudo adduser charles It will prompt you for password and other information. Then you would set up your mail client using the login and password you created. Keep in mind you would also have to define the ports you were using to access the mail server.
      If this server is for something more than home use you may want to set up a special group with specific privileges on the server to handle other users. Hope this helps point you in the right direction.

  • Sol Johnston
    Sol Johnston 2 года назад

    Thank you for being so thorough!

  • alan aprianto
    alan aprianto 2 года назад

    do you have tutorial for connected roundcube with mail server?

  • slink2111
    slink2111 2 года назад

    for the certificate, can we just use
    $ sudo openssl req -new -x509 -days 365 -nodes -out /etc/ssl/certs/server.crt -keyout /etc/ssl/private/server.key
    to create the cert? Or we have to follow the whole procedure you describe?
    Thanks in advance

  • ZoneClass
    ZoneClass 2 года назад +1

    You are very awesome with this and a litle funny when you drink your coffe jeje maybe we all have to gift a coffe for you about the time you that dedicate as teacher. Thanks very much for your time.

  • xavi matuz
    xavi matuz 2 года назад

    A really nice step by step video

  • Juan Ruiz
    Juan Ruiz 2 года назад

    Configure my server just as you do in the video
    And when I configure thunderbird to send mails through my ip publishes that it is working well and the apache also does not send the mails and gives this error:
    An Error ocurred while sendinf mail. The mail server respond:
    4.3.5 Server configuration error.
    Please che the message recipient "yyyy@zzzzz.com" and try again.
    i have configure that:
    Server Name: mail.mydomain.com
    Port: 587
    User Name: myemail@mydomain.com
    Password Method: Normal Password
    Connection Security: STARTTLS
    if i send in Command Window one mail work propertly and check the destination and the email is there.
    If you can tell me why it does not send by SMTP and there are no emails in queue thank you, or anyone who follows this video that can help me, thanks

  • bogdanndamian
    bogdanndamian 2 года назад

    Thank you ! :D

  • Late Bloomer
    Late Bloomer 2 года назад

    Thanks Robert....This video was quite insightful....can you please suggest how I can go about using exim4 + dovecot + roundcube for setting up a mail server, also as I am a beginner it would be useful if you could pass on some reference links as I need to clear out my n/wking basics....cheers...!

  • VidoTda
    VidoTda 2 года назад +1

    Thank you for the informative video and for the effort adding all overlay comments! Subscribed!

  • Python C0de
    Python C0de 2 года назад

    How Create mail server with pgp encryption

  • Mihail Nikov
    Mihail Nikov 2 года назад +1

    If you can successfully sent emails but you cannot receive just commented out the line containing mailbox_command or simply run:
    sed -i "/mailbox_command/ s/^/# /" /etc/postfix/main.cf

    • Edenilson Alves
      Edenilson Alves 5 месяцев назад

      Hi friend, I followed the step by step of this video. But the file has no mailbox_command. I can send but I do not receive messages. In Yahoo, I get the following message: Recipient address rejected: User unknown in local recipient table

  • Juan Ruiz
    Juan Ruiz 2 года назад

    i have a questions?
    i have a domain name and IP public in my server. my Apache is run and i configure all in your video, as I can mail in a set Outlook to send and which is recibier and pop3 and smtp mails where users add what we did in your video, if you send me the answer thanks...
    great video...

  • Nguyen Huu Qui
    Nguyen Huu Qui 2 года назад

    thank you so much. I did like your tutorial and all is working fine. I just have a problem is sending to gmail, It shows a notification "Gmail couldn't verify that [domain name] actually sent this message (and not a spammer)". Can you help me figure it out? (Sorry about my english)

  • Steven Herlich
    Steven Herlich 2 года назад

    great video! congrats.

  • Anthony Johnson
    Anthony Johnson 2 года назад

    OMG Thank you man. I have been trying to set my mail server up for a while now. I can not tell you how much this has helped me. I still am having trouble with the mapping and ldap portion though

  • Il DiaVolo Iri
    Il DiaVolo Iri 2 года назад +1

    I Found this vedi higher than any other tutorial but i wonder if i want To config postfix on my Linux VPS that incloud ubuntu 14.04 to send emails bulk and mass ones to my suscribers how i will do that :D

  • Brian Jester
    Brian Jester 2 года назад

    Hello,
    Excellent video! I have watched this video last night to the end... I do have a question though regarding the email server...
    I have followed the following tutorial before watching this video.
    www.howtoforge.com/tutorial/perfect-server-ubuntu-16.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/
    Everything went well in that tutorial, but I seem to be having some issues. I think it's a *dns issue* but not sure. I'll appreciate all you can suggest to help me resolve my issue.
    After the install of postfix / dovecot, I was able to test send emails from my ubuntu server (ubuntu 16.04) and it went well (both sent and receive) from virtualbox guest vm. But I wanted to test send and receive from Thunderbird email client, (ubuntu desktop - Host machine) and at first, it was NOT working, but after I went into my domain hosting control panel (godaddy.com) and added my email address, then went into Thunderbird to set it up there as well, then it DID WORK. My question here though, is when I went back to my server in virtualbox vm to check my mail, I didn't get the email, but I did get it in Thunderbird, so am I supposed to get the test email I sent from Thunderbird in my ubuntu server as well? I type mail and it says no mail.
    Note: I am using my isp's public ip address to host my site and email (testing purposes only) I don't yet have a static ip address to call my own yet.
    Thank you in advance for your assistance!
    Brian

    • Brian Jester
      Brian Jester 2 года назад

      I am not going to go that route, it much less a hassle to have separate server's. It is also very cheap for hosting these days anyway.

    • Pasta Alfredo
      Pasta Alfredo 2 года назад

      Hello Brian, I've encountered the same problem (I think) as you. Everything works out just fine but when I enter my domain in a browser it says that the DNS-server can't be found. Do you by any clue know how to solve it? Because I've been sweating my balls off trying to solve it, but no matter how deep i dig in the interwebz i can't find a solution.

  • Randall Doss
    Randall Doss 2 года назад +1

    I got it running as you did, but how to actually send a message when completed.

    • Randall Doss
      Randall Doss 2 года назад +1

      Thanks

    • Odd Random Thoughts
      Odd Random Thoughts  2 года назад

      The easiest way is to use an email client such as outlook or thunderbird. Just enter in either your imap or pop3 server and your smtp server, ports, username/password just like you would for any other email account you have. Then you can use the client to send and receive mail through your server :)

  • Randall Doss
    Randall Doss 2 года назад +1

    Connection closed by foreign host

  • Mattias Graaf
    Mattias Graaf 2 года назад

    May I ask you something?
    If I have several websites on my linux server.
    How can I do to use the mail server for these different websites, setup it?
    So I can use it in case I make no any function that will send mail at the various websites, such as newsletters or registration with email activation, etc.?
    Take care, Robert!

  • Ashish Gaur
    Ashish Gaur 2 года назад +3

    hi sir thanks for this best tutorial available all over the internet first, sir i need your help, i have followed all the steps you have provided earlier and i got this working, now after successful experiment on it i have restarted this work again with the another real domain for send mails, but now on doing telnet i am getting "Connection closed by foreign host.' can you please suggest what is this issue and how i can fix it. please help

  • Martin Monsalvo
    Martin Monsalvo 2 года назад +1

    Thank you so much for putting together this and other of your videos. All of them are extremely useful. Postfix documentation is huge but it's worth reading.

  • princeofdenim
    princeofdenim 2 года назад

    Thank you for a good video, however on my screen when reconfigure postfix, you mentioned nothing about Procmail and if one needs to accept it or not, and what the differences or benefits of and of not selecting yes.

  • Ebraptus
    Ebraptus 2 года назад

    So what is the username and password I should use to login to my SMTP accounts? I have squirrel mail installed but I cant get it to login to any accounts

    • Mihail Nikov
      Mihail Nikov 2 года назад

      sudo useradd -m -s /sbin/nologin
      sudo passwd

  • gypsy enterprises
    gypsy enterprises 2 года назад +5

    I want to say thank you for a great video, well... I am only 3/4 of the way into it, butand I looked. what you consider "rambling", I consider: a better edjumacation than many classes I have been in.,,well... I learned alot. and thank you

  • Agunbiade Bolaji
    Agunbiade Bolaji 2 года назад

    hi i am having issues with the dovecot-common install, I don't get any prompts, i purged it, i reinstalled and when i tried a dpkg it says it is not instlled i am stuck please help

    • Agunbiade Bolaji
      Agunbiade Bolaji 2 года назад

      Did it bro, didnt work I gave up will try old school

    • Agunbiade Bolaji
      Agunbiade Bolaji 2 года назад

      I am going to uninstall it once more this time with the dependecies, purge it then install dovecot common which i have been doing, thanks alot

    • gypsy enterprises
      gypsy enterprises 2 года назад +1

      I had the same issue, maybe, when dovecot-common is installed "dovecot-core is installed by default. Try to purge dovecot-core, then install dovecot-common(is really core)... and I got the setup prompt.

  • OzCrossfire
    OzCrossfire 2 года назад +1

    Hi Robert Thank you for this video. You are so easy to listen to, for an Aussie. Sat through it twice, once to see if it met my needs and second to run through it step by step. Good job... thanks heaps

  • David Sims
    David Sims 2 года назад +1

    Hi Robert! I have been running Linux for a long time, but never before have I gotten a mailserver set up with most everything working. Your video has been invaluable!! One last detail that I am haveing trouble with is actually logging in via pop3... If I telnet to port 110 on the mail server it throws an auth error on Ubuntu 14.04 when I type the USER retrun and PASS return.... Any clues about that?? I set the "disable_plaintext_auth = no" variable, but still no joy....

  • The Hackintosh Shop
    The Hackintosh Shop 2 года назад

    i have followed your tutorial i have setup with my domain so i went to mxtoolbox and ran the email server option and gave me some error message( SMTP Banner Check Reverse DNS does not match SMTP Banner) (451 4.3.5 Server configuration error) can you please help me and how do i add account to my email server and set up on the client side sorry im new to linux thanks awsome video

  • Binu NG
    Binu NG 2 года назад

    thanks a lot

  • Sandesh Avhad
    Sandesh Avhad 2 года назад

    I can send a mail but i don't know how to receive an e-mail...Please help.

  • KroceBow
    KroceBow 2 года назад +2

    Great video, wish you could make a follow up video with more stuff, like adding aliases and a webmail interface...!

  • Abhineet Jain
    Abhineet Jain 2 года назад +1

    thanks a lot for this video...

  • Chris Aguilar
    Chris Aguilar 3 года назад +1

    Hi Robert, thanks alot
    I have problem on my email, every time I send email to yahoo and gmail it goes to spam folder.
    my ip is not blacklisted (btw)

    • Chris Aguilar
      Chris Aguilar 2 года назад +1

      i didn't resolve this issue actually,
      here what i did
      set the rdns (reverse lookup)
      set SPF
      set OpenDkim
      set OpenDmarc
      then, I read some article that you must coordinate with your ISP, but my problem is i hosted my sever on the cloud (azure)
      My work around here is just unmarked the email to 'not a spam'

    • Everything possible
      Everything possible 2 года назад

      +Chris Aguilar
      i have same problem.how i can change these spam message to yahoo or gmail inbox

  • Pheakdey Phat
    Pheakdey Phat 3 года назад

    I am PK from Cambodia. Thanks you so much for sharing this video with us!

  • NIRBHAY PHERWANI
    NIRBHAY PHERWANI 3 года назад +1

    on using the telnet command i get an error unable to connect to remote host .. what should i do?