Commit graph

2519 commits

Author SHA1 Message Date
Josef Friedrich c47a50d971 Add ssl to samlpe configuration. SSL is always good 2016-08-30 00:10:48 +02:00
Josef Friedrich 51f59208b7 New Section: Polling interval 2016-08-29 22:13:22 +02:00
Josef Friedrich fadfa853a2 Use setup.sh for debugging 2016-08-29 22:04:40 +02:00
Josef Friedrich d6c66fa2b7 The title doesn't support markdown 2016-08-29 22:03:35 +02:00
Josef Friedrich e8c6badcf2 New page about setup.sh 2016-08-29 21:51:09 +02:00
Josef Friedrich 6c9901e260 Improve fetchmail support (#289)
Fetchmail is now configured by a script called 'setup-fetchmail'.
The script 'debug-fetchmail' is used inside the 'setup.sh' script.
2016-08-29 19:03:45 +02:00
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