sudo install fail2ban
sudo install ufw
sudu ufw default deny incomoing
sudo ufw default allow outgoins
sudo ufw allow 22,25,80,110,143,443,465,587,993,995,4190/tcp
sudo ufw enable
sudo apt install curl git -y
su
curl -sSL https://get.docker.com/ | CHANNEL=stable sh
systemctl enable --now docker
curl -sSL https://github.com/docker/compose/releases/download/v$(curl -Ls https://www.servercow.de/docker-compose/latest)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
su
cd /opt
git clone https://github.com/mailcow/mailcow-dockerized
cd mailcow-dockerized
./generate_config.sh
docker-compose pull
docker-compose up -d
@priyank2006
Hello I suggest you hetzner in my case the ip of the vps they gave me had problem with outlook but they supported me to get the ips withlisted, care you will not beable to send emails cause their vps ports are limited for outgoing emails until the first bill (1month) I'm still a ovh client, hetzner is cheaper and the support is waayy better even the managment of the vps is sooo much better, I'm looking to migrate there with all my vps ! (maybe try to ask them if they can unlock your ports before the month if you really need it)
Good luck :) !