Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Install MailCow Server via Docker ###
- ## Set DNS Settings on Domain ##
- https://mailcow.github.io/mailcow-dockerized-docs/prerequisite-dns/
- ## Test Settings ##
- https://mxtoolbox.com/SuperTool.aspx
- ## Install Packeges ##
- apt install curl apt install netstat apt install git
- ## Check Ports on System ##
- netstat -tulpn | grep -E -w '25|80|110|143|443|465|587|993|995|4190'
- netstat -pulten
- ## Install Docker ##
- apt install docker.io
- systemctl enable docker.service
- systemctl start docker.service
- ## Install Docker-Compose ##
- curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- ## check umask ##
- umask
- //0022 # <- Verify it is 0022
- ## get mailcow ##
- cd /opt git clone
- https://github.com/mailcow/mailcow-dockerized cd mailcow-dockerized
- ## Generate a configuration file ##
- ./generate_config.sh
- Timezone: Europe/Berlin
- ## open mailcow.comnf and adjust if necessary ##
- nano mailcow.conf
- ## pull the images and run the compose file ##
- docker-compose pull docker-compose up -d
Add Comment
Please, Sign In to add comment