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

Share
Embed
  • Published on Oct 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.
  • Howto & StyleHowto & Style

Comments • 164

  • bhagat sarma
    bhagat sarma Month ago

    This video helped me a lot for configure my email server that i rented from www.datasoft.ws
    Please upload more videos.

  • Karl Hermann
    Karl Hermann Month ago

    Thanks very useful tutorial but I wish to know how I can a mail from an account to another. please its pretty urgent

  • Mickelodian Surname
    Mickelodian Surname 3 months ago

    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 5 months ago

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

  • Steven Salter
    Steven Salter 6 months ago

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

  • Adam Ishak
    Adam Ishak 7 months ago

    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 7 months ago

    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 7 months ago

    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 8 months ago

    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 8 months ago

    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 9 months ago

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

    • Mat Taha
      Mat Taha 9 months ago

      Connection closed by foreign host.

  • Alen S
    Alen S 9 months ago

    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 10 months ago

    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 11 months ago

    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 Year ago

    SEWDOO

  • Search Sky
    Search Sky Year ago

    Sudew et-see

  • Bong Aquino
    Bong Aquino Year ago

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

  • lane smith
    lane smith Year ago

    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 Year ago

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

  • Bai'atur Ridhwana

    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 Year ago

    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 Year ago

    I dont get the popup at 39:13

  • what on earth
    what on earth Year ago

    at 15:25 do you mean the default gateway?

  • Manoj Kumar Maharana

    awesome it works for me

  • Toran Sharma
    Toran Sharma Year ago +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 Year ago +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 4 months ago

      hamza Ahmed same here, did you got that fixed?

  • Mano b
    Mano b Year ago

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

  • siphokeith ncube
    siphokeith ncube Year ago

    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 Year ago

    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 Year ago +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 Year ago

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

    • Toran Sharma
      Toran Sharma Year ago +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 Year ago

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

    • Reef2View
      Reef2View Year ago

      Issue resolved. Thanks!

  • Stoyko Stanev
    Stoyko Stanev Year ago

    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 Year ago

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

  • Technical Techs
    Technical Techs Year ago

    Good video with proper commands and configuration files explained.. keep it up ..

  • Duhckey
    Duhckey Year ago

    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 Year ago

    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 Year ago

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

  • JANE AI MALL
    JANE AI MALL Year ago

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

  • Kishan Joshi
    Kishan Joshi Year ago

    how do you record your audio its fantastic thank you

  • NicholasPOGM
    NicholasPOGM Year ago

    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 Year ago

      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 Year ago

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

  • ftrtech
    ftrtech Year ago

    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 Year ago

    How much of your 14.04 videos are relavant to 16.04?

  • steve h
    steve h Year ago

    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 Year ago

    not sending emails, helpome

  • abdulkadir hadrami

    incredible video... I got problem 49:03 . when I telnet mail.example.com 110 .it says connection closed by foreign host instead of +ok dovecot (ubuntu) ready . plz help me to solve this issue. thanks

  • Natalia lutjens galvez

    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.

    • Ante Klinčić
      Ante Klinčić Month ago

      My solution:
      If you didn't get prompted to generate a self-signed certificate when installing dovecot-common, you need to generate those certificates yourself and then uncomment ssl_cert and ssl_key inside /etc/dovecot/conf.d/10-ssl.conf. You also need to change ssl = no to ssl = yes. If those files are uncommented inside 10-ssl.conf then that is your problem.
      You can use let's encrypt to generate those certificates and once they are generated you must point ssl_cert and ssl_key to the location of those certificates (that will be /etc/letsencrypt/live/mail.example.com/....
      Here are detailed instructions (first just make sure you install apache because it's needed for let's encrypt) and then just follow the part where you make those certificates with let's encrypt.
      www.exratione.com/2019/02/a-mailserver-on-ubuntu-18-04-postfix-dovecot-mysql/
      If you encounter any problems I can help.

    • Michael Hornback
      Michael Hornback 8 months ago

      im guessing you never fixed it

    • Mat Taha
      Mat Taha 9 months ago

      did u get any soution ?

  • D P
    D P 2 years ago

    how to use courier imap and coirier pop?

  • Gianni Alagna
    Gianni Alagna 2 years ago +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 Year ago +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 Year ago

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

  • vakhtang khavtasi
    vakhtang khavtasi 2 years ago

    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 2 years ago

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

  • harnek singh
    harnek singh 2 years ago

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

  • daniel4567v3
    daniel4567v3 2 years ago

    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 2 years ago +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 Year ago

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

    • Thomas Logan
      Thomas Logan Year ago +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 2 years ago

      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 2 years ago

    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 Year ago +1

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

    • malisz182
      malisz182 Year ago +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 Year ago

      thx :)

    • Thomas Logan
      Thomas Logan Year ago +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 2 years ago

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

  • Taha Elshenawy
    Taha Elshenawy 2 years ago

    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 2 years ago

      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 2 years ago

      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 2 years ago

    great video it helped me allot thanks

  • Kalyan Halder
    Kalyan Halder 2 years ago

    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

    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

    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 years ago

    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 years ago

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

  • Muhammad Rafiqul Islam

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

  • Sam Hwang
    Sam Hwang 2 years ago

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

  • sokkoban
    sokkoban 2 years ago

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

  • Fajar Antera
    Fajar Antera 2 years ago

    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 years ago

    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 years ago

      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 years ago

    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 years ago

      that was perfect thank you for the rapid reply!

    • Odd Random Thoughts
      Odd Random Thoughts  2 years ago +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 years ago

    Thank you for being so thorough!

  • alan aprianto
    alan aprianto 2 years ago

    do you have tutorial for connected roundcube with mail server?

  • slink2111
    slink2111 2 years ago

    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 years ago +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 years ago

    A really nice step by step video

  • Juan Ruiz
    Juan Ruiz 2 years ago

    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 years ago

    Thank you ! :D

  • Late Bloomer
    Late Bloomer 2 years ago

    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 years ago +1

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

  • Python C0de
    Python C0de 2 years ago

    How Create mail server with pgp encryption

  • Mihail Nikov
    Mihail Nikov 2 years ago +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 8 months ago

      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 years ago

    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 years ago

    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 years ago

    great video! congrats.

  • Anthony Johnson
    Anthony Johnson 2 years ago

    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 years ago +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 years ago

    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 years ago

      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 years ago

      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 years ago +1

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

    • Randall Doss
      Randall Doss 2 years ago +1

      Thanks

    • Odd Random Thoughts
      Odd Random Thoughts  2 years ago

      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 years ago +1

    Connection closed by foreign host

  • Mattias Graaf
    Mattias Graaf 3 years ago

    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 3 years ago +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 3 years ago +2

    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 3 years ago

    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 3 years ago

    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 years ago

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

  • gypsy enterprises
    gypsy enterprises 3 years ago +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 3 years ago

    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 3 years ago

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

    • Agunbiade Bolaji
      Agunbiade Bolaji 3 years ago

      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 3 years ago +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 3 years ago +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 3 years ago +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 3 years ago

    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 3 years ago

    thanks a lot

  • Sandesh Avhad
    Sandesh Avhad 3 years ago

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

  • KroceBow
    KroceBow 3 years ago +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 3 years ago +1

    thanks a lot for this video...