Commit Graph

1016 Commits

Author SHA1 Message Date
andryyy
4a0a9cbf1f Minor tweaks 2017-06-13 23:38:24 +02:00
andryyy
0fd0cff8ac Auto-sign autodiscover and autoconfig for all domains found in mailcow - only if A records exists and matches 2017-06-13 23:37:48 +02:00
andryyy
9a99975394 Fix duplicate postfix install 2017-06-13 07:45:24 +02:00
andryyy
3e09d11856 Be less verbose 2017-06-13 07:41:13 +02:00
andryyy
fcfc119805 Fix race condition with workaround 2017-06-13 07:39:45 +02:00
andryyy
35a73025c7 Add until to hopefully stop race condition 2017-06-12 23:49:21 +02:00
andryyy
a33aa7a2cb Fix Dockerfile 2017-06-12 23:48:56 +02:00
andryyy
261e1ad4fb Rspamd stable 2017-06-12 23:48:42 +02:00
andryyy
b367ec0ace Add Unbound as better DNSSEC enabled resolver 2017-06-12 23:48:27 +02:00
Michael Kuron
d6c9f96b4e Don't keep development packages in php-fpm image. 2017-06-12 17:06:57 +02:00
andryyy
ef62f6b383 Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
Todo: Add AAAA check, add check for additional_san
2017-06-12 10:45:12 +02:00
andryyy
ad969d15cd Remove bind9 2017-06-12 10:43:36 +02:00
andryyy
a25fc17b87 Fix permission 2017-06-12 10:43:28 +02:00
andryyy
c0619a5b6b Less layers 2017-06-12 10:43:11 +02:00
andryyy
5321ebe707 Push to Dovecot 2.2.30 2017-06-12 10:42:48 +02:00
andryyy
cf44745c18 Less layers 2017-06-12 10:42:33 +02:00
andryyy
02ceb6d3ef Remove obsolete files 2017-06-12 10:40:08 +02:00
andryyy
663ea7815c Use new milter interface 2017-06-06 22:01:41 +02:00
andryyy
f84a3a731a File indents 2017-05-29 21:50:43 +02:00
andryyy
ed58a9a9b3 File permission 2017-05-29 21:49:47 +02:00
André Peters
ae707cd8ff Revert "php-fpm dockerfile simplification" 2017-05-29 08:45:30 +02:00
André Peters
192eb50449 Merge pull request #319 from TBK0000/php-fpm-alpine
php-fpm dockerfile simplification
2017-05-29 07:32:24 +02:00
TBK
9ee00c9933 php-fpm dockerfile simplification
By using Alpine pkgs instead of the official php base image the image size has been reduced from 459 MB to 55.7 MB a reduction of a whooping 403.3 MB :D
2017-05-28 23:33:16 +02:00
TBK
e151e32730 ShellCheck
http://www.shellcheck.net/
2017-05-28 23:28:41 +02:00
TBK
2d0c4db2a5 Clamav dockerfile simplification
- Locked to specific release.
- Fewer layers.
- Size reduction of 49 MB.
2017-05-28 16:23:13 +02:00
andryyy
95c30e8791 Remove change... 2017-05-26 23:03:51 +02:00
andryyy
178a219c05 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-05-26 23:02:34 +02:00
André Peters
4f2a1d940c Merge pull request #313 from mkuron/fail2ban
Authentication rate limiting for Mailcow UI
2017-05-25 15:52:15 +02:00
Michael Kuron
1906c26e5d Auth rate limiting: Mailcow UI and correct treatment of v4-mapped addresses 2017-05-25 13:57:50 +02:00
andryyy
0403579b7e Use hostname 2017-05-25 11:00:14 +02:00
André Peters
8c73b8eb5f Merge pull request #311 from mkuron/fail2ban
Fail2ban-like authentication rate limiting for Postfix, Dovecot and SOGo
2017-05-25 10:58:14 +02:00
Michael Kuron
88f94a2e15 Authentication rate limiting for Postfix, Dovecot and SOGo 2017-05-25 10:44:10 +02:00
andryyy
d1b99d2355 Remove workaround 2017-05-23 22:22:40 +02:00
andryyy
b17543f211 Fixes 2017-05-23 21:50:48 +02:00
andryyy
fd5a59086b More structural changes 2017-05-23 09:36:59 +02:00
André Peters
a72631fb15 Merge branch 'master' into dev 2017-05-17 21:20:12 +02:00
andryyy
a7b854f7ce Fix Dockerfile, again 2017-05-17 21:16:48 +02:00
andryyy
61de3c354c Use Alpine ClamAV 2017-05-17 07:48:48 +02:00
andryyy
dd5b46e9ee Use Alpine PHP-FPM 2017-05-17 07:48:37 +02:00
andryyy
f38d726ed2 Revert base of Rspamd 2017-05-17 07:46:27 +02:00
andryyy
861ade77ab New Dockerfile 2017-05-14 22:11:12 +02:00
andryyy
be044a1592 Add openssl 2017-05-14 22:10:25 +02:00
andryyy
e795898b80 Fix Redis migration 2017-05-14 20:16:43 +02:00
andryyy
1add37157d Remove icu lib dev 2017-05-14 20:15:34 +02:00
andryyy
ce4c5b80b8 Fix migration to Redis 2017-05-14 20:07:43 +02:00
andryyy
a46a84a949 Fix docker-entrypoint, fixes key merging from file to Redis 2017-05-14 14:26:07 +02:00
andryyy
fbac28974b Base on Alpine 2017-05-14 14:25:10 +02:00
andryyy
4b875d1468 Remove some tools after installation 2017-05-14 14:24:55 +02:00
andryyy
cf4cefbccd Base on Alpine, still needs cleanup 2017-05-14 14:23:26 +02:00
andryyy
980acb507e Log to redis and file 2017-05-13 22:58:10 +02:00
Michael Käufl
766a986f27 [Dockerfiles] Do not install both curl and wget
curl is used in rspamd-pipe-*, so I kept curl
2017-05-13 18:10:04 +02:00
Michael Käufl
7fd982f948 [Dockerfiles] Do not persist DEBIAN_FRONTEND=noninteractive in images
According to https://github.com/moby/moby/issues/4032#issuecomment-163689851
(and some other comments in the issue) it's not recommended to set
`DEBIAN_FRONTEND` via `ENV` in a Dockerfile.  `ARG` has the same
effect at build time but does not change `DEBIAN_FRONTEND` in the
final image, so I switched to it.  It should also work to remove it
completely.
2017-05-13 18:10:04 +02:00
Michael Käufl
e081a847a1 [Dockerfiles] Do not keep curl installed 2017-05-13 18:10:04 +02:00
Michael Käufl
559d9dda71 [Dockerfiles] Run rm as early as possible 2017-05-13 18:10:04 +02:00
Michael Käufl
85be7aa973 [Dockerfiles] Sorted list of packages 2017-05-13 18:10:04 +02:00
Michael Käufl
9ab9d76240 [Dockerfiles] Used best practices for apt-get
See https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#apt-get

- Replaced `-y install` with `install -y` (unification)

- Put every package on its own line

- Moved `rm -rf /var/lib/apt/lists/*` in the same `RUN` statement as `apt-get`

- Removed unnecessary `apt-get clean`
  See 03e2923e42/contrib/mkimage/debootstrap (L82-L105)
2017-05-13 18:09:53 +02:00
Michael Käufl
d0d0961006 [Dockerfiles] Replaced deprecated MAINTAINER with LABEL
Used format proposed in
https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
2017-05-13 18:09:45 +02:00
Michael Käufl
6cd97c46c5 Used tabs for indentation in Dockerfiles 2017-05-12 20:59:27 +02:00
andryyy
93046dea45 Fixes #261 2017-05-09 21:29:51 +02:00
andryyy
a18bcce93d Minor style changes 2017-05-08 15:38:03 +02:00
andryyy
653d23a843 Migrate some settings and DKIM keys to Redis when starting 2017-05-08 15:35:24 +02:00
andryyy
a267a4ad71 Use DKIM selector from Redis 2017-05-08 14:11:30 +02:00
andryyy
d614aaf617 Add Json logger 2017-05-06 23:42:18 +02:00
andryyy
a790c2bdc0 Add phpredis 2017-05-05 10:34:31 +02:00
andryyy
3fc42465a0 Fix width problems in mailbox table, change image name to stretch 2017-05-02 09:42:07 +02:00
andryyy
dfee8efa97 Fix DBUSER in entrypoint 2017-04-28 12:24:14 +02:00
andryyy
77992be9fc Update Dovecot and Pigeonhole 2017-04-28 10:53:04 +02:00
andryyy
40f86057e5 Move forwarding host script to Docker image 2017-04-23 19:38:47 +02:00
Michael Kuron
08612f0aef Merge remote-tracking branch 'origin/dev' into forwardinghosts 2017-04-22 18:13:58 +02:00
andryyy
cae7ff7816 Initial clamd container 2017-04-20 21:13:41 +02:00
Michael Kuron
a75d916b74 Forwarding hosts in postscreen 2017-04-17 15:51:50 +02:00
andryyy
06928ec841 imapsync: added option to delete from source after transfer 2017-04-10 13:08:02 +02:00
andryyy
e03136bf21 Add description to command 2017-04-08 23:36:46 +02:00
andryyy
8e3dceb512 Rebase images on stretch 2017-04-05 22:25:59 +02:00
andryyy
5bee39dc95 Use fixed IDs 2017-04-05 22:25:34 +02:00
andryyy
13cd5e0b1d Run sievec after adding keys, use fixed IDs for users 2017-04-05 22:25:16 +02:00
andryyy
2b955d08ab Base on Stretch, add Zeyple 2017-04-05 22:19:41 +02:00
andryyy
58d86dadce Rebase Dovecot on Stretch slim, build from stable source with latest stable Pigeonhole for antispam replacement 2017-04-03 20:06:49 +02:00
andryyy
d5c8f0160c Go back to apt-stable repo 2017-03-26 11:07:50 +02:00
andryyy
42eabf4cb3 Fix Postfix sender when sender is alias in alias domain 2017-03-20 21:38:52 +01:00
andryyy
09850a76e5 Use Rspamds new tag symbol 2017-03-12 14:38:20 +01:00
andryyy
276e370989 Rspamd tag check for non-spam only (post-filter), remove sql files from repository" 2017-03-08 17:58:00 +01:00
andryyy
489b1ff1c0 Fix domain visibility in SOGo (domains should _not_ see each other) 2017-03-08 17:46:21 +01:00
Michael Käufl
a06bac6739 [Dockerfiles] Use COPY instead of ADD 2017-03-07 15:48:24 +01:00
Michael Käufl
9762176810 [Dockerfiles] From -> FROM 2017-03-07 15:48:22 +01:00
andryyy
c283c85d51 Update Postfix and Dovecot, add ignore 2017-03-06 10:33:44 +01:00
andryyy
be8031d8ff Move sleep to docker-compose 2017-03-05 12:25:46 +01:00
andryyy
3e91d06d73 Change maintainer 2017-03-04 15:07:07 +01:00
andryyy
e332579a40 Sleep 30 seconds to wait for Nginx restart 2017-03-04 10:41:36 +01:00
andryyy
c303ef35ae Fix Rspamd 2017-03-04 00:06:58 +01:00
andryyy
714490ad5e Fix Rspamd 2017-03-04 00:02:42 +01:00
andryyy
24f3bf009c Fix Rspamd 2017-03-03 23:45:26 +01:00
andryyy
f6c383431e Fix Rspamd 2017-03-03 23:42:49 +01:00
andryyy
66cbc479d7 Fix Rspamd Dockerfiles 2017-03-03 23:31:32 +01:00
andryyy
614da27c03 Add permission 2017-03-03 22:50:04 +01:00
andryyy
b656fedca6 Rspamd: Wait for maps and settings 2017-03-03 22:26:50 +01:00
andryyy
cad084598d Remove old files, fix tagging 2017-03-03 19:01:33 +01:00
andryyy
83e02cbe4a Init container first 2017-03-03 15:46:43 +01:00
andryyy
0931a153c1 Use local mirrors 2017-03-03 10:54:25 +01:00
andryyy
608cb8ada7 Add config files to Rspamd 2017-02-28 10:01:04 +01:00
andryyy
1668a4e871 Restart SOGo services with delay and not as group 2017-02-23 20:15:27 +01:00
andryyy
1c12799091 Add bind9 and replace pdns 2017-02-23 16:06:28 +01:00
andryyy
3c115c6ea3 Add larger delay between reconf_domains and sogo restart 2017-02-22 19:32:01 +01:00
andryyy
76426b65b2 Not of any use as of today 2017-02-21 22:26:20 +01:00
andryyy
f13df1ec46 Add mraptor to rspamd 2017-02-18 20:29:15 +01:00
andryyy
0ac333bfbf Add Roundcube reqs 2017-02-08 17:21:20 +01:00
andryyy
0a828e8f23 Fix SOGo Dockerfile 2017-02-02 21:12:30 +01:00
andryyy
bd57cd8d0a Remove sender_acl from view to prevent race conditions, use SOGo delegations instead 2017-02-02 21:02:11 +01:00
André Peters
432246b3ca Merge branch 'master' into dev 2017-01-29 22:26:06 +01:00
andryyy
2c04a77e17 Revert change, directory is already created 2017-01-25 19:10:31 +01:00
André Peters
f392a0da81 Merge pull request #20 from psi-4ward/dovecot-volume-fix
Fixed: Dovecot depend on sogo volumes
2017-01-23 23:22:46 +01:00
andryyy
e683faac1b Add libsasl2-modules 2017-01-22 16:42:14 +01:00
andryyy
68d674197d Loop reconf script, add minimal httpd for web resources chrooted 2017-01-21 11:47:51 +01:00
andryyy
b79259875a Wait for SQL before creating view, add kind and multi bookings to view 2017-01-18 21:27:38 +01:00
andryyy
1587c73dad Dovecot imapsync changes 2017-01-15 17:38:54 +01:00
andryyy
89b5d9bde6 Easier container names, allow to set HTTPS port, Typo fix 2017-01-12 21:40:42 +01:00
andryyy
c403933017 Add imapsync tool to Dovecot and change container layout 2017-01-12 20:16:37 +01:00
andryyy
1da550b499 Check Postfix config before spawning Postfix procs 2017-01-12 20:16:01 +01:00
Christoph Wiechert
32f1b672fc Fixed: Dovecot depend on sogo volumes
Volume mount from sogo should be optional
2017-01-11 19:59:46 +01:00
andryyy
75139e51cc Use a single view for all domains - easier but will cause more load with large setups, use procs here instead 2017-01-05 20:35:46 +01:00
andryyy
8503980930 Revert vol change 2017-01-03 10:35:41 +01:00
andryyy
b5e5f8f934 Add volume 2017-01-01 19:49:02 +01:00
andryyy
6d24f582b6 Fixes #4 2016-12-29 21:17:24 +01:00
andryyy
f7b95ae5a0 Restart SOGo from within panel 2016-12-25 10:03:37 +01:00
andryyy
301bd3bc9f Fix rmilter logging 2016-12-23 12:52:36 +01:00
andryyy
29f343c193 Added cron to SOGo, init config on start, added syslog to rmilter 2016-12-23 12:13:21 +01:00
andryyy
5d0081a0ec Base all on xenial to save some space loading chunks, clean-up images 2016-12-23 10:27:48 +01:00
andryyy
b0db732e87 Needs lowercase master user with SHA1 2016-12-23 07:07:50 +01:00
andryyy
de36fe1571 Be more compatible... 2016-12-21 09:38:19 +01:00
andryyy
5aa3ede06e Typo... 2016-12-21 09:34:08 +01:00
andryyy
eef81c58ae Add random created master at each startup to handle SOGo features 2016-12-21 08:25:47 +01:00
andryyy
85b243a15b SOGo multi-domain setup 2016-12-20 15:24:33 +01:00
andryyy
60fca24d1b Create sieve_after handler 2016-12-19 15:19:35 +01:00
andryyy
38e24b5ce3 Back to utf8mb4... 2016-12-19 12:24:39 +01:00
andryyy
1cad07dc5c Back to utf8mb4... 2016-12-19 12:23:56 +01:00
andryyy
8241d576df Base on Ubuntu LTS 16.04 2016-12-18 13:43:00 +01:00
andryyy
d128d46240 New system for SOGo to be able to use cronjobs... mail alarms need bug fix from SOGo 2016-12-18 12:52:32 +01:00
andryyy
cd6ab4b464 Must use MySQL 5.7 for default row format atm, moved volumes etc., some changes to Dockerfiles 2016-12-18 00:10:52 +01:00
andryyy
7ef70e4c81 Move dkim data, vmail and dbs to volumes, changed README 2016-12-17 20:31:59 +01:00
andryyy
70fec52fd4 Write defaults as sogo user 2016-12-17 13:36:59 +01:00
andryyy
9022176ad0 Nginx needs no modification anymore 2016-12-17 10:07:07 +01:00
andryyy
81e8858766 Use gosu 2016-12-17 10:06:49 +01:00
andryyy
8559de7ae6 Fix rspamd settings and dynamic configuration 2016-12-16 08:15:20 +01:00
andryyy
7c9f312f0f Add data containers to fix permission issues 2016-12-15 10:08:06 +01:00
andryyy
d6e0c46b9a Use entrypoint to sed some vars 2016-12-15 10:07:46 +01:00
andryyy
9ce260fbe0 Use entrypoint to sed some vars 2016-12-15 10:07:09 +01:00
andryyy
b6e7c25bee Sigh. 2016-12-14 16:11:49 +01:00
andryyy
9e8a003508 Remove old file 2016-12-14 15:56:30 +01:00
andryyy
2aca3e0d30 Argh. 2016-12-14 15:53:00 +01:00
andryyy
583cf67f86 Change way defaults are written 2016-12-14 14:53:56 +01:00
andryyy
5ce0d0bb6c Fix Dockerfile for SOGo... 2016-12-14 09:52:07 +01:00
andryyy
568d73cf4d Fix SOGo Dockerfile 2016-12-14 09:48:55 +01:00
andryyy
5d410c1a39 Change SOGo Dockerfile 2016-12-14 09:25:54 +01:00
andryyy
0498a8f6be Move Nginx to Docker hub 2016-12-14 09:06:14 +01:00
andryyy
6104cd11ce Move php-fpm to Docker hub 2016-12-14 08:51:43 +01:00
andryyy
1910e3bc29 Fix dovecot for Docker 2016-12-13 20:53:42 +01:00
andryyy
5ec67211d8 Move dovecot 2016-12-13 20:52:57 +01:00
andryyy
36b09f339b Pipe to rspamd 2016-12-13 13:38:45 +01:00
andryyy
7e25826d4e Antispam plugin for Dovecot + rspamd pipe script 2016-12-13 12:26:10 +01:00
andryyy
f76ebfac79 Remove debug optin 2016-12-13 08:01:49 +01:00
andryyy
977a5b4d47 Fix trap for postfix for proper sigterm handling 2016-12-13 07:58:53 +01:00
andryyy
47a5166383 Add pdns resolver, changed some other files 2016-12-11 18:58:29 +01:00
andryyy
e3f0058f4f Changes... 2016-12-11 14:13:17 +01:00
andryyy
42a64b45d7 Fixes, working rspamd settings, generate DKIM keys in PHP 2016-12-10 21:49:41 +01:00
andryyy
5b9e598f6f Add dummy folders for Dockerfiles we pull from hub 2016-12-09 20:47:15 +01:00
andryyy
5f04dc0b04 mailcow dockerized 2016-12-09 20:39:02 +01:00