Commit graph

2213 commits

Author SHA1 Message Date
Jack Twilley cd7bc5f6bc Minor tweaks to letsencrypt configuration. (#288)
The letsencrypt-auto client creates cert.pem, chain.pem, fullchain.pem, and
privkey.pem in its default settings.  The simp_le client creates cert.pem,
fullchain.pem, and key.pem in its default settings.

A check for either privkey.pem or key.pem was added.

The chain.pem file was only used by the letsencrypt code for the creation of
combined.pem, which is not used by either postfix or dovecot.

The code to create a combined.pem file for letsencrypt was removed, as was the
corresponding test.
2016-08-29 13:46:16 +02:00
Josef Friedrich 98e59a7abe Implement ./setup.sh email list (#287)
This commit adds a script nammed 'listmailuser'. './setup.sh' uses this
this script for its subcommand './setup.sh email list'. A test have
been added too.
2016-08-29 13:44:36 +02:00
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
Thomas VIAL 92a206a253 Updated Home (markdown) 2016-08-23 11:51:43 +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 3a6b6ef198 Use quotation marks for hostnames for better separation between key and values. Imap and pop3 can't be written in quotation marks. 2016-08-22 22:42:25 +02:00
Josef Friedrich 393b5239c5 Add "IMPORTANT" warning 2016-08-22 22:30:47 +02:00
Josef Friedrich ec1064de3b password should be pass 2016-08-22 22:24:07 +02:00
Josef Friedrich e963f7f65e Shorter examples 2016-08-22 22:23:34 +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 41a9de317b Add link to chapter 2016-08-22 10:45:14 +02:00
Josef Friedrich 19d2fd6fec Fix links 2016-08-22 10:41:52 +02:00
Josef Friedrich 256291895f Add link to the fetchmail man page 2016-08-22 10:40:34 +02:00
Josef Friedrich 2fbca66b28 Updated Retrieve emails from a remote mail server (using builtin fetchmail) (markdown) 2016-08-22 10:25:14 +02:00
Josef Friedrich 8623b155a0 Add more headlines 2016-08-22 10:23:51 +02:00
Josef Friedrich 941114be12 Add link to fetchmail website 2016-08-22 10:20:59 +02:00
Josef Friedrich 4f46a059ce Add tree view of folder structure 2016-08-22 10:16:47 +02:00
Josef Friedrich 0e9ce32dcc Add debug commands 2016-08-22 10:12:04 +02:00
Josef Friedrich e354569eda Remove warning 2016-08-21 23:32:05 +02:00
Josef Friedrich e7de8b9245 Implement fetchmail (#260) (#271)
To retrieve emails from external mail accounts.
2016-08-21 22:13:13 +02:00
Thomas VIAL b8a31a801b Updated Home (markdown) 2016-08-21 22:11:11 +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
Josef Friedrich e633624155 Add configuration examples 2016-08-21 14:10:33 +02:00
Josef Friedrich 45bc1a44d3 Better docker-compose example 2016-08-21 14:03:37 +02:00
Josef Friedrich 3b7ed57dde Add documentation proposal for fetchmail service 2016-08-21 14:02:06 +02:00
Thomas VIAL feeb0aba6e Updated Home (markdown) 2016-08-18 09:54:38 +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
GrupoCITEC d2a9e6c1ee Updated Configure SSL (markdown) 2016-08-17 09:38:35 -03:00
Zehir 01afb57ffa More details on the generation of DKIM key 2016-08-17 13:50:18 +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
Kyle Ondy f3c7e7bc0b docker run --rm -it tvial/docker-mailserver:latest sh -c "dovecot --version" 2.2.9 2016-07-28 14:00:32 -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 ce8d586701 Updated Override default postfix configuration (markdown) 2016-07-23 18:38:34 +02:00