hi friends in this video we will see how to build your own mail server using your own VPS machine on digital ocean and webman web hosting manager so if you're ready let's start together in order to follow up with me in this course you need two main things a digital ocean account and a domain name because you are going to create our VPS machine on digital ocean if you don't want to follow up you can just watch the course and understand the concept so you can bu your server later on let's start by creating a new droplet and installing virtual men on ionto 18.0 let's start by creating a new droplet here just select ionto and let's go down I select this configuration it's okay it's enough and select a region and go down let's give it a name as an example vman and click create now now let's wait a little bit for the droplet to be created it may take several seconds all right so here we are this is the machine created and this is the IP address let's copy the IP address and we have to access it using puty using S protocol if you remember we have to go to my email and check my credentials so let's now open boy and paste the IP here and click open yes and let's now login using the root account and here is the password in my email just past it it will ask you to reset the password immediately just enter the current password again and enter your new password and retype it nothing hard here it's very simple operation now to install virtual men also it's very very simple just execute this command line here to get the installation files from the virtual men website as I mentioned in the introduction this is an open source software it's totally free and it has a professional version if you want about $6 per month but now we're going to go with the free version it's enough to manage our mail server let's get this and now let's run the installation script just run sudu and give the install script and run it it will say yes why and continue it will tell you to enter a fully qualified domain name it's a prerequisite let's enter it I will say ven. my domain name I will go to GoDaddy here I have a domain I purchase before it's just just for testing it's newx web.net just enter here newx web.net and run the installation it will start downloading and installing virtual men on my ionto server I think the installation process is very simple it's just a bunch of comments I will paste these comments in the description of this lecture you can get it and go with your installation in your own environment now let's pause the video and I will come back when it's finished all right awesome the installation succeeded and everything is fine you can see it says installation completed and to configure the server you can access it through the host name or my domain name or using the IP address so let's test this I will get the IP address again and in the browser let's run https and pass the IP address and now let's use port 10,000 I think it's 10,000 yes 10,000 let's run it and it says SL warning it's okay we'll fix this later and very nice so this webman and login screen to our server all right now let's do some basic configuration to our server the first thing I will do is to map my domain name so I can access my server using my domain and not my IP address so let's go back to my GoDaddy and let's find my domain here and then let's go to manage my DNS Zone we did that before let's go to recap okay now in the a value add just edit this and remove the park remove the point to and get your IP address here and simply paste it and save this code and give your DNS some time just to migrate Rec codes and update the values all right so let's test our configuration I past my domain name here and let's run again and very nice now we can access our web server using my domain name it's ux web.net of course your domain name will be different from me it's my testing domain name okay now let's log in to log in you use the root credentials that you entered when we installed our server for the first time let's log in and the first time you log in it it will ask you for a post installation wizard it's some basic configuration you have to set to your server so let's go with this wizard click on next and the first thing it asks you about some options to optimize your performance like it asks do you want to preload virtual men libraries if yes it will be faster but it will use more memory I will use this for me because I have about 1 GB or 2 GB of memory it's enough for me if your server is somehow about 500 megab or you don't have enough resources you can turn both off if you want I will keep those yes for me for high performance and click on next now the second option is if you want to enable the virus scanning it's very important to enable virus scanning if you are using your mail server so even if it uses about 600 megabytes of memory it's good to enable this click on next also the spam assistant is very important it's a spam filter for your mail server so also I will enable this and click on next maybe if you are using your web server for hosting only websites maybe you will not use spam filter but since we are going to use our mail server and create emails and send and receive emails it's important it's very important to enable the spam filter here you can enable a or disabl database servers here we have two types of servers we have marad DB MySQL server and post agree SQL Server so if you are not willing to install any websites any databases on this web server you can turn both off if you are going to use only for emails only as a maale server you can turn those off but if you want to install a certain website maybe like WordPress maybe your PHP website maybe other website you have to enable these types of databases if you are using both for me I will install only WordPress for testing later on in this course so I will enable only my SQL Server I will not use post degree SQL so you can turn it off click on next and here you can set your MySQL password this is the password let's copy it and save it in a notepad just to use it later on this is the my SQL password all right save on the desktop pass all right let's remize and continue I think it's somehow simple now it will ask you about some configuration about the size of your database for me I will use a medium system because I'm going to install only one website for testing only if this as I told you before if this is a web server where you will install multiple websites maybe High processing websites you will need a huge system or a large it's up to you it's up to your configuration here we are going to use a mail server and a small website so medium is enough click on next and here you can set the DNS configuration I will keep everything as it is my DNS zone is in GoDaddy so I will not use this very much I will skip the check all right click on next I will not use the internal DNS Zone and here is a very important option it asks you to store your passwords in a hashed form or a plain text it's very recommended to use hashed passwords only so your passwords will be secured especially if you are using mail boxes and emails it is strongly recommended to use hashed passwords all right so we are completed let's let's click on next I think it's an easy operation just choose the correct options for your situation now it will ask you to recheck your configuration for any errors or so let's recheck and refresh configuration and it will check everything and tell you if there is any problem I hope everything is fine okay it's updating very nice so everything is okay and my server Now is working we ready to create an account mailboxes and test everything and much more so let's start by creating a virtual server you can think of a virtual server as an account in C panel you have to create a virtual server give a domain name and then inside that virtual server you can create accounts mailboxes and so on so simply click on create virtual server and here we are enter your domain name I will use the same domain name of my server you can use another one if you want but let's now keep this testing domain name so we can continue set a description if you want and let's set the administrative password for this account or for this virtual server you can select a server configuration template we have default settings here you can create a template and use them when you create virtual servers I will not go on details now and there is the default plan if you are using multiple plans also if you are selling accounts or so on now you can set a custom username here or keep it automatic I will use one a custom one I will name it ux and now here in the advanced option section you can enter the contact email address or it will use the main administrator mailbox you can set a group name you can set a prefix for the mail usernames I will keep everything as automatic it's better now go to enable features here you can set up aana Zone you can set up ANL website too for this virtual server just take know that this virtual server is not only for mailing you can host on websites databases besides your mailboxes so we have a lot of features that we are not concerned now in my course just now click on create server to continue creating our virtual server let's wait for several seconds and very nice now we have a virtual server you can see now we are inside the virtual server newx web.net this is the domain name of my virtual server so now we can create email boxes simply to do this go to edit users and let's create a new email address now simply click add a user to This Server so the add user wizard will open let's enter an email address I will say as an example support the real name is is maybe my name simply enter a password and we can set a recovery password if you want let's go to the second option you can select a home directory for this email address let's keep it automatic we have the email settings you can set this primary email address to enabled you can add additional email addresses also you can check this email for spam and viruses it's somehow obvious options you can set the mail forwarding settings you can forward your mail inbox to other emails if you want also it's not my concern for now I want to configure my mail server to use it as my own mailbox here you can set other permissions like access to web directories access to databases so this user can access certain databases on your server or web directories Okay click create now it's very simple and here we are we have a new email address support newx web.net very nice as you can see here we have a login access email only we don't need FTP and S and all other stuff related to websites and on my server very nice let's test our email let's send and receive using ground Cube web M client but you have to know that by default round Cube will not be installed on this virtual men server or webmin server so to do this to install round the cube simply we go to install scripts in the left pane here and in the available scripts tab or section click on round the cube and select the latest version also you can install squirrel mail if you want but I prefer round Cube so just check it and show install options and now click on install now very simple the pros will the pros is automated and everything will be done automatically just wait a little bit very nice so let's go let's go back to Virtual server details and now we have round cube is installed now to open round Cube let's go again to in install scripts and you will find in the install scripts section that we have installed round the cube let's open it and you can find the installed URL which is http my domain name or your domain name SLR Cube as you can see the database is used here exore round Cube and the public directory or the installation directory all right so to access round the cube now just copy this URL let's copy it and paste it here so here we are in round Cube login page I will enter my email which is support at ux web.net and enter your password or my password and let's log in now let's compose an email click compose and let's enter my email address and test email this is a test email from web men let's now try to send this email click on send oops and we have an error it says SMTP error 454 authentication failed if you face this error when you are using ground cube with webman I will show you a small hot fix for this simply let's go back to our server and go to file manager and let's go to round Cube then config and we have the configuration do inc. PHP file just right click go to edit and edit this file and here we have two parameters the username and the password just remove this in inut and keep it as empty to use the credentials we are logging in with save this close and let's go back to round the cube and now let's send this email and very nice the message was sent successfully so this was a little tip if you face this authentication problem in round cube with web Min okay so we send the email let's now go to my inbox to see if this email was received successfully so let's open Gmail and open my inbox and it may be in the spam folder it's okay because we didn't configure SPF and D cry codes okay open the spam and here we are this support newx web.net let's open it and here is my email sent from my own mail server hi friends congratulations on building your own mail server so the first thing you have to do a new server let's go and click edit virtual server here we are let's go now down and click on enabled features and be sure to check Apache SSL website enabled just check it and click save virtual server very simple till now now your server will refresh just wait a little bit now from the server configuration this is the second step go to manage SSL certificate this option will not appear except if you enable a patch SSL in the first step so let's click on this and now we have multiple options you can create a signing request for a certain Authority you can create a self- sign certificate which is not recommended except if you are testing you can update a certificate in the key if you have a ready one you can choose a certain certificate Authority now we need let's encrypt because we need a free certificate you can see these are the domains associated with this virtual server this will be encrypted with SSL certificate you can set also the r well will be automatic or you can set a period where you want to enable manual renewal now click on request certificate it let's wait a little bit and awesome as you can see now everything is okay and we have a new certificate for our domain name so let's go back to Virtual server summary and let's now try to access our website again using https with a new certificate I will open now Firefox browser and let's try to access my server again and very nice as you can see now our server is secured with a full SSL or trusted SSL certificate from let's encrypt you can see this here very nice I hope this lecture was helpful if you need any help if you face any error while doing anything configuring your server please contact me and I'll be with you anytime all right now I will show you how to connect to your mail server through Outlook I know I already showed you that in the C panel section in the mail box section but I like every time to show you everything so if we Face a problem to understand and to know how we resolve it so simply let's go down here and go to email settings and go to mail client configuration you can see here we can configure Auto configuration I will say yes enable it and click on Save very nice let's wait and here we are now the main client configuration is enabled I will open Outlook 2016 and try to connect to my mail server so let's go to file here and Outlook and click add account let's enter my name and my email address x.net and simply enter your password and I click on next let's wait and awesome as you can see everything was automated just enter email and password and everything will be configured automatically click now and finish and now here is my account we can work normally with Outlook as you can see we have an email sent by my Gmail account so here how you can enable auto configuration in your web men or your virtual men server and connect through Outlook awesome congratulations on finishing this awesome video now you learned how you can build your own mail server using your own VPS machine and webman web hosting manager system I hope you got some benefit and the course was helpful for you please if you need any help comment below or contact me directly on my website or my Facebook page
How to Build SMTP Mail Server and Send Unlimited Emails - With Digital Ocean and Webmin Looking for a way to send emails from your own server? Do you want to know how to configure your server to be ready as an email server (relay server)? In this Video Course, You will learn how to set up your own SMTP mail server on digital Ocean VPS using Ubuntu and Webmin Web hosting manager. For best affordable Domain & Hosting: Digital Ocean $200 Coupon : digitalocean.pxf.io/jrRxbP Go With Bluehost : bluehost.sjv.io/y2ZvO2 Support US: suryaitcare.com Facebook: facebook.com/suryaitcare Twitter: twitter.com/SuryaITCare1 Instagram: instagram.com/suryaitcare/ Medium: medium.com/@suryaitcare Quora: suryaitcaresspace.quora.com/?ch=10&oid=4023191&share=396067ef&srid=hy2RK9&target_type=tribe Pintrest: pinterest.com/suryaitcare/ Join Our Telegram: t.me/+nVJCdrQM1t40NTRl FB group: facebook.com/groups/1275142406421452/ Digital Ocean $200 Coupon : digitalocean.pxf.io/jrRxbP Go With Bluehost : bluehost.sjv.io/y2ZvO2 #webhosting #mailserver #smtp #suryaitcare