1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-28 20:21:14 +02:00
Commit Graph

544 Commits

Author SHA1 Message Date
Thomas VIAL
805506fbea Fixes #468: cron (virus wiper) (#469)
* Fixes #468: cron (virus wiper)
2017-01-11 10:52:39 +01:00
Thomas VIAL
69d3bac45e Add bats asserts (#463)
* Added `bats-assert` for more detailed error, very useful locally and on Travis
* Moved `bats` to git submodule

Example:

```
not ok 52 checking opendkim: generator creates keys, tables and TrustedHosts
# (from function `assert_output' in file test/test_helper/bats-assert/src/assert.bash, line 239,
#  in test file test/tests.bats, line 368)
#   `assert_output 2' failed
# 
# -- output differs --
# expected : 2
# actual   : 4
# --
# 
```
2017-01-10 14:15:41 +01:00
Kai Ren
414413a5c9 Add .editorconfig rules and fix some indents (#462) 2017-01-09 23:53:09 +01:00
alinmear
a7670ac5c1 Add #394: Postfix Virtual Transport (#461)
* Add #394: Postfix Virtual Transport
This makes it possible to specify a lmtp config file, by providing
POSTFIX_DAGENT.

Update - Readme with informations about #394

    * Add Variable ENABLE_POSTFIX_VIRTUAL_TRANSPORT (task)
    * Add Variable POSTFIX_DAGENT (section)

Added Unit tests for virtual transport

* Fix syntax error in test/tests.bats

* Fix Unit Test
2017-01-09 23:52:36 +01:00
Kai Ren
5020ab0a0f Convert $(hostname) usage to $(hostname -f) (#459)
* Convert `$(hostname)` usage to `$(hostname -f)`
2017-01-09 23:49:46 +01:00
Thomas VIAL
d4cee677ce ONE_DIR documentation (#460)
* Fixes #457 adding information regarding `ONE_DIR` env variable
2017-01-09 17:11:10 +01:00
Dominik
0216ce84a2 Fix update in setup.sh (#456)
The updatemailuser needs parameters
2017-01-09 16:27:20 +01:00
Guillaume Simon
8eb53438ce Docker tag fix (#455) 2017-01-05 09:24:45 +01:00
Thomas VIAL
89aa42d658
Added Gitter webhook 2017-01-04 10:39:43 +01:00
Bogdan
9cebc50307 #445: mention the setup.sh convenience script (#453) 2017-01-04 10:09:03 +01:00
Thomas VIAL
cfd7fde1ea Added config information
Added information regarding were config files must be mounted.
2017-01-04 10:05:02 +01:00
Wolfgang Ocker
9095ba3803 Fix #443 - RIMAP support (#448)
* Add unit tests for #443 (rimap auth)
* Fix #443 - configure rimap for saslauth
* Fix #443 - reuse smtp-auth-login.txt when testing rimap auth
2017-01-03 10:55:03 +01:00
Thomas VIAL
fd8ad784d1 Fixes #424, suggested by @alinmear (#447) 2017-01-02 13:39:46 +01:00
Wolfgang Ocker
461c88e6ae Fix mailuser tools (#441)
* Add some checks for user name matching in mail user scripts
* Fix user matching problems in mail user scripts
** fix matching problems at several places:
    "delmailuser a@example.com" deletes also user "aa@example.com"
    "delmailuser a@sub.example.com" deletes also user "a@sub-example.com"
** similar problems when inserting
** refactor and clean up
2016-12-30 20:06:44 +01:00
Thomas VIAL
de70a155f2 Fixed Issue #437 (#439)
* Also fixed SMTP_ONLY
2016-12-27 16:09:16 +01:00
Thomas VIAL
40ae75112b Fixed #437 setting ENABLE_POP3 to 0 by default (#438) 2016-12-27 15:55:41 +01:00
Thomas VIAL
03a0c92e6f Fixed docker version from "v2.1" to "2.1" 2016-12-25 23:10:06 +01:00
Thomas VIAL
df752280e0 BREAKING CHANGES: (#432)
* Removed DISABLE_AMAVIS
* Renamed DISABLE_* to ENABLE_* with 0 as default value. (this must be explicit)
* Added missing tests for ENABLE_*
* Improved readme and docker-compose example

Should fix #256 and #386
2016-12-25 22:54:37 +01:00
Thomas VIAL
ae9eaae68e Empty /etc/aliases to avoid error in log regarding format (we use virtual aliases in this image). (#429)
Fixes #425
2016-12-25 15:56:35 +01:00
Thomas VIAL
63cf0f9965 Disables clamav config in amavis when DISABLE_CLAMAV=1. Fixes #378 (#431) 2016-12-25 15:41:02 +01:00
Thomas VIAL
49b62aa1be Fixes #423 (#428) 2016-12-24 14:52:00 +01:00
Thomas VIAL
3286612831 Should fix #426 (#427) 2016-12-24 14:24:29 +01:00
Thomas VIAL
ccad91c23d Improved start-mailserver output (#420)
* Improved start-mailserver output
* Fixed rework to make tests work again
* Improved output and updated SSL certs for LE
2016-12-23 23:56:39 +01:00
Daniele Bellavista
2a15ac619e Secure TLS protocols (#418) 2016-12-23 19:14:02 +01:00
Influencer
83c0095e00 Script to update users password, made test and updated setup.sh (#413)
* Added script to update users password, made test and updated setup.sh

* Moved update password test to tests.bat

* Fixed test for update password
2016-12-21 20:12:05 +01:00
Thomas VIAL
68e7e46308 Merge pull request #416 from tomav/issue-414
Refactored travis config
2016-12-21 12:53:50 +01:00
Thomas VIAL
b71a48c33f
Refactored config 2016-12-21 12:39:28 +01:00
Thomas VIAL
f9e663b25a Merge pull request #415 from tomav/issue-414
Added travis_wait in config to increase build time to 20min
2016-12-21 12:03:43 +01:00
Thomas VIAL
c5af8d32a9
Changed configuration in 2 different lines 2016-12-21 11:52:51 +01:00
Thomas VIAL
5d77837532
Added travis_wait in config to increase build time to 20min 2016-12-21 11:34:29 +01:00
Thomas VIAL
c4f434b28e Merge pull request #408 from alinmear/master
Fix Problem with Saslauthd and Postfix master.cf
2016-12-20 08:36:33 +01:00
alinmear
782152f827 Fix Problem with Saslauthd and Postfix master.cf
The provided default postfix master.cf overwrites the configs for
saslauthd within main.cf. To make saslauthd work, we have to comment or
in this case delete the lines from master.cf to make the given configs
in main.cf work.
2016-12-19 13:39:30 +01:00
Thomas VIAL
93837ec2f9 Merge pull request #404 from arcaine2/patch-1
Fail2ban fix for restarting container
2016-12-18 16:55:02 +01:00
arcaine2
2707992c44 Fail2ban fix for restarting container
Fail2ban doesn't seems to shutdown cleanly and leaves fail2ban.sock file that prevent it from starting after a container restart. That simple check should do the trick.
2016-12-18 13:06:45 +01:00
Thomas VIAL
86141ebb8c Merge pull request #400 from sylvaindumont/patch-2
use strong tls and ciphers
2016-12-17 22:28:52 +01:00
Thomas VIAL
6d1aa1332f Merge pull request #402 from tomav/issue-401
Fixes #401 by running update-locale
2016-12-17 22:27:13 +01:00
Thomas VIAL
c7da5583b5
Fixing test 2016-12-17 22:04:59 +01:00
Thomas VIAL
a9b1686e57
Added test 2016-12-17 21:53:09 +01:00
Thomas VIAL
5ce957efa1
Fixes #401 by running update-locale 2016-12-17 21:26:16 +01:00
Thomas VIAL
00f8bdb905 Merge pull request #393 from alinmear/master
Restructure start-mailserver.sh #338
2016-12-17 16:34:49 +01:00
Sylvain Dumont
d47cf72650 use strong tls and ciphers 2016-12-17 10:59:04 +01:00
alinmear
1f31475e11 Restructure start-mailserver.sh #338 2016-12-01 15:45:40 +01:00
Thomas VIAL
90708bc924 Merge pull request #382 from tyranron/texthash_format
Use "texthash" Postfix lookup format instead of "hash"
2016-11-21 11:44:15 +01:00
tyranron
9e862b8405 use "texthash" Postfix database format instead of "hash" 2016-11-15 21:48:09 +02:00
Thomas VIAL
fbb76a4da7 Use hostname to get domainname (#381) 2016-11-14 19:11:35 +01:00
Dennis Stumm
a208cd1b13 Use hostname to get domainname 2016-11-13 14:58:30 +01:00
Dennis Stumm
d3cd407295 Improve LDAP integration (#379)
* Move ldap files to target dir

* Move ldap files to target dir

* Update start-mailser.sh to use copied files

* Add the domainname from container to vhost

* Fix unary operator error

* List dovecot users only when LDAP disabled

* Minor
2016-11-13 11:39:45 +01:00
Josef Friedrich
f2f059bb91 Changing the fetchmail config file has no effect (#372) (#373) 2016-11-02 11:28:27 +01:00
Dennis Stumm
3ec1fb202d Add ldap auth for postfix and dovecot (#352)
* Add ldap support for postfix and dovecot

* Add SASLAUTHD

* Update README.md

* Add necessary packages to dockerfile

* Add config files for ldap

* Add tests for ldap auth
2016-10-30 14:11:36 +01:00
Thomas VIAL
5298271bfd Fixes #364 - hostname/domainame is required. (#368) 2016-10-30 12:42:29 +01:00