Build Your Own SMTP Server Using aaPanel, Contabo VPS and Cloudflare | Send 36K Emails/Day

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys today I will show you how to set up your own email server using a panel so that you can send 25 emails per minute or 36 000 emails per day here is the process first thing you need to do is to register a domain name you can use namecheap or your favorite domain register next you need to sign up with Constable Cloud VPS Constable Cloud VPS my default has an open port 25 so that you can send emails next we will install a panel on Contempo Cloud VPS and then set up a text Dynamics Records On cloudflare and finally we need to test our email for deliverability so let's get started first thing you need to do is to register a domain name so to register a domain name just go to namecheap and type in your domain name here right instance webshanks.io and just click search and just add to cart here and you will now register your domain name and next we will go to contabo go to Cloud VPS and select your plan you can start with vpss or vpsm let's select VPS m and if you want to try out you can choose one month but you need to pay for one time set of fee if you choose 12 months your one-time setup fee is waived and if you choose region choose the closest one to you or your audience for instance if you have audience Union United Kingdom choose United Kingdom for storage if you want larger storage you can choose the default one which is 400 gigabyte and if you want faster SSD and performance you can choose the nvme which is just 100 and for image choose Ubuntu 20.04 because AA panel does not support 22.04 yet and will not install commercial control panels like cpanel or flask we'll just choose to Ubuntu 20.04 and of course you need to generate a password because we will need to connect to our to our server using the screenshots right here so copy this one store this in a safe place I'll just leave number six and number seven assists and you can click next fill in your necessary details and proceed to payment method and you confirmation consumable will then set up your VPS within three hours after three hours you will receive a notification in your email that your server is ready so once your server is ready you can log into consabo let's login go to VPS control and the status of your server is running now we will connect to our server via SSH so I'd like to use this SSH client called bitvase it's actually free and you can just download this one once you have downloaded this run it from your computer your host here is your IP server IP address and Port should be 22. just click login just click accept and Save enter the password you have generated earlier and click ok now click this new terminal console and we are now connected to our server via SSH so this is your command line we will use command line to install a panel so let's go to our command we'll need to visit this website so let's go to the command but first we need to update our server just copy this one go to your command line interface and just uh just right click and it will automatically paste click enter okay great now we need to install a new panel using this command so right click again and click enter enter y enter yes okay now we have successfully installed a panel now we need to access our e panel using this address will not be using IP V6 just click advanced click accept the risk and continue and for your account you will use this username and password click login now we are here on our a panel dashboard but first we need to install necessary software packages I'll just select the latest version of Nyx for MySQL I'll choose 8.0 and PHP 8.0 and phpmy admin 5.0 and do not forget to check these two DNS server and mail server 4. and just click one click here and we will wait troubleshooting by the way in case your installation of links lags like this you just close this one go to restart and just click restart panel and click confirm let's check if all the software packages have been installed it's done so next we will install redis to do that just go to App Store and search for Radice and we'll Install Reddit just click install so now that we have installed redis just go to settings go to Performance Tuning and we will add a password Here I'll just paste the password that I have generated and just click save so now we will search the mail server we have installed this so just click setting just click confirm and we will add a hostname just click repair so for hostname we can just use mail.webshanks.store and just click ok and just click submit and next before we add a domain we will need to register for a free account on cloudflare let's go to cloudflare I have already created an account I'll just click login and we will add aside just click add site here we'll add web shanks click continue scroll down choose free and click continue next we will add these name servers to our domain register I have registered a domain on namecheap I'll just go to namecheap okay I am on my name sheet I'll just go to dashboard and I'll choose the domain I want to manage just click manage and we will use a custom DNS let's go back to cloudflare let's just copy this name server here paste it here the second name server paste it here and just click save now it will take at least 24 hours to 48 hours to propagate okay our DNS has been propagated and we are now using Cloud Player let's go to DNS first I'll just delete this one delete and we will add 4A records we'll add in a record for a record that will be double w and rip is our server IP address this one and I'll disable this we will just use DNS only click save we will disable proxy and then we will add our hostname that will be mail click save add another a record for our host name with ww and click save okay great we will now wait again for just a few hours to propagate the DNS the a records rather okay let's add our domain in a panel the webshops store our error record will be also the web Shanks that store and just click submit okay great next we will add an SSL just go to add SSO and choose cloudflare we'll add our cloudflare API go back to cloudflare click overview scroll down and click get your API token and we will use Global API key click View and just click View just copy this one and add it your clarify email paste your API key and click save click web chance the store this is our domain and just click apply okay great we have successfully added an SSL forward domain and just click save and next we will add MX record and text records so just click this one we'll add an MX record this will be our value let's copy this one and let's go back to profile and we'll choose a website here click DNS and we'll add our MX record choose MX record use add and we'll just choose Auto and we'll just priority equals 10. click save Vault you will select text I'll just copy this one add text record we'll use that and our content will be this one in case this doesn't work I have a solution okay I'll just scroll down here and we will use this instead so we need to replace IPv6 with our IPv6 server and ipv4 with our ipv4 IP address let's go back to our contambo go for reverse DNS management and we'll use our IPA address this is ipv4 we'll put it here as well as our IPv6 and just click save and don't forget to add your video record s DNS be sure it is pointed to our domain both ipv4 and IPv6 let's go back to cloudflare and let's add another text record that will be text uh default domain key text record the main key copy this one save another text record a mark and click copy and Save now we have completely added our a records MX record and text records now we'll just wait again for the DNS to propagate and we'll just click this already set and verify domain name resolution okay this correction I forgot the V here this one I forgot to copy the B so this one is the right dmac value so let's go back okay let's click already set okay great we have successfully added our DNS records next we will add a user just click user and you can also use this protocols to configure a Thunderbird and other email client but first we'll add user let's add a Sony and it will be Sony I'll just add a email password and you can also adjust on mailbox base click submit now we have our mailbox let's close this one now we need to send a test email to Gmail and I'll be using an email template I'll copy this one as our subject and this is our body I'll just click Send let's go to Gmail okay great we have successfully received our email from a panel to Gmail now let's try to reply I will be there okay let's just talk okay let's send let's try if we have received the supply let's go to inbox let's refresh finally we have received our reply here from Gmail so now we have a functional email server that can send and receive email messages so next we'll try to configure our Thunderbird okay let's just close this one and let's go to the main list go to user and we will add our account on a Thunderbird so let's just open Thunderbird so let's go to account settings let's add a mail account let's say Tony Stark our email is Sony adoptions.store and the password is your email password click continue and this is our available configurations you can choose IMAP or POP3 our incoming is IMAP and our outgoing is SMTP and just click done okay great and let's just click finish and we as you can see our inbox here has a reply from Gmail next we will test our email using mail gesture let's go to mail tester but before testing our email for spamminess we need to make sure that we will get a 10 over 10 score we'll go back to our a panel and we will use a subdomain rather than an IP so let's just close this one go to settings scroll down we'll use a domain for instance subdomain that will be CP web checks that store and we'll go back to cloudflare let's add an a record for this that will be IP or IP address and just click save add another a record for double w ow disable this one and click save let's go back to a panel and we'll just click save to access our a panel using our domain that will be cp.w.store at Port 7800 and this code here right here that is found in our command line interface this one and be sure to use this username same username and same password let's just plug in so don't for get to secure this credentials right here because this is very important now let's try to send an email to our mail tester recipient this one will copy this one and we'll send let's use our email template as usual our subject and just click Send now let's check our score okay we have 9 over 10 let's try to make it 10 over 10. let's check this negative one okay I have found a solution why our dkim is not fully authenticated and it results to negative one because of permission issues we need to change permission for this file to 644 instead of 640 and we'll we'll restart rsbombdi so we're already did that we change our permission to 644 for this file and we have restarted rsbombdi now let's try to send a test email to mail tester okay let's copy this one and we'll send a new message we'll use our email template as usual and let's just click Send okay let's go back to mail tester and let's check our score okay finally we have achieved 10 over 10 score we have a fixed our dkm this one our dkm is now fully authenticated and we have 10 over 10 square so that's it if you have any questions about our tutorial just comment them on this comment section below and I have put all the links on all the guides on the description so that you can follow if this video help you in any way please like this video And subscribe to my channel so thank you all for watching and I'll see you on my next video
Info
Channel: Web Shanks
Views: 15,473
Rating: undefined out of 5
Keywords: SMTPServer, build a free SMTP server, EmailDelivery, mass email, cold email, free email server, contabo email server, Online Marketing, email marketing, aapanel, contabo vps, cloudflare, email server tutorial, setup email on vps, free email hosting, aapanel mailserver, self-hosted email server, self-hosted SMTP server, open port 25
Id: kwjWwn7cWbA
Channel Id: undefined
Length: 27min 20sec (1640 seconds)
Published: Fri Aug 18 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.