Kyle Ondy
43b366aaad
Add echo when Fail2ban is enabled
2016-07-28 14:34:20 -04:00
Christoph
9998416590
Add paths to CA to postifx
...
Fixes untrusted TLS connections
See: http://giantdorks.org/alain/fix-for-postfix-untrusted-certificate-tls-error/
2016-07-25 22:50:36 +02:00
Thomas VIAL
0f7e7bb693
Fixed #230 adding postifx configuration. Also added tests.
2016-07-23 21:01:01 +02:00
Adrian Pistol
133d6eba32
Fix some bugs in the shell scripts.
2016-07-12 17:40:08 +02:00
shim_
94679df291
move addmailuser, delmailuser to target/bin
2016-06-15 19:50:01 +02:00
shim_
2a6d05cab6
set user var
2016-06-14 13:29:55 +02:00
shim_
13b43561f8
add quotes
2016-06-14 13:28:15 +02:00
shim_
3b2ae0f1c8
basic user management
2016-06-14 13:16:11 +02:00
Dominik Winter
94077b2a29
added ability to overwrite jail.conf
2016-06-03 01:22:03 +02:00
Thomas VIAL
5232935d47
Merge pull request #195 from tve/persistence
...
Persist mail state directories
2016-06-01 13:37:41 +02:00
Thomas VIAL
ba29ac40b9
Fixed #197 removing SORBS from RBL
2016-05-30 10:09:32 +02:00
Josef Friedrich
0df97da39d
Add user configuration file for dovecot
2016-05-24 19:19:06 +02:00
Thorsten von Eicken
4ca39f9144
consolidate mail state to fix #191
2016-05-23 23:21:18 -07:00
Thorsten von Eicken
1ff72b2faf
improve finder for botched permissions
2016-05-23 20:45:58 -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
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
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
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
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
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
9fbe20f3d0
Added tests on letsencrypt - #109
2016-04-26 19:39:08 +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
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
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
0322d890cd
Fixed i#152 Fail2ban config and tests
2016-04-22 17:51:14 +02:00
Thomas VIAL
b58d0d33d6
Fixing #143
2016-04-21 01:08:14 +02:00
Thomas VIAL
a2109ff287
Merge branch 'v2' of github.com:tomav/docker-mailserver into v2
2016-04-20 23:02:23 +02:00
Thomas VIAL
4f611eec1d
Fixed #143 adding a OpenDKIM keys generator and its integration tests
2016-04-20 23:01:32 +02:00
angus
e25bbb965c
Fix a problem in the reload function of spamassassin cron.daily script.
...
(see issue #137 on github).
2016-04-20 22:37:06 +02:00
Thomas VIAL
003b89c98b
Fixed typo / text format
2016-04-19 23:25:54 +02:00
angus
d90e67e920
Fixes paths for SSL setup, spamassassin and postfix addon config.
...
Fixes error from logrotate when fail2ban is disabled (failure
when reloading the service).
2016-04-19 00:30:56 +02:00
Thomas VIAL
3f79b6ef7a
Changed log configuration to Dockerfile #109
2016-04-18 23:21:03 +02:00
Thomas VIAL
2c6fdf51c1
Changed log configuration to Dockerfile instead of start-mailserver.cf
2016-04-18 23:18:19 +02:00
Thomas VIAL
180390107e
Changed Fail2ban config for #109
2016-04-18 22:57:39 +02:00
Thomas VIAL
72d7207690
Fixing last tests on fail2ban regarding #102 and docker-mailserver v2
2016-04-17 22:59:35 +02:00
Thomas VIAL
2adc559a43
Fixed part of tests for #109
2016-04-15 21:02:41 +02:00
Thomas VIAL
d6f9ffe9a6
Fixed some tests for #109
2016-04-13 23:16:46 +02:00
Thomas VIAL
545922fefa
Fixed paths
2016-04-13 21:43:15 +02:00
Thomas VIAL
fc2e2ae591
Added folder target, simplified user configuration, few renames... Need to work on tests....
2016-04-12 00:04:33 +02:00