Commit graph

309 commits

Author SHA1 Message Date
Thomas VIAL ba29ac40b9
Fixed #197 removing SORBS from RBL 2016-05-30 10:09:32 +02:00
Thomas VIAL fd6e47d847 Merge pull request #196 from Josef-Friedrich/dovecot-config
Add a additional configuration file for dovecot
2016-05-29 22:46:33 +02:00
Josef Friedrich bcd844b568 Add tests for additional dovecot configs 2016-05-29 22:36:06 +02:00
Josef Friedrich 9afd46df9d Add example dovecot configuration file 2016-05-24 20:24:26 +02:00
Josef Friedrich 0df97da39d Add user configuration file for dovecot 2016-05-24 19:19:06 +02:00
Thomas VIAL e2409edadb Merge pull request #194 from tve/master
Avoid fixing permissions; add regexp alias file, add AWS SES outgoing email support
2016-05-24 14:50:49 +02:00
Thorsten von Eicken c8169c0a34 try #2 to fix tests 2016-05-23 22:23:54 -07:00
Thorsten von Eicken cf6d9a4409 try to fix tests 2016-05-23 21:43:08 -07:00
Thorsten von Eicken dcad03f3f0 add forgotten tests.bat 2016-05-23 21:30:22 -07:00
Thorsten von Eicken 12ff51daaa Revert "Docs for new features"
This reverts commit 4151f1f0bd.

Conflicts:
	README.md
2016-05-23 21:24:03 -07:00
Thorsten von Eicken 1ff72b2faf improve finder for botched permissions 2016-05-23 20:45:58 -07:00
Thorsten von Eicken 288e79f59e tests for regexp alias 2016-05-23 20:38:11 -07:00
Thorsten von Eicken 6d8b8d1a6e AWS SES needs ca-certificates 2016-05-23 00:03:22 -07:00
Thorsten von Eicken 7f398a6bbc fix sed of main.cf for regexp aliases, try #3 2016-05-22 23:35:09 -07:00
Thorsten von Eicken 9ce94f442a fix sed of main.cf for regexp aliases, try #2 2016-05-22 23:23:06 -07:00
Thorsten von Eicken d87bb285a6 fix sed of main.cf for regexp aliases 2016-05-22 22:57:05 -07:00
Thorsten von Eicken c2bbb6ad65 gratuitous commit to trigger docker build 2016-05-22 22:31:39 -07:00
Thorsten von Eicken 4151f1f0bd Docs for new features 2016-05-22 22:21:29 -07:00
Thorsten von Eicken 70dd4d1519 support sending via AWS SES 2016-05-22 21:45:00 -07:00
Thorsten von Eicken 36ed1453ae Avoid fixing permissions that look OK 2016-05-22 19:23:08 -07:00
Thorsten von Eicken 26bb8f6b34 Support addition of regexp alias file 2016-05-22 19:10:58 -07:00
Thomas VIAL 162c208ece Merge pull request #182 from Josef-Friedrich/master
Fix link to start-mailserver.sh
2016-05-10 09:13:07 +02:00
Josef Friedrich 9dc6ef9733 Fix link to start-mailserver.sh 2016-05-10 07:32:45 +02:00
Thomas VIAL 05f63f54be
Fixed badged URL to master 2016-05-09 09:28:56 +02:00
Thomas VIAL 975d4fa78f
Release V2 as MASTER (and LATEST image) 2016-05-08 20:10:38 +02:00
Thomas VIAL 98b5717f5c
Release V2 as MASTER 2016-05-08 20:08:24 +02:00
Thomas VIAL 2465bf6a7f Merge pull request #181 from Chris54721/patch-1
Merge "volumes" option in docker-compose.yml
2016-05-08 19:38:01 +02:00
Chris54721 d746c9254e Update README.md 2016-05-08 19:02:32 +02:00
Chris54721 4a6fab3fce Update docker-compose.yml.dist 2016-05-08 19:01:42 +02:00
Thomas VIAL f3eaa58f66 Merge pull request #172 from diiigle/patch-1
opendkim folder shadowing
2016-05-07 15:57:20 +02:00
Thomas VIAL bee4088f78 Merge pull request #171 from Zauberstuhl/v2_permission_issue_on_wrong_path
Fix permission issues on wrong dkim path
2016-05-02 14:32:32 +02:00
Tobias Rittig e71877d3b9 Merge pull request #1 from diiigle/v2
#Fix docker-compose proposal
2016-05-01 15:29:49 +02:00
Lukas Matt 777b1bacc7
Fix permission issues on wrong dkim path
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2016-05-01 15:29:47 +02:00
Tobias Rittig 090bccd1fc #Fix docker-compose proposal
remove shadowing volume config
2016-05-01 15:26:55 +02:00
Tobias Rittig 43643b5cea #Fix docker-compose.yml proposal
./opendkim/ local folder shadows ./config/opendkim
on generation of the keyfiles all files get written to ./config/opendkim leaving ./opendkim empty
thus on startup no config for opendkim is loaded
2016-05-01 15:23:34 +02:00
Thomas VIAL c8e0f759c0 Merge pull request #170 from stonemaster/patch-1
Update README.md with new link to "Configure Sieve filter" wiki page
2016-04-29 18:50:20 +02:00
Thomas VIAL fd98dd4f16 Merge pull request #168 from 00angus/v2_smallfix
Sieve filters can now be installed at user setup.
2016-04-29 18:38:18 +02:00
André Stein 94a97ac150 Update README.md with new link to "Configure Sieve filter" wiki page 2016-04-29 17:52:22 +02:00
Thomas VIAL aab490883a Merge pull request #169 from stonemaster/dovecot-managesieve
Configure dovecot's managesieve plugin when the environment variable
2016-04-29 17:30:31 +02:00
André Stein 9f63fa2ef4 Rename environment variable ENABLE_MANAGE_SIEVE to ENABLE_MANAGESIEVE. 2016-04-29 17:09:48 +02:00
André Stein 69b66d55bc Configure dovecot's managesieve plugin when the environment variable
ENABLE_MANAGE_SIEVE has been set.

Adapted README and updated tests.

The functionality has successfully been tested using the Sieve
Thunderbird plugin.
2016-04-29 15:24:10 +02:00
angus 25406949ee Sieve filters can now be installed at user setup.
Changed Dockerfile to include a missing configuration file for dovecot (mailboxes).
Moved Postfix setup after DKIM/DMARC/SSL setup, near the override postfix setup.
2016-04-29 00:41:48 +02:00
Thomas VIAL 570bf85319 Merge pull request #166 from stonemaster/basic-sieve-support
Implement basic sieve support using Dovecot.
2016-04-28 11:06:20 +02:00
André Stein 2cfb3c9977 Update README.md with link to sieve configuration in Wiki 2016-04-28 10:26:05 +02:00
André Stein 21c26de1d4 Update typo in tests.bat. 2016-04-28 10:25:11 +02:00
André Stein 2f9f6b1002 Implement basic sieve support using Dovecot.
The dovecot-sieve plugin is installed and configured to apply sieve
as soon as a .dovecot.sieve file is encountered in the virtual user's
home directory (that is /var/mail/${domain}/${username}/.dovecot.sieve).

Transport has been changed in the postfix configuration to use
Dovecot LDA (see http://wiki.dovecot.org/LDA/Postfix) to actually
enable sieve filtering.

Tests have been added.
2016-04-28 08:57:50 +02:00
Thomas VIAL 1a77cb77cc Merge pull request #165 from stonemaster/postfix-spam
Adapted Postfix configuration to block typical spam sending
2016-04-27 11:24:21 +02:00
André Stein 09f9e8ec60 Postfix: reject_invalid_hostname configuration option changed to reject_invalid_helo_hostname string which is
the "modern" Postfix variant since version >=2.3. (same for non_fqdn_hostname)
2016-04-27 09:44:21 +02:00
André Stein a9c4bb3615 Adapted Postfix configuration to block typical spam sending
mail servers using an enhanced client, sender and helo
restriction configuration.

The configuration has been adapted using this blog post:
https://www.webstershome.co.uk/2014/04/07/postfix-blocking-spam-enters-server/

Basically mail servers having invalid configuration (as e.g. sending
from and dynamic IP or a misconfigured hostname) will have their
mails rejected.

Additionnally three RBL servers are used to detect spam sending
IPs: dnsbl.sorbs.net, zen.spamhaus.org and bl.spamcop.net.

The results of a 12h test drive using a 100+ daily spam
mail account (SpamAssasin was always enabled, just counting
delivered mails to inbox not counting what SA detected):
- Before: 34 incoming mails
- Afer change: 6 incoming mails (82% reduction)

Fixes #161.
2016-04-27 08:23:12 +02:00
Thomas VIAL 049033f4c5 Merge pull request #164 from tomav/added-tests-on-letsencrypt
Added tests on letsencrypt - #109
2016-04-26 21:00:24 +02:00