Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@00angus
Copy link
Contributor

@00angus 00angus commented Apr 8, 2016

This is the Dovecot-based version of the mailserver.
In the README you will find enough information (I hope!) to configure and startup the server (and for the generation of the passwords).
I'll leave the description of this version to one of the commit messages :)

Dovecot based version of the mailserver.
Courier and Cyrus Sasl have been removed and substituted with Dovecot which now
handle authentication for Postfix, Imap and Pop3, with support for SSL.
This allow the use of several encryption schemes for the password as well as a
single user db.
OpenDKIM keys can now be provided at the startup and will be used instead of
generating new ones (so that you don't have to change your DNS configuration).

This version builds correctly on Docker but no integration tests have been
reworked to accommodate Dovecot instead of Courier and Cyrus Sasl. As such
at present no automatic tests can be executed.

As I've already written somewhere else It will be a good idea to take a look at the dovecot configs and see where things can be optimized/secured. I've also checked connections to/from popular email services and I've also tested checktls.com, mail-tester.com (score 9/10 because of DMARC record missing on my dns) etc.
One thing to note: as of this version, dovecot config files are copied into the image at build-time. Probably in the future we could setup it in the startup-mailserver.sh.
Take a look at the different commits.
Enjoy!

00angus added 5 commits April 7, 2016 14:42
Courier and Cyrus Sasl have been removed and substituted with Dovecot which now
handle authentication for Postfix, Imap and Pop3, with support for SSL.
This allow the use of several encryption schemes for the password as well as a
single user db.
OpenDKIM keys can now be provided at the startup and will be used instead of
generating new ones (so that you don't have to change your DNS configuration).

This version builds correctly on Docker but no integration tests have been
reworked to accommodate Dovecot instead of Courier and Cyrus Sasl. As such
at present no automatic tests can be executed.
* Dovecot has been added in place of courier and cyrus sasl
* Email services now logs to /var/log/mail/
Correct the handling of virtual_alias_maps file in postfix (virtual)
for the generation of virtual_mailbox_domains file (vhost).
Minor changes to file names.
check .pem existence and concat to combined.pem with added eol.

Minor changes to command line that combine certs.
@tomav tomav merged commit 69b7bb3 into docker-mailserver:v2 Apr 11, 2016
@tomav
Copy link
Contributor

tomav commented Apr 11, 2016

Thank you @00angus.
I'm gonna merge this into v2.
We'll have to add tests on top of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants