From 4151f1f0bd6fdfcc8d315ffcda4518fd844e1de9 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sun, 22 May 2016 22:21:29 -0700 Subject: [PATCH] Docs for new features --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index baff8314..4786a2fc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,31 @@ -# docker-mailserver [![Build Status](https://travis-ci.org/tomav/docker-mailserver.svg?branch=master)](https://travis-ci.org/tomav/docker-mailserver) +# docker-mailserver [![Build Status](https://travis-ci.org/tve/docker-mailserver.svg?branch=master)](https://travis-ci.org/tve/docker-mailserver) + +This is a fork of https://github.com/tomav/docker-mailserver with some additional features: + +### Sending outbound mail via Amazon SES + +Instead of letting postfix deliver mail directly it is possible to forward outgoing email +through Amazon SES (Simple Email Service). To enable this feature, define the following two +environment variables in the `docker-compose.yml` with the appropriate values for your AWS SES +subscription (the values for `AWS_SES_USERPASS` are the "SMTP username" and "SMTP password" +provided when yuo create SMTP credentials for SES): +``` + environment: + - AWS_SES_HOST=email-smtp.us-east-1.amazonaws.com + - AWS_SES_USERPASS=AKIAXXXXXXXXXXXXXXXX:kqXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +``` + +### Configuring regexp aliases + +Additional regexp aliases can be configured by placing them into `config/postfix-regexp.cf`. +The regexp aliases get evaluated after the virtual aliases (`postfix-cirtual.cf`). For example, +the following `config/postfix-regexp.cf` causes all email to test users to be delivered +to `qa@example.com`: +``` +/^test[0-9][0-9]*@example.com/ qa@example.com +``` + +## Overview A fullstack but simple mail server (smtp, imap, antispam, antivirus...). Only configuration files, no SQL database. Keep it simple and versioned.