Simple Mail Server Setup in Ubuntu 16 04 | Bangla Tutorial

Опубликовано: 24 Июль 2026
на канале: Aman Juman
4,606
31

You may ignore Nginx, MariaDB installation as I didn't finish webmail installation in this video. So just use the only postfix related command if you use the simple mail server.

sudo hostnamectl set-hostname you-domain.name
MX record @ mail.your-domain.name
A - mail.your-domain.name Server-IP
dig -x ServerIP
sudo apt-get update
sudo apt-get install postfix -y
sudo netstat -lnpt
echo "test email" | sendmail [email protected]
sudo apt-get install mailutils
mail [email protected]
(Clt+ D ) when Finish

Reference: https://www.linuxbabe.com/mail-server...

Sorry as I have not completed the whole tutorial as I got a problem during record. But this is enough to setup a mail server.