Commit graph

2213 commits

Author SHA1 Message Date
Pablo Castorino 913fc7e4e2 Created Configure ELK (markdown) 2016-09-30 11:47:36 -03:00
Thomas VIAL a97c8075ee Fixes #340 - amavis_duration is now a number and not a string anmymore (#341)
Fixes #340 - amavis_duration is now a number and not a string anymore
2016-09-30 13:54:50 +02:00
Pablo Castorino e4bab5b996 add ELK support (#331)
* add support to forward logs to ELK stack.
* from docker elk customize image with
* https://github.com/whyscream/postfix-grok-patterns
* custom imput
* override syslog filter.
* fix typo.
* Explicit forwarder vars and messages.
* add amavis grok
* add dovecot grok
* add geoip db
* add logstash geoip plugin
* add custom amavis grok from @tomav.
* switch to filebeats input
* refactor syslog filter
* add filebeat
* add template config
* replace rsyslog with filebeat.
2016-09-29 22:52:05 +02:00
hogsim 95b2411b59 Updated Configure DKIM (markdown) 2016-09-26 19:25:40 +02:00
Thomas VIAL c2eb975ace Fixes #329 (#330) 2016-09-23 08:22:57 +02:00
Josef Friedrich 28639b0e7f Add info about system requirements 2016-09-20 16:34:48 +02:00
Josef Friedrich bd14a1d8bf Revert "Fix for multiple ipv4" (#306 #310) (#325)
This reverts commit e5d14fd0bc.
172.0.0.0-172.15.255.255 and 172.32.0.0-172.255.255.255 are valid
external IP addresses. Try PERMIT_DOCKER: network instead.
2016-09-19 12:34:57 +02:00
Alexander Kachkaev c72dfde785 Explain how to skip inbox (should be a common case; I personally spent more than an hour investigating how to do this) 2016-09-13 22:51:29 +01:00
Lennart Rosam 146f9e4fc9 Fix typo. That's carriage return, line feed aka CRLF =) 2016-09-13 18:40:45 +02:00
Josef Friedrich f42a0c1935 Improve 'make clean' (#323)
Remove also all temporary test files. A new test can be started without
reclone the repository.
2016-09-12 17:49:46 +02:00
Thomas VIAL 968f957d0f Added cron regarding sa-learn 2016-09-12 16:00:05 +02:00
Thomas VIAL 535f809c5b Added .dockerignore to avoid having 120+ Mo pushed into the image (#321) 2016-09-11 20:12:42 +02:00
Thomas VIAL ab263b2ec3 Added check on logs regarding permission that occured sometimes... (#320)
* Added check on logs regarding permission that occured sometimes...

* Fixed test container
2016-09-11 14:26:04 +02:00
Josef Friedrich c8086135a4 Avoid many escaped slashes in sed scripts (#317)
Many escaped slashes can be avoided by changing the deliminter in sed
replace statements. This increases readability a little bit.
2016-09-09 12:29:15 +02:00
Thomas VIAL 540ff3b600 Added SLack configuration for Travis notifications (#316) 2016-09-07 22:40:02 +02:00
Josef Friedrich 9149f5afa7 Add syntax highlighting for docker-compose.yml 2016-09-07 19:41:07 +02:00
Josef Friedrich cc2043ba88 Add syntax highlighting for YAML code snippets. (#314)
Fenced code blocks support YAML syntax highlighting.
2016-09-07 19:39:27 +02:00
Josef Friedrich a1b486a7b9 Add missing dot 2016-09-07 19:38:50 +02:00
Josef Friedrich c5228ff3f8 Shorten key 2016-09-07 19:38:02 +02:00
Josef Friedrich 749b2f5244 Better wording 2016-09-07 19:36:40 +02:00
Josef Friedrich e2fcdb3c1a Add section 'Configuration using a web interface' 2016-09-07 19:35:21 +02:00
Josef Friedrich b5ea16d761 Extend debugging section 2016-09-07 19:24:38 +02:00
Josef Friedrich c49f14a8bb Add dig command 2016-09-07 18:37:43 +02:00
Josef Friedrich 2e283a0570 Add override section 2016-09-06 17:19:44 +02:00
Kai Ren d9e1c0ad61 remove unnecessary spamd process (#312) 2016-09-06 13:06:25 +02:00
Josef Friedrich 2241f9b61e Merge pull request #310 from Zehir/master
Fix for multiple IPV4
2016-09-05 08:09:27 +02:00
Zehir e5d14fd0bc Fix for multiple IPV4 2016-09-04 23:26:10 +02:00
Josef Friedrich 06125e1f1a Show debug message when config/dovecot.cf gets loaded (#307) (#308) 2016-09-04 20:38:30 +02:00
Josef Friedrich fce98eaecb Use COPY instead of ADD in Dockerfile (#301) (#304)
For other items (files, directories) that do not require ADD’s tar
auto-extraction capability, you should always use COPY.

  docker run --rm -i lukasmartinelli/hadolint < Dockerfile

shows:

  /dev/stdin:49 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:50 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:62 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:63 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:77 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:78 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:81 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:82 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:85 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:89 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:107 DL3020 Use COPY instead of ADD for files and folders
  /dev/stdin:109 DL3020 Use COPY instead of ADD for files and folders
2016-09-04 20:37:16 +02:00
Josef Friedrich 8d7301d679 Add tree view of config folder 2016-09-04 19:13:18 +02:00
Josef Friedrich 1276a7d95e Update name 2016-09-04 19:12:17 +02:00
Josef Friedrich 9d7011a6fb Add more documentation 2016-09-04 19:00:17 +02:00
bigpigeon 0baf7954c5 missing with relayhost (#303)
* add AWS_SES_PORT env

* issue: relayhost port
2016-09-02 14:25:15 +02:00
Morgan Kesler 02f854f4e9 Allow user to provide Amavis configuration (#299)
* Add the option of manually specifying paths to SSL certificates

* Adding tests for manual SSL changes

* Allow user provided configuration of amavis
2016-09-02 09:08:41 +02:00
Josef Friedrich 4e253a098d Simplify Dockerfile (#300)
The 'ADD' instruction can handle directories as source. It is no need
to add every script in 'target/bin' explicitly. New scripts can be
added without touching the Dockerfile.
2016-09-02 09:08:05 +02:00
Josef Friedrich f47bfb7edb Latest version of docker-mailserver uses dovecot instead of courier 2016-09-01 17:22:50 +02:00
Josef Friedrich ac36272d97 Improve and extend setup.sh (#295)
* Improve and extend setup.sh

Add subcommands 'debug show-mail-logs', 'inspect', 'login'. Add option
'-c' to specify the name of the running container. Add option '-i' to
specify the image name.

* Add tests for setup.sh
2016-09-01 12:10:23 +02:00
Stig Otnes Kolstad 48c107a302 Fixed incorrect environment variable 2016-08-31 16:28:52 +02:00
Morgan Kesler ee0c4244cc Add the option of manually specifying paths to SSL certificates (#296)
* Add the option of manually specifying paths to SSL certificates

* Adding tests for manual SSL changes
2016-08-31 15:15:39 +02:00
Josef Friedrich afb8c05cf9 Refactor Dockerfile (#293)
Split long "oneliner" in multiple lines to increase readability. Sort
installed packages alphabetically. Replace tabs with to two spaces.
2016-08-30 09:59:46 +02:00
Josef Friedrich 81f42d096a Improve script 'debug-fetchmail' (#292)
The option '--check' checks for new mails without actually fetching
or deleting mail. Without '--check' 'debug-fetchmail' throws errors if
the external mail accout has new mails and the smtp daemon is not
running.
2016-08-30 09:58:45 +02:00
Josef Friedrich 0064a19c68 Let Travis CI test on all branches (#291)
Most developers implement new docker-mailserver features on feature
branches before they create a pull request. This commit enables Travis
CI testing on all branches except 'donttestme'. Developers now can
'pre-test' their features branches without permanentaly hacking
'.travis.yml'. More testing is good!
2016-08-30 09:58:22 +02:00
Jack Twilley dbc6c6dffa Actually use the key. (#290)
This code was mistakenly not committed, and is required for the feature to work.
2016-08-30 09:57:44 +02:00
Josef Friedrich b5ddfbd867 Add sample debug output 2016-08-30 00:14:21 +02:00
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