Commit graph

989 commits

Author SHA1 Message Date
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
Thomas VIAL b49f887bad
Added missing newline 2016-04-26 20:20:54 +02:00
Thomas VIAL 9fbe20f3d0
Added tests on letsencrypt - #109 2016-04-26 19:39:08 +02:00
Thomas VIAL 3328e4c79d Merge pull request #163 from 00angus/v2_tests_with_docker
Changed few docker commands used in tests:
2016-04-26 10:49:55 +02:00
angus 86080ba378 Changed few docker commands used in tests:
removed hardcoded image name. Now the image to be used
is extracted directly from running instances.
2016-04-26 09:50:10 +02:00
Thomas VIAL e8d4cc815b Merge pull request #160 from tomav/issue-159
Fixed #159: postfix-accounts.cf now generated with script + fixed lin…
2016-04-25 16:14:11 +02:00
Thomas VIAL 9415c099cc
Fixed #159: postfix-accounts.cf now generated with script + fixed line endings using sed in start-mailserver.sh 2016-04-25 16:00:39 +02:00
Thomas VIAL f8268f641a
Fixed link to script 2016-04-24 18:12:36 +02:00
Thomas VIAL afe8cfb610 Merge pull request #157 from tomav/refactored-documentation-in-readme-and-wiki
Refactored documentation and Wiki
Moved docker-compose.yml.dist to version 2 with data volume container
Renamed DMS_SSL to SSL_TYPE
Refactored start-mailserver to avoid DKIM errors
2016-04-24 17:51:51 +02:00
Thomas VIAL 9e1c4783a8
Refactored documentation and Wiki
Moved docker-compose.yml.dist to version 2 with data volume container
Renamed DMS_SSL to SSL_TYPE
Refactored start-mailserver to avoid DKIM errors
2016-04-24 17:37:10 +02:00
Thomas VIAL 2b4b829067 Merge pull request #156 from tomav/refactored-dockerfile
Refactored Dockerfile to reduce layers and image size
2016-04-24 14:22:58 +02:00
Thomas VIAL 6faf5ce88b
Refactored Dockerfile to reduce layers and image size 2016-04-24 13:46:48 +02:00
Thomas VIAL 070285d305 Merge pull request #155 from tomav/moving-fail2ban-to-0.9.x
Moved Fail2ban to 0.9.x because OS version was buggy
2016-04-23 21:06:46 +02:00
Thomas VIAL 8d23df41fa
Kept @00angus filter file for dovecot 2016-04-23 20:20:25 +02:00
Thomas VIAL b9e1903083
- Fixed #152
- Moved Fail2ban to 0.9.x because OS version was buggy
- Improved documentation
- Reduce image size
2016-04-23 12:09:28 +02:00
Thomas VIAL 2f1be46c91
Fixed typo 2016-04-23 09:27:47 +02:00
Thomas VIAL 81bd1f5212
Fixed formatting 2016-04-23 00:35:40 +02:00
Thomas VIAL b78ae12cf0
Fixed typo 2016-04-23 00:34:03 +02:00
Thomas VIAL 4414976e32
Added information regarding default value 2016-04-23 00:32:43 +02:00
Thomas VIAL 43d2c0c4a5
Improved documentation 2016-04-23 00:31:15 +02:00
Thomas VIAL c441a55476 Merge pull request #153 from tomav/fixed-fail2ban-config-and-tests
Fixed #152 Fail2ban config and tests
2016-04-22 21:16:20 +02:00