In this video, I show you how to set up an email server on Ubuntu using Postfix (for the SMTP server), and Dovecot (for the IMAP server). I also show how to configure Postfix to end outgoing emails through a relay service (Brevo) in order to bypass the block on outbound port 25, which many ISPs and VPS providers (including Google Cloud) implement these days to cut down on spam. I demonstrate this on a Google Cloud instance, which I have demonstrated setting up a Wordpress site on in my two previous videos. This video is part of a larger series covering a web/email server setup on Google Cloud. Link to Part 2 (Protecting Your Email Server From Spam): https://youtu.be/U4ioRIb41AI Link to Web Server Setup: https://youtu.be/B0vY8Z8vvqo Link to Full Playlist: https://www.youtube.com/playlist?list=PL-_6GrCOfXJrFqihTsGAtrVm6fQq4eO5O Prerequisites: 1. A Linux server 2. A domain name Chapters: 0:00 Introduction 1:10 Set FQDN 2:27 Install Postfix 4:47 Open Ports 8:47 Set MX and PTR Records 11:47 Set up SMTP Relay with Brevo 17:18 Send Test Email 18:29 Enable Postfix Submission Service 20:31 Configure SSL Certificate and Other Options in Postfix 24:01 Create Non-administrative User For Sending & Receiving Email 24:29 Configure Aliases 25:22 Install and Configure Dovecot 38:44 Configure Desktop Email Client and Send Test Email Links: LinuxBabe's guide to building an email server on Ubuntu: https://www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntu Commands: https://pastebin.drewhowdentech.com/28VZ-AE2t2I/commands.txt Join this channel to get access to perks: https://www.youtube.com/drewhowdentech/join

UbuntuMail ServerPostfixDovecotSMTPIMAPGoogle CloudGoogle Cloud PlatformGCPBrevoSMTP Relay