vps

Build your own post office Docker to quickly install Poste.io mail server

Build your own post office Docker to quickly install Poste.io mail server

Before starting the installation, it is recommended that you set up some DNS first. We need to set up a few records like this (please replace 5566.es below with your own domain name):

5566.es A Any_IP
mx.5566.es A 88.88.88.88
qing.su MX mx.qing.su. 10
mail.5566.es CNAME mx.5566.es.
smtp.5566.es CNAME mx.5566.es.
imap.5566.es CNAME mx.5566.es.
5566.es IN TXT “v=spf1 mx ~all”
_dmarc.5566.es IN TXT “v=DMARC1; p=none; rua=mailto:[email protected]
88.88.88.88 PTR mx.5566.es

 

Items 4, 5, 6, and 8 are optional, and the ninth item is the domain name PTR, which needs to be set at your own server provider.


1. Install Docker

#CentOS 6 system

rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum update -y

yum -y install docker-io

service docker start

chkconfig docker on


#CentOS 7 system Debian system, Ubuntu system

curl -sSL https://get.docker.com/ | sh

systemctl start docker

systemctl enable docker.service

 


 

2. Install Poste #/srv/poste/data as a folder for Poste data storage, such as user database, email, logs, for easy backup. (replace 5566.es below)

 

docker run -d -p 25:25 -p 80:80 -p 110:110 -p 143:143 -p 443:443 -p 587:587 -p 993:993 -p 995:995 -v /etc/localtime :/etc/localtime:ro -v /srv/poste/data:/data –name “hacken” -h “mx.5566.es” -t analogic/poste.io

 

After the installation is complete, open your domain name address and perform the installation configuration.

2 thoughts on “Build your own post office Docker to quickly install Poste.io mail server

  1. What's missing from the back? How to configure it?

    1. hacken says:

      There are very few things that can be configured in the background, basically setting up an email account.

Leave a Reply