Monday, February 14, 2022

How To Set Up a Mail Server with Modoboa on Ubuntu 20.04

 in This Tutorial you will learn " How install Mail Server with Modoboa on Ubuntu 20.04"
Modoboa is a free & open-source mail server written in Python. Homepage - https://modoboa.org/en/
_________________________________________________________________________________________
Server - Os:  Ubuntu 20.04.3 LTS 64Bit        | IP -192.168.1.80            |Hostname -  mail.yourdomain.com
_________________________________________________________________________________________
lsb_release -d ; hostname -I ; hostname
apt-get install python3-virtualenv python3-pip git curl gnupg2 -y
git clone https://github.com/modoboa/modoboa-installer
chmod -R 777 modoboa-installer
cd modoboa-installer
python3 ./run.py --stop-after-configfile-check yourdomain.com
nano installer.cfg
admin@yourdomain.com

python3 ./run.py --interactive yourdomain.com
nano /etc/nginx/nginx.conf
server_names_hash_bucket_size 64;
systemctl restart nginx ; systemctl status nginx

https://mail.yourdomain.com (admin:password)
_________________________________________________________________________________________

1 comment: