Commit graph

2533 commits

Author SHA1 Message Date
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
Tobias Rittig df0ad1ebfd #Fix shadowing of local opendkim folder over ./config/opendkim/ 2016-05-01 15:19:33 +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
André Stein 4fa0f42f6e Updated Configuring Sieve filters (markdown) 2016-04-29 17:36:17 +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
00angus ad735ac557 Updated Configuring Sieve filters (markdown) 2016-04-29 10:17:18 +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 101a404171 Created Configuring Sieve filters (markdown) 2016-04-28 10:24:17 +02:00
Thomas VIAL 9592b9f459 Updated How to contribute (markdown) 2016-04-28 09:28:52 +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 a6b8b20bc0 Updated How to contribute (markdown) 2016-04-28 00:10:56 +02:00
Thomas VIAL e291fe67e1 Updated How to contribute (markdown) 2016-04-28 00:10:25 +02:00
Thomas VIAL dc99cf4c91 Updated How to contribute (markdown) 2016-04-28 00:09:05 +02:00
Thomas VIAL ba3a5fb1f0 Updated How to contribute (markdown) 2016-04-28 00:02:56 +02:00
Thomas VIAL ed9830bb06 Updated How to contribute (markdown) 2016-04-27 23:57:11 +02:00
Thomas VIAL 9879d7a80a Updated How to contribute (markdown) 2016-04-27 23:56:55 +02:00
Thomas VIAL e7f16f56f0 Updated How to contribute (markdown) 2016-04-27 23:54:08 +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 d373185c1d Updated FAQ and Tips (markdown) 2016-04-25 06:08:46 +02:00
Thomas VIAL 395acf5e27 Updated Configure Accounts (markdown) 2016-04-25 06:07:51 +02:00
Thomas VIAL e41eaed7d5 Updated Configure Accounts (markdown) 2016-04-25 06:06:15 +02:00
Thomas VIAL f8268f641a
Fixed link to script 2016-04-24 18:12:36 +02:00
Thomas VIAL e66f6f906b Updated FAQ (markdown) 2016-04-24 17:57:42 +02:00
Thomas VIAL 5384ce7a01 Updated FAQ (markdown) 2016-04-24 17:57:03 +02:00
Thomas VIAL fc83970af4 Updated Configure SPF (markdown) 2016-04-24 17:55:39 +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 6b18dc33a5 Updated Configure DKIM (markdown) 2016-04-24 17:49:31 +02:00
Thomas VIAL dadd535954 Updated Configure DKIM (markdown) 2016-04-24 17:49:08 +02:00
Thomas VIAL 0c556012e0 Updated Configure SPF (markdown) 2016-04-24 17:46:45 +02:00
Thomas VIAL 375acd2263 Created Configure SPF (markdown) 2016-04-24 17:46:33 +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