Skip to content

Complete Postfix Email Server with Webmail

Latest
Compare
Choose a tag to compare
@montgomery-auber montgomery-auber released this 04 Oct 15:49
· 67 commits to main since this release
f9a7071

postfix-containerized

Postfix in easy to install containers for multiple domains.

Includes imap server and Roundcube Webmail

edit the files for your own use, use at your own risk!

set your DNS to point your domain to the server that will serve your email, etc. It should be an A record, though a C record might also work.

Add an MX record with your domain name pointing to the A record that you made for this server. The internet will not be able to deliver mail without MX record. An Mx Record tells which server to deliver mail to.

When you run the docker-files/prepare-postfix.sh it creates a 90 day letsencrypt free Certificate which renews.
Password is set to the EC2 instance id , you can find it in your AWS Console, You can change this in docker-files/prepare-postfix.sh

When running the prep script BE SURE to add your domain!

Then run:

sudo ./prepare-postfix.sh yourdomain.com

now go to your https://yourdomain.com

login to webmail with admin@yourdomain.com and secret pass that is set to the instance id, now you can send and receive email as admin

Add domains and users from https://yourdomain.com/admin login with admin@yourdomain.com and password. From there you can add mailboxes and domains (that have mx records pointing there)

You can use the webmail roundcube included and also connect email clients like MS outlook