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

361 Commits

Author SHA1 Message Date
Josef Friedrich
69ee54513e Fix build (#286)
The Refactoring of the scripts 'addmailuser' and 'delmailuser'
destroyed the build process.
2016-08-29 07:13:36 +02:00
Josef Friedrich
61cf0bfc6f Add wrapper script for easier setup of the docker-mailserver (#280)
To setup the mailserver large snippets of shell code had to past in a
console. Instead of:

  mkdir -p config
  touch config/postfix-accounts.cf
  docker run --rm \
    -e MAIL_USER=user1@domain.tld \
    -e MAIL_PASS=mypassword \
    -ti tvial/docker-mailserver:latest \
    /bin/sh -c 'echo "$MAIL_USER|$(doveadm pw -s SHA512-CRYPT -u
  $MAIL_USER -p $MAIL_PASS)"' >> config/postfix-accounts.cf

you can specify:

  ./setup.sh email add user1@domain.tld mypassword

This wrapper script can be easily extended. It uses the scripts already
builtin.
2016-08-28 21:10:25 +02:00
Josef Friedrich
76d2c779df Adjust coding style in "bin" scripts (#279)
The main shell script (start-mailserver.sh) uses two spaces for
indentation. All other shell scripts should use this coding
style.
2016-08-28 21:08:37 +02:00
bigpigeon
46278ec890 add AWS_SES_PORT env (#278) 2016-08-28 21:07:16 +02:00
Jack Twilley
6d2d9dd738 Handle missing files more gracefully. (#265)
* Wrote functional tests for desired behavior.

Redoing the pull request, starting from current master.

The tests now fail where expected.

* Updated commands to handle missing files better.

The functional tests now pass.
2016-08-24 10:06:59 +02:00
Josef Friedrich
f707a11c98 Add notice to docker-compose version in README (#268 #276) (#277) 2016-08-23 11:51:05 +02:00
Josef Friedrich
859df6866b Delete orphaned configuration file (#273)
The config file target/dovecot/dovecot.conf is not used to build the
docker-mailserver image. All tests are working without this file. The
additional config file config/dovecot.cf won’t be loaded if
target/dovecot/dovecot.conf is used.
2016-08-22 17:37:45 +02:00
Josef Friedrich
e7de8b9245 Implement fetchmail (#260) (#271)
To retrieve emails from external mail accounts.
2016-08-21 22:13:13 +02:00
Zehir
8b289f6717 Adding the PERMIT_DOCKER option (#270)
* Adding the PERMIT_DOCKER option

See README.md for more informations

* Adding some test for PERMIT_DOCKER option

* Fix test cases

* Opendkim and Openmarc configuration

Fix docker network range
Adding opendkim and openmarc configuration

* Adding some options for tests

* Update log message

* Update tests
2016-08-21 22:10:13 +02:00
Jack Twilley
0e8934c151 Minor corrections to README.md (#264)
One example was missing a useful line, which was present in the wiki's example and without which the example does not run.

A typographical error was found in a file.
2016-08-18 09:54:17 +02:00
Kyle Ondy
4872d0e777 selective service disable (#250)
* Allow disabling amavis service

Setting the `DISABLE_AMAVIS=1` env var will skip the starting of the
amavis process.

* Enable option to not run spamassassin

Setting the `DISABLE_SPAMASSASSIN=1` env var will start this container
without spamassain.

* Allow starting of the container without clamav

Setting the `DISABLE_CLAMAV=1` env var will start this container without
starting clamav.
2016-08-04 21:04:26 +02:00
Thomas VIAL
bfecb65947
Merge branch 'master' of github.com:tomav/docker-mailserver 2016-08-02 14:27:53 +02:00
Thomas VIAL
4964e4dce6
Added shields 2016-08-02 14:24:02 +02:00
Thomas VIAL
3014b9efcd Merge pull request #247 from KyleOndy/startup_logging
Startup logging
2016-07-29 14:21:09 +02:00
Kyle Ondy
f4f70899c9
Add echo when sieve managemnt is enabled 2016-07-28 14:35:09 -04:00
Kyle Ondy
43b366aaad
Add echo when Fail2ban is enabled 2016-07-28 14:34:20 -04:00
Thomas VIAL
87709aae0d Merge pull request #243 from auchri/patch-1
Add paths to CA to postifx
2016-07-26 09:36:11 +02: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
b2ccd99e51 Merge pull request #241 from tomav/added-test-on-catchall
Added test on catchall
2016-07-24 00:02:33 +02:00
Thomas VIAL
c813e6a4b3
Added test on catchall 2016-07-23 23:42:18 +02:00
Thomas VIAL
354c396068 Merge pull request #240 from tomav/issue-230
Fixed #230 adding postifx configuration. Also added tests.
2016-07-23 22:05:29 +02:00
Thomas VIAL
0f7e7bb693
Fixed #230 adding postifx configuration. Also added tests. 2016-07-23 21:01:01 +02:00
Thomas VIAL
4d164bb71b Merge pull request #239 from tomav/issue-237
Fixed #237 by fixing format
2016-07-23 20:35:15 +02:00
Thomas VIAL
911d6643b0
Fixed #237 by fixing format 2016-07-23 19:54:10 +02:00
Thomas VIAL
4a413e8e58 Merge pull request #238 from tomav/fix-expired-certs
Changed test regarding certificate which has expired. Can't generate …
2016-07-23 19:40:44 +02:00
Thomas VIAL
8b144038e1
Changed test regarding certificate which has expired. Can't generate cert each time, so let's keep for the moment. 2016-07-23 18:20:19 +02:00
Thomas VIAL
0937aa7212 Merge pull request #229 from vifino/master
Fix some bugs in the shell scripts.
2016-07-20 00:12:37 -10:00
Adrian Pistol
133d6eba32
Fix some bugs in the shell scripts. 2016-07-12 17:40:08 +02:00
Thomas VIAL
e4d70d5147 Merge pull request #222 from sspreitzer/changelog
Add changelog
2016-07-07 05:22:49 +02:00
Sascha Spreitzer
7099f2eb7d Add changelog 2016-07-03 14:27:03 +02:00
Thomas VIAL
4c5e757fec
Added Docker Pull image 2016-06-25 10:57:46 +02:00
Thomas VIAL
1d942fa4d2 Merge pull request #211 from Crafter6432/usermanagement
Usermanagement
2016-06-20 12:18:15 +02:00
shim_
94679df291 move addmailuser, delmailuser to target/bin 2016-06-15 19:50:01 +02:00
Thomas VIAL
0df999bbfd Merge pull request #210 from Crafter6432/SHA512
switch to SHA512
2016-06-14 18:03:39 +02:00
shim_
d0380ec74f comparing salted passwords is impossible 2016-06-14 16:38:57 +02:00
shim_
7c63d00d77 added tests for addmailuser delmailuser 2016-06-14 16:17:06 +02:00
shim_
b9aceb9d6f add relevant files 2016-06-14 13:38:34 +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
shim_
63fd58a7cb switch to SHA512 2016-06-14 13:00:51 +02:00
Thomas VIAL
a267af5efe Merge pull request #204 from dominikwinter/master
added ability to overwrite jail.conf #200
2016-06-04 11:04:47 +02:00
Dominik Winter
18d910530c corrected wrong variable name 2016-06-04 03:12:18 +02:00
Dominik Winter
8c24b0f418 using -n because iptables resolved ip address to domain name 2016-06-04 02:53:44 +02:00
Dominik Winter
e3b65aea7a corrected test cases 2016-06-04 02:46:33 +02:00
Dominik Winter
c1bbf5295f ignore test/onedir 2016-06-04 02:34:00 +02:00
Dominik Winter
54763a9d59 added tests 2016-06-03 01:22:16 +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
e01d092d65 Merge pull request #198 from tomav/removed-sorbs-from-rbl
Removed SORBS from RBL
2016-05-30 10:34:40 +02:00