Commit Graph

643 Commits (b7cb4ac9d5a2cb340df73874b5f9c82714df9f1a)

Author SHA1 Message Date
andryyy 813207c694 Listen on internal IPv6 2017-05-25 10:59:57 +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 fd92283fb8 Add missing ; 2017-05-24 10:03:06 +02:00
andryyy 56a9a09e2f Further migration 2017-05-23 22:23:46 +02:00
andryyy 466b8137e5 Add log_helper to Rspamd, add IPv6 for http maps in Nginx, make Bind listen on v6 and add acl for internal network 2017-05-23 22:23:34 +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 21714bd054 Remove obsolete map 2017-05-23 21:50:33 +02:00
andryyy f3a1d81347 Rate extensions 2017-05-23 21:50:05 +02:00
André Peters d16304bf6a Merge pull request #299 from PhoenixPeca/dev
Added a preliminar italian translation - DEV
2017-05-23 09:38:34 +02:00
andryyy fd5a59086b More structural changes 2017-05-23 09:36:59 +02:00
andryyy 5a62d29fa6 Fixes #301 2017-05-20 14:47:36 +02:00
andryyy e99db685e5 Change map watch interval, remove Mraptor 2017-05-20 14:28:05 +02:00
Phoenix Eve C. Aspacio e1d39983f6 Added Italian language file 2017-05-19 18:35:39 +08:00
Phoenix Eve C. Aspacio 62750b716a Added Italian Language 2017-05-19 18:34:29 +08:00
andryyy 0e80033535 Remove autocomplete 2017-05-19 09:02:52 +02:00
andryyy 4ffa80a669 Remove ip from session check 2017-05-18 19:45:41 +02:00
andryyy eb0920366c Remove defect domain administrators 2017-05-18 10:18:13 +02:00
andryyy 90f6d53418 License 2017-05-18 09:47:38 +02:00
André Peters 03b20a4570 Create LICENSE 2017-05-18 09:08:04 +02:00
andryyy 9965ff10a7 Fix mynetworks: Add mailcow ipv6 network 2017-05-17 22:38:59 +02:00
André Peters a72631fb15 Merge branch 'master' into dev 2017-05-17 21:20:12 +02:00
andryyy c9184a9bad Various fixes and changes 2017-05-17 21:17:00 +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
Dennis Neufeld 0d3d9b8c15 Fix bug: Session cookie domain
If the web domain is != mail domain, the session cookie is set to the wrong domain.
2017-05-16 19:46:24 +02:00
Dennis Neufeld 53d02ded2a Add missing question mark (GET-URL) 2017-05-16 19:25:35 +02:00
Dennis Neufeld b2a5bf0453 Formatting, Updated Bootstrap/Bootswatch 2017-05-16 19:20:58 +02:00
Dennis Neufeld 9f4491b9be Language selection: Fix missing negation 2017-05-16 18:17:31 +02:00
Dennis Neufeld 8fb6a4c34d Language selection
Better way to select language
2017-05-16 18:11:58 +02:00
Dennis Neufeld 4a9c9c220a Updated languages
Use HTML5-linebreak instead of XHTML
2017-05-16 18:11:00 +02:00
andryyy cab5277ce5 Check if variable is not empty to prevent warnings 2017-05-16 11:59:20 +02:00
andryyy 08ad62a253 Fix domain actions 2017-05-16 09:51:05 +02:00
andryyy 4007db0862 Fix domain actions 2017-05-16 09:50:15 +02:00
andryyy e91c6916ab CSRF protection 2017-05-15 11:37:12 +02:00
andryyy 4c6cfa66a8 CSRF protection 2017-05-15 11:36:31 +02:00
andryyy 82c805d091 Remove owasp tool 2017-05-15 09:29:03 +02:00
andryyy fccdabb113 Remove owasp csrf tool 2017-05-15 09:00:37 +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 d06e938d0e Destroy session when invalid, use more compatible js path 2017-05-14 21:54:18 +02:00
andryyy 49f28ecaf8 Destroy session when it becomes invalid 2017-05-14 21:53:08 +02:00
andryyy e795898b80 Fix Redis migration 2017-05-14 20:16:43 +02:00
andryyy 3ab77b1303 Skip domain in config 2017-05-14 20:15:59 +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 ed1679baef Disable error all 2017-05-13 23:07:48 +02:00
andryyy 2291b4e121 Added SOGo logs 2017-05-13 22:58:29 +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
andryyy 0a90bdc4df Fixes #264 2017-05-13 09:42:17 +02:00
André Peters 42445bee52 Merge pull request #265 from michael-k/indentation
Used tabs for indentation in Dockerfiles
2017-05-13 09:04:46 +02:00
andryyy 15853df84c JS changes and fixes 2017-05-13 08:55:34 +02:00
Michael Käufl 6cd97c46c5 Used tabs for indentation in Dockerfiles 2017-05-12 20:59:27 +02:00
andryyy b1d0776ad1 Fix selection in filter field 2017-05-11 23:18:57 +02:00
andryyy a478c50681 Change to tabstops 2017-05-11 23:15:06 +02:00
andryyy 14a9a1c616 A lot of changes... still not finished, use with caution.
Edit actions can be done with the internal API, trying to get rid of edit and add files
2017-05-11 23:10:32 +02:00
andryyy f582f0f01b Various fixes, update u2flib 2017-05-09 23:25:23 +02:00
andryyy a8e550244e Remove DKIM keys with api 2017-05-09 21:30:08 +02:00
andryyy 93046dea45 Fixes #261 2017-05-09 21:29:51 +02:00
andryyy 4099b6e25d Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-05-09 13:44:03 +02:00
andryyy bbff045d04 Use API for forwarding hosts 2017-05-09 13:43:54 +02:00
Michael Kuron 759f21ac6b Consistent symbol names for forwarding hosts
multimap.conf and force_actions weren't using the same name
2017-05-09 07:29:43 +02:00
andryyy 74359f6df4 Use Redis for forwarded_hosts, some fixes 2017-05-08 23:09:40 +02:00
andryyy d64ed65575 Add multimap and forced actions for forwarded_hosts, removed from settings 2017-05-08 23:09:21 +02:00
André Peters 5861bec0c3 Merge pull request #256 from mkuron/forwardinghosts
Optionally enable spam filter for forwarding hosts
2017-05-08 19:00:42 +02:00
andryyy 97dc8d9ff8 Fix modal in admin 2017-05-08 15:44:30 +02:00
andryyy f77c40a179 Better log table, some MySQL to Redis migrations, API changes, other minor changes... 2017-05-08 15:41:05 +02:00
andryyy cdf7c87e20 Deleted two http maps, replaced by redis multimaps, much better tag system 2017-05-08 15:39:33 +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
Michael Kuron 7931b00fa0 Fix column width 2017-05-08 07:46:36 +02:00
Michael Kuron 519be0d9f8 Merge branch 'forwardinghosts' of github.com:mkuron/mailcow-dockerized into forwardinghosts 2017-05-08 07:39:51 +02:00
Michael Kuron 7efc720d47 Merge remote-tracking branch 'origin/dev' into forwardinghosts 2017-05-08 07:39:30 +02:00
andryyy 3b80a1af37 Change admin layout, add Postfix logs 2017-05-08 00:27:35 +02:00
andryyy aa98d86feb Sieve rule for tags changed 2017-05-08 00:27:16 +02:00
Michael Kuron 2444cd1cd2 Remove duplicated SQL 2017-05-07 20:12:24 +02:00
andryyy 2dd9e1b14f Fix hostname detection 2017-05-07 17:46:10 +02:00
andryyy a52f15e5e8 Remove submodule, add as common directory 2017-05-07 13:44:35 +02:00
andryyy 3c937f75ba Add OWASP CSRF Protector, add more secure session handling 2017-05-07 13:38:31 +02:00
Michael Kuron ae6d7d63fc Optionally enable spam filter for forwarding hosts 2017-05-07 08:50:28 +02:00
andryyy 8c8bfc0108 Add Json log parser for Dovecot and Postfix containers 2017-05-06 23:52:40 +02:00
andryyy d614aaf617 Add Json logger 2017-05-06 23:42:18 +02:00
andryyy fa3a47fde5 Log to syslog 2017-05-06 23:42:07 +02:00
andryyy ecda4fb1d1 Change whitelist for forwarding hosts 2017-05-06 23:41:58 +02:00
andryyy 026d2f14d0 Merge lang files from dev 2017-05-06 08:10:31 +02:00
andryyy b3a161f930 Keep format 2017-05-06 08:09:40 +02:00
andryyy 1501df6e42 Use Redis for DKIM keys, define any selector, auto-merge old keys to Redis and fallback to files 2017-05-05 10:35:27 +02:00
andryyy a790c2bdc0 Add phpredis 2017-05-05 10:34:31 +02:00
andryyy e3f9839410 Do not use sld for DKIM signing 2017-05-04 19:12:21 +02:00
andryyy 711fa922e6 Fail silent 2017-05-03 22:26:21 +02:00
andryyy edc41b48d1 Add map for scheme... 2017-05-03 22:26:10 +02:00
andryyy f1e4b4fb39 Added TOTP, minor fixes 2017-05-03 18:05:35 +02:00
andryyy 2f0129539b Hopefully fix all Nginx reverse proxy issues, see documentation updates! 2017-05-03 18:05:13 +02:00
andryyy fe43da48be Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-05-03 18:02:13 +02:00
andryyy e80ecd8a4c Show correct timezone in sync jobs 2017-05-03 18:02:04 +02:00
broedli 0d9cdce818 Adjust 'save changes' button
save buttons are green everywhere else ...
2017-05-02 17:35:45 +02:00
andryyy 24c97515a8 80% table width on large screens, some minor td size changes 2017-05-02 15:17:37 +02:00
andryyy 3fc42465a0 Fix width problems in mailbox table, change image name to stretch 2017-05-02 09:42:07 +02:00
andryyy eb6bc9e738 Mailbox table: break all 2017-05-01 19:13:46 +02:00
andryyy e7a1ec2278 Fix key_id 2017-05-01 17:03:47 +02:00
andryyy ea77f60dae Fixes U2F, fixes #231 2017-05-01 16:34:09 +02:00
andryyy 4cce211c22 Fix db for sync jobs, fixes #232 2017-05-01 16:20:21 +02:00
andryyy 53c3c47049 Show mailcow apps in header 2017-04-30 21:44:42 +02:00
andryyy 3ffc20e238 Fixes #225 > Subquery can return multiple rows 2017-04-30 12:18:19 +02:00
andryyy f4a0289e71 Important fix: Adding a domain was not possible 2017-04-29 22:19:35 +02:00
andryyy 9bb1c2cc06 Remove old file 2017-04-29 16:36:51 +02:00
andryyy 8f213e8df9 Changes to api path 2017-04-29 16:36:41 +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 f5255acc97 Use plus symbol on top and bottom 2017-04-28 10:52:54 +02:00
andryyy c29923d77a Use JS array instead of JSON object when creating lists of items for quick actions, respect all pages 2017-04-27 20:11:05 +02:00
andryyy 25e6339940 Fix domain admin table, move quick actions 2017-04-27 19:34:00 +02:00
andryyy 2c2441eaf0 Confirm deletion, some other fixes to quick actions, added language strings 2017-04-27 11:58:20 +02:00
andryyy 68e67ba9b7 Fix quick actions for alias table when pagination is true 2017-04-27 09:49:04 +02:00
andryyy e26304f6d0 Fix checkbox toggling, add nav tabs, fix broken domain quota when adding a new domain 2017-04-27 08:44:21 +02:00
andryyy 5586bd2bb5 Initial push or quick actions in alias table 2017-04-26 23:38:18 +02:00
andryyy a03b36e0c3 Add object to Nginx api configuration 2017-04-26 23:37:55 +02:00
andryyy fd84b2ffa9 Change DKIM to new method, add clamav forced action when virus is found" 2017-04-25 20:32:36 +02:00
andryyy f9662025cc Initial fix for sorting of quotas 2017-04-25 20:32:29 +02:00
andryyy 4729a912c7 Fix max aliases 2017-04-25 11:27:59 +02:00
andryyy e4310cafb3 Revert RP changes 2017-04-25 10:49:38 +02:00
André Peters 238c3d8928 Merge pull request #219 from mkuron/size
Remove rspamd size limit
2017-04-24 20:45:04 +02:00
Michael Kuron f3fad4e7a2 Remove rspamd size limit
This ensures that the spam and antivirus filters cannot be evaded by making the message large enough.
Rspamd does not need a size limit on its own (e.g. for DoS protection) as Postfix already has a size limit (message_size_limit).
2017-04-24 19:49:41 +02:00
andryyy 8b463d53d6 Fixes adding aliases to alias domains 2017-04-24 13:15:04 +02:00
andryyy f81bcb161a Fix editing catch-all addresses, show primary domain of alias in alias domain 2017-04-24 13:13:23 +02:00
André Peters 0f3202109d Merge pull request #212 from mkuron/reverseproxy
Fix CalDAV/CardDAV URLs displayed in SOGo web interface when used behind reverse proxy
2017-04-24 10:09:32 +02:00
andryyy 40f86057e5 Move forwarding host script to Docker image 2017-04-23 19:38:47 +02:00
andryyy 755da65426 Change path 2017-04-23 19:38:27 +02:00
andryyy 53b6662aea Minor and temp. workaround for panel 2017-04-23 19:37:45 +02:00
andryyy 10d513e124 Merge branch 'dev' of https://github.com/andryyy/mailcow-dockerized into dev 2017-04-23 18:20:57 +02:00
André Peters db2d0fa21b Merge pull request #210 from chaosbunker/setup-relayhost-script
port of mailcow-setup-relayhost from mailcow 0.14 to work with mailcow-dockerized
2017-04-23 18:20:46 +02:00
andryyy 55f6384f2a Change to hostname, connection is not important for container start 2017-04-23 17:43:29 +02:00
Michael Kuron 6c4c7a690e Merge remote-tracking branch 'origin/dev' into forwardinghosts 2017-04-23 07:59:55 +02:00
andryyy 4516e1b9b9 Do not delete from source (default) 2017-04-22 23:22:05 +02:00
Michael Kuron affa52edcf Forwarding hosts: don’t add configuration if none are defined 2017-04-22 18:34:49 +02:00
Michael Kuron 08612f0aef Merge remote-tracking branch 'origin/dev' into forwardinghosts 2017-04-22 18:13:58 +02:00
Michael Kuron 894d6234e9 Improvements to forwarding hosts in Postfix
- No more premature EOF and no more leaking of bash processes
- Log result
- Correctly treat non-CIDR entries
- Adapt to schema change from df71e97
- Correctly report SQL failure
2017-04-22 14:28:51 +02:00
Michael Kuron df71e97a09 Forwarding hosts: use SPF records if present 2017-04-22 12:33:53 +02:00
andryyy 0c7ff2f4b6 Added clamd container for testing 2017-04-21 22:09:09 +02:00
chaosbunker d901bd453b Fix: also find base directory, when not called 'mailcow-dockerized' 2017-04-21 11:19:38 +02:00
andryyy 790c922375 New db init system 2017-04-21 10:20:31 +02:00
andryyy 8adcc4fcd3 Force add mailcow_black/white 2017-04-21 10:19:45 +02:00
andryyy be28877f68 Remove permanent moo symbol 2017-04-21 10:19:24 +02:00
andryyy 95cbfe3661 Move mail to spam when DKIM fails, ignore when white/blacklist and honor other actions 2017-04-21 10:19:07 +02:00
andryyy babad4f137 Anti-Virus local configuration for Rspamd, container not enabled by default 2017-04-20 21:14:20 +02:00
andryyy cae7ff7816 Initial clamd container 2017-04-20 21:13:41 +02:00
Michael Kuron d350c009b9 Fix login redirect behind reverse proxy 2017-04-20 19:53:56 +02:00
chaosbunker a3bbd76537 fixes 2017-04-18 20:56:35 +02:00
Michael Kuron 06e64c585c Fix CalDAV/CardDAV URLs displayed in SOGo web interface when used behind a reverse proxy 2017-04-18 20:24:43 +02:00
chaosbunker 7273fcaafc ported from mailcow 0.14 to work with mailcow-dockerized 2017-04-18 18:42:20 +02:00
Michael Kuron a75d916b74 Forwarding hosts in postscreen 2017-04-17 15:51:50 +02:00
Michael Kuron 8822eb57c8 Forwarding hosts in rspamd 2017-04-17 15:51:50 +02:00
Michael Kuron 76720f3e94 Forwarding hosts in web interface 2017-04-17 15:51:45 +02:00
andryyy d0d87ead49 Zeyple is not enabled by default 2017-04-10 13:16:40 +02:00
andryyy 06100c30ca mail_crypt is not enabled by default 2017-04-10 13:15:48 +02:00
andryyy c460636a70 mail_crypt is not enabled by default 2017-04-10 13:09:33 +02:00
andryyy 06928ec841 imapsync: added option to delete from source after transfer 2017-04-10 13:08:02 +02:00
andryyy 7f8d6556b8 imapsync: added option to delete from source after transfer 2017-04-10 13:07:45 +02:00
andryyy e03136bf21 Add description to command 2017-04-08 23:36:46 +02:00
andryyy f3c0004a92 Merge branch 'dev' of https://github.com/andryyy/mailcow-dockerized into dev 2017-04-05 22:28:08 +02:00
andryyy 6a9468c191 Add admin section css 2017-04-05 22:27:39 +02:00
andryyy cc29cfa0d7 Add admin section css 2017-04-05 22:27:30 +02:00
andryyy 406a9ffc5b Change hint for TLS enforced messaging 2017-04-05 22:26:56 +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
André Peters d55da875b1 Merge pull request #178 from andryyy/master
Merge changes
2017-04-05 22:24:26 +02:00
andryyy b0d8b1344a Remove obsolete parameters, use imapsieve instead of deprecated antispam module, use mail_crypt per default 2017-04-05 22:22:43 +02:00
andryyy 96c1a7c225 Open 10026 for Zeyple 2017-04-05 22:21:20 +02:00
andryyy 2b955d08ab Base on Stretch, add Zeyple 2017-04-05 22:19:41 +02:00
andryyy 34bc242554 Add Zeyple filter 2017-04-05 22:19:01 +02:00
André Peters 662a33faf1 Merge pull request #169 from vivernet/patch-3
Update lang.de.php
2017-04-05 18:24:51 +02:00
André Peters d6ac36d608 Merge pull request #170 from vivernet/patch-4
Update lang.en.php
2017-04-05 18:24:45 +02:00
André Peters 318b059ae6 Merge pull request #171 from vivernet/patch-5
Update lang.es.php
2017-04-05 18:24:38 +02:00
André Peters 5e0224e290 Merge pull request #172 from vivernet/patch-6
Update lang.nl.php
2017-04-05 18:24:27 +02:00
André Peters d435ff182b Merge pull request #173 from vivernet/patch-7
Update lang.pt.php
2017-04-05 18:24:14 +02:00
André Peters 45bb032a5a Merge pull request #168 from vivernet/patch-2
Update add.php
2017-04-05 18:24:04 +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
Aleksandr Kliushenok e7631e4727 Update lang.pt.php 2017-04-01 09:03:31 +03:00
Aleksandr Kliushenok 2c398c727e Update lang.nl.php 2017-04-01 09:02:38 +03:00
Aleksandr Kliushenok cb742b5491 Update lang.es.php 2017-04-01 09:01:35 +03:00
Aleksandr Kliushenok 80774224c2 Update lang.en.php 2017-04-01 08:59:05 +03:00
Aleksandr Kliushenok 563a8bda61 Update lang.de.php 2017-04-01 08:58:08 +03:00
Aleksandr Kliushenok 1cc1bfa3b6 Update lang.ru.php 2017-04-01 08:55:53 +03:00
Aleksandr Kliushenok 1602aee424 Update add.php 2017-04-01 08:50:33 +03:00