
If you do not need the Postfix logs to persist after the Docker container restart, you can comment or remove the "volumes:" section.

Do not put any spaces around “=” in the SMF_CONFIG line.Please replace all e-mail addresses above with your real e-mail addresses.opt/projects/mail_forwarder/volumes/logs:/var/log/postfix Configure the Docker ContainerĬreate a file docker-compose.yml (in this example, it was created in the folder /opt/projects/mail_forwarder/ on an Ubuntu 20.04 server): version: '3.8' On other registrars, adding an MX record is usually similar and very straightforward. You could set any time you wish here.Īlso, please see this article on adding an MX record at GoDaddy. This is how much time other DNS servers should wait before updating this record on their side. In this case, put that server domain name into the Value, for example,. Sometimes, you need to set up a separate server for receiving mail for your domain. It must contain a domain name ( not an IP address) of the host, responsible for receiving mail for the domain, defined in the Name section of this MX record. SMTP servers will try to deliver mail first to mail servers defined by MX records with lower priority. You can put any (0 greater) integer number here. if these are DNS records for, would be the same as. Name: is the same as the main domain name.

