Commit Graph

1474 Commits (d39eab53a3d8d3bc9b040521bc041f7b9fc55016)

Author SHA1 Message Date
André Peters 819626ab60
Merge pull request #1083 from descala/lang_ca
Catalan language support
2018-02-26 18:55:13 +01:00
André Peters 9888bcc219
Merge pull request #1084 from descala/add_catalan_language_flag
Adds catalan language flag
2018-02-26 18:55:05 +01:00
André Peters 6b066c2891
Merge pull request #1090 from extremeshok/patch-5
Enable maildir compression
2018-02-26 18:54:04 +01:00
André Peters 410cbf55b6
Update dovecot.conf 2018-02-26 18:53:56 +01:00
André Peters 1aa940abc9 [Web] Add missing string 2018-02-26 17:44:24 +01:00
Lucky88888 48c85d08f2
fix maxbytespersecond issue
Fixed $maxbytespersecond configurable option. This was still not working because it took the DB value of maxage. 
"First GitHub update for me, so please tell if I should have something different. ;) "
2018-02-26 15:26:17 +00:00
André Peters 3829135d93 [ClamAV] Add directory to make bootstrap not complain about missing directories 2018-02-26 09:19:14 +01:00
David Escala c95cf982f4 Adds catalan language flag
A side efect is the IconDrawer flag images are replaced by the ones from
country-flag-icons by Wil Linssen, which in turn come from the Wikipedia

And the US flag is relaced by the UK flag for english
2018-02-24 10:19:16 +01:00
David Escala 165f6cb802 Catalan language support 2018-02-24 10:06:08 +01:00
André Peters 944b91a4b8 [Dockerapi] Add du command, push version 2018-02-22 09:21:37 +01:00
André Peters bbbe52f560 [SOGo] Add blue (default) and red theme 2018-02-22 09:20:46 +01:00
André Peters 4abdebdddf Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-02-22 09:19:25 +01:00
André Peters f3896195d4
Update worker-controller-password.inc 2018-02-22 09:19:01 +01:00
André Peters fbe24f39a2 [Web] Show volume usage for vmail, start listing system info in UI 2018-02-22 09:16:49 +01:00
André Peters eb4dd632ae [Web] Fix autodiscover triggering fail2ban implementation, fixes #1069 2018-02-22 09:16:16 +01:00
eXtremeSHOK a3ae800794
BugFix: Outlook 2016 not using EAS
Outlook 2016 autoconfig will not be EAS enabled, even though "$autodiscover_config['useEASforOutlook'] = 'yes';

Outlook 2016 gives the HTTP_USER_AGENT string of "Microsoft Office/16.0 (Windows NT 10.0; MAPI 16.0.9001; Pro)"

Limiting the regex to only 15, causes the entire if statement to fail.

For future proofing, this has been set to any version string containing 15,16,17,18,19

This has been tested using the "Test Email AutoConfiguration for Outlook 2016"
2018-02-20 02:42:23 +02:00
André Peters da48bd721f
Merge pull request #1056 from klausenbusk/nginx-deduplicate
[Nginx] Reduce config duplication
2018-02-19 13:12:46 +01:00
André Peters ff3328ea8c [SOGo] Use indigo theme, copy logo and theme.js to image 2018-02-19 12:56:45 +01:00
André Peters 39f289fc3c [Web, Dovecot, Postfix] Fix JSON attribute for login 2018-02-19 10:17:29 +01:00
André Peters fc53a69a44 [Helper] Nextcloud 13; Additional header for Nextcloud site
[PHP-FPM] Build gd with TTF support
2018-02-18 20:59:32 +01:00
André Peters 2284a35658 [Web] Apply fix for renaming quarantaine 2018-02-17 11:46:38 +01:00
André Peters ab720bf164 [Web, Postfix] Move TLS policy to mailbox attributes 2018-02-17 11:12:16 +01:00
André Peters f29451f03c [Web] Further work on attributes 2018-02-17 10:40:20 +01:00
André Peters 090ef6dbc5 [Web] Further work on attributes 2018-02-17 10:34:18 +01:00
André Peters 0b4333ca6b [Web] JSON must not have a default value 2018-02-17 10:18:07 +01:00
André Peters 2bdc3f94c0 [Web] Database schema test 2018-02-17 09:50:58 +01:00
André Peters b81930e416 [Web] Database schema test 2018-02-17 09:50:39 +01:00
André Peters 31a9bb446c [Netfilter] Fixes a f2boptions not defined error 2018-02-17 08:51:41 +01:00
André Peters 1f09544f32 Fix conflict 2018-02-16 22:44:02 +01:00
André Peters 2a3040de12 [Web] Add missing info block to force pw update function in edit 2018-02-16 22:42:28 +01:00
André Peters 2865c892a6 [Multi] Fixes #1058 by including a 'force password update' option and also introduces a attributes json object to be used for further mailbox configurations in the future 2018-02-16 22:40:51 +01:00
André Peters 03031516e9 [Web] Fixes #1055 and changes location.reload to window = xy in footer script 2018-02-16 22:39:33 +01:00
Kristian Klausen 63002cbb74 [Nginx] Reduce config duplication
It does not make sense having a seperate server block for both http
and https.
According to the nginx doc [1], using the same server block for both
should work.

[1] http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server
2018-02-15 21:23:07 +01:00
eXtremeSHOK 1e40472017
Enable maildir compression
Currently the plugin is loaded, but actual compression is not enabled.

https://wiki.dovecot.org/Plugins/Zlib
2018-02-14 14:38:06 +02:00
eXtremeSHOK 8eb05d1450
Fix for large Mailboxes to avoid timeouts 2
Missing ' (sorry my editor keeps correcting the '" to " )
2018-02-14 14:02:56 +02:00
eXtremeSHOK a37a8e3b2a
Fix for large Mailboxes to avoid timeouts
** I agree to the code of conduct and the contributory guidelines **

Tested with 80+GB single inbox via imap

``` --nofoldersizes --skipsize --fast ``` file and folder sizes are only used for statistics, which are completely useless. Before the actual data is transfered the message and folder sizes need to be calculated on a 200 000+ message inbox, this will almost never complete.

``` --buffersize 8192000 ``` sets the io buffer to 8mb, the default buffer is 4kbyte, this is speeds up syncs.

```  --skipheader 'X-*' ``` X headers vary wildly from system to system and do not ensure message uniqueness, they are not needed.

```  --split1 3000 --split2 3000 ```    split the requests in several parts on the server, 3000 is the number of messages handled per request.

``` --fastio1 --fastio2 ``` use fastio
2018-02-14 13:27:30 +02:00
André Peters 0bfd0838c2 [SOGo] Increase workers again 2018-02-14 11:26:55 +01:00
André Peters e186e350ef [Nginx] Fixes #1033 2018-02-14 09:09:17 +01:00
André Peters 993c998716
Merge pull request #995 from Alireza2n/master
SOGO & Rspamd interface: adding "expire" header to static files, allowing browser to be able to cache them
2018-02-14 07:50:22 +01:00
Phoenix Eve Aspacio 42868b1710
Merge pull request #1037 from klausenbusk/empty
Remove "empty" folders
2018-02-14 08:15:13 +08:00
Kristian Klausen a0cdc1e4ff Remove "empty" folders
There seems to be no reason for this empty folders.
2018-02-13 23:45:49 +01:00
André Peters 943598f705 [Nginx] Fix EAS... 2018-02-13 09:12:54 +01:00
André Peters fb92619aac [Nginx] Fix EAS... 2018-02-13 09:12:21 +01:00
André Peters 458dfc8418 [Nginx] Remove unused file 2018-02-13 09:11:13 +01:00
André Peters 406e7ebd07 [Nginx] Fix EAS 2018-02-13 09:10:41 +01:00
André Peters 21e8edae43 [Nginx] Fix EAS 2018-02-13 09:09:41 +01:00
André Peters 63f7e5930d [Nginx] Fix EAS 2018-02-13 09:07:44 +01:00
André Peters e85cd38945 [SOGo] SOGo refuses to bind to IPv6, so force IPv4 in proxy_pass, fixes #1006 2018-02-12 21:34:59 +01:00
André Peters 74c804b9a3 [SOGo] SOGo refuses to bind to IPv6, so force IPv4 in proxy_pass, fixes #1006 2018-02-12 21:32:49 +01:00
André Peters 7a69586d91 [Web] Do not break init_db when switching branches 2018-02-11 15:59:58 +01:00
André Peters 5030ce7547 [Web] More and more fixes for #1017 2018-02-11 15:59:35 +01:00
André Peters 52449afdc0 [Web] Fixes to Sieve validation (fixes #1027) 2018-02-11 13:29:13 +01:00
André Peters c529de9c36 [Web] Fixes to Sieve validation (fixes #1027) 2018-02-11 13:28:40 +01:00
André Peters 618be3bf14 [Web] Even more fixes for #1017 2018-02-10 22:42:46 +01:00
André Peters 8e1ac0bfbb [Web] More fixes for #1017 2018-02-10 21:00:00 +01:00
André Peters 56350a6bdb Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-02-10 18:52:13 +01:00
André Peters 4163f08009 [Web] Fixes #1017 2018-02-10 18:16:01 +01:00
Phoenix Eve Aspacio 78870995d0
Merge pull request #1015 from descala/dev
Remove unused language keys from data/web/lang/lang.*.php
2018-02-10 14:35:13 +08:00
André Peters 550888cfb4 [Web] Fixes #1013 by encoding display name in XML request 2018-02-09 23:03:08 +01:00
André Peters 64dbd54478 [Web] Fix urlencoded objects in api 2018-02-09 22:45:04 +01:00
David Escala 8ae5077775 Remove unused language keys from data/web/lang/lang.*.php
helper-scripts/check_translations.rb checks if keys present in the master
translation file are used in any php or js code.  Writes a sed comand to
stdout to remove unused keys from all lang files.

This saves unnecessary work when translating.
2018-02-09 18:56:06 +01:00
André Peters 07a05b9363 [Rspamd] Enable more modules 2018-02-09 10:32:42 +01:00
André Peters 66a3df16ed [Netfilter] Fixes empty f2b options 2018-02-09 10:32:12 +01:00
André Peters e5031accbb [Nginx] Remove auto-redirect to not break rp 2018-02-09 09:59:35 +01:00
André Peters 3a1e7b4ee1 [Nginx] Pass args when redirecting to https 2018-02-09 09:11:59 +01:00
André Peters 83094a773e [Watchdog] Use socket to pipe to Rspamd 2018-02-08 22:57:29 +01:00
André Peters 004d262e41 [Rspamd] Create missing password include as placeholder 2018-02-08 22:57:17 +01:00
André Peters ac4982d706 [Dovecot] Use socket to pipe to Rspamd 2018-02-08 22:56:43 +01:00
André Peters 77c7c1fe07 [Web] Fix css; Use socket for Rspamd history; Fix function file name 2018-02-08 22:56:12 +01:00
André Peters 557fa4385c [Rspamd] Also listen on socket for internal communication 2018-02-08 22:55:34 +01:00
André Peters a2ca550aa0 [Dovecot] Use socket instead of worker IP 2018-02-08 22:29:43 +01:00
André Peters e3854a8037 [Dockerapi] Fixes recent chang in exec_run return 2018-02-08 22:29:06 +01:00
André Peters a50036477e [Web] Mind was set to french, reverting to english 2018-02-08 20:13:36 +01:00
root fae542534d Merge remote-tracking branch 'origin/master' into dev 2018-02-08 19:54:14 +01:00
André Peters 1226eecfa1
Update init_db.inc.php 2018-02-08 11:49:52 +01:00
Joshua Hesketh 2fc13bdfbe Fix imapsync for large mailboxes
Where there is a lot of folders in a mailbox the output may be larger
than TEXT will allow (64KiB). Instead use MEDIUMTEXT (16MiB) which
should be ample.

Additionally check that a sync isn't already running before starting
a new one.

Fixes: #1011
2018-02-08 15:24:04 +11:00
Phoenix Eve Aspacio 436aca330f
Added Theme Color 2018-02-08 00:03:03 +08:00
andre.peters e8fe5282b2 [Dovecot] Inconsistent view fix 2018-02-05 21:55:37 +01:00
andre.peters dda2768f10 [Dovecot] Enable IMAP metadata 2018-02-05 21:42:23 +01:00
andre.peters 520bc6950f [Web] Fixes TLSA for self-signed certs, closes #997 2018-02-03 19:14:14 +01:00
andre.peters 3feabe00a2 [Web] Fixes TLSA for self-signed certs, closes #997 2018-02-03 19:13:15 +01:00
andre.peters 0e7cd4eeeb [Postfix] BCC destination must be single email address, fixes #993 2018-02-03 07:49:31 +01:00
andre.peters 9069a6f358 [Postfix] BCC destination must be single email address, fixes #993 2018-02-03 07:47:52 +01:00
Alireza 781a5eb69a Added expires directive and map to nginx, allowing browser to cache SOGO JS,CSS,WOFF files. 2018-02-02 18:38:18 +03:30
Alireza 1b898b1c7b Added expires directive and map to nginx, allowing browser to cache rspamd JS,CSS and image files. 2018-02-02 17:46:49 +03:30
Alireza 64fbc73582 Added expires directive and map to nginx, allowing browser to cache rspamd JS,CSS and image files. 2018-02-02 17:42:19 +03:30
andre.peters cf1e46723a [Dovecot] Fixes CVE-2017-15132 - take 2 2018-02-01 23:37:10 +01:00
andre.peters 3f9e0a8023 [Dovecot] Fixes CVE-2017-15132 - take 2 2018-02-01 23:36:06 +01:00
andre.peters ae4ccd4d17 [Dovecot] Fixes CVE-2017-15132 - take 2 2018-02-01 23:35:55 +01:00
andre.peters 6ebcd00521 [Dovecot] Fixes CVE-2017-15132 2018-02-01 22:43:28 +01:00
andre.peters c5f9b065f6 [Dovecot] Fixes CVE-2017-15132 2018-02-01 22:27:48 +01:00
andre.peters a0d9efba00 [PHP-FPM] Remove old migration scripts 2018-02-01 13:40:59 +01:00
andre.peters f4ae354c0c [SOGo] Do not try to use foreign mailboxes as alias 2018-02-01 13:40:13 +01:00
andre.peters 38a819771b [Netfilter] Rename fail2ban to netfilter, use iptables-python 2018-02-01 13:39:27 +01:00
andre.peters 0773448b35 [Dockerapi] Fix jsonify output 2018-02-01 13:38:42 +01:00
andre.peters d6cbe5b10a [Unbound] Fix IPv6 subnet 2018-02-01 13:37:50 +01:00
andre.peters 36cb6d288d [Rspamd] Fix IPv6 subnet 2018-02-01 13:36:24 +01:00
andre.peters 70ac65d794 [Nginx] Fix IPv6 subnet, only rewrite to HTTPS when request is not internal 2018-02-01 13:36:01 +01:00
andre.peters 5862e4fb03 [Helper] Nextcloud: Use correct IPv6 subnet 2018-02-01 13:29:54 +01:00
andre.peters b2032c0e8a [Web] Hide up time of containers that are missing
[Web] Rename fail2ban logs to netfiter logs
[Web] Adding timeout to curl requests for dockerapi, fixes #981
[Web] Removed cow from favicon
2018-02-01 13:28:17 +01:00
andre.peters 03ad0f22c4 [PHP-FPM] Add bind for upload.ini 2018-01-30 09:00:34 +01:00
André Peters 912ba9b4ff
Fixes #979 2018-01-29 14:42:51 +01:00
André Peters 4405cb3e74
Merge pull request #953 from mkuron/recipient_map
Expose Postfix's recipient_canonical_maps through web UI
2018-01-28 11:09:22 +01:00
Phoenix Eve Aspacio 28bc4a70ec
Correction 2018-01-28 11:54:32 +08:00
Phoenix Eve Aspacio afd078d777
Correction 2018-01-28 11:53:48 +08:00
andre.peters 1f08e9a7b7 [Postfix] Fixes #967 (assign correct local network range for mynetworks) 2018-01-27 18:13:35 +01:00
Michael Kuron c30448c4d8 Merge branch 'master' of https://github.com/andryyy/mailcow-dockerized into recipient_map
Conflicts:
	data/web/inc/init_db.inc.php
2018-01-27 17:22:08 +01:00
andre.peters f602eb4dbd [Web] Fixes #955 2018-01-27 16:16:22 +01:00
andre.peters e578397d1c [Helper] Fix acme challenge for Nextcloud sub domain site, remove plain listener 2018-01-27 15:22:16 +01:00
andre.peters 1a97137ee9 [Web] Remove FA js 2018-01-27 12:26:36 +01:00
andre.peters f0bc580ceb [PHP-FPM] Fix port... 2018-01-27 12:09:25 +01:00
andre.peters c33ec7e989 [PHP-FPM] Fix duplicate listen 2018-01-27 10:33:50 +01:00
andre.peters 7433b6dc91 [ClamAV] Build from source, fix bugs...
[Compose] New clamd-mailcow image
2018-01-27 10:26:12 +01:00
andre.peters c7729f195b [Rspamd] Fixes #960 2018-01-26 18:56:19 +01:00
andre.peters dc024331c7 [Web] Slight css changes; Simple loading overlay... 2018-01-25 13:22:43 +01:00
andre.peters 855e93ef65 [Web] Slight css changes; Simple loading overlay... 2018-01-25 13:22:17 +01:00
andre.peters 04f9d74339 [Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955 2018-01-24 12:59:11 +01:00
André Peters a6ac55e42e
Merge pull request #954 from mailcow/master
Merge master to dev
2018-01-24 09:26:56 +01:00
andre.peters 1c6d3c16b6 [Web] Set Fail2ban subnet sizes 2018-01-24 09:25:28 +01:00
andre.peters 1aaa5682b4 [Fail2ban] Allow to set subnet size for banned networks 2018-01-24 09:11:33 +01:00
andre.peters f2f4dabce4 [Postfix] postconf wrapper for correct config location, fixes #949 2018-01-24 09:10:43 +01:00
andre.peters 46aafff627 [ClamAV] Outsource config 2018-01-24 08:40:13 +01:00
andre.peters 2bf1369453 [Nginx] Set real IP from internal networks 2018-01-24 08:38:03 +01:00
andre.peters 7149350973 [Rspamd] Allow internal IPv6 networks 2018-01-24 08:37:49 +01:00
andre.peters c9b3044d5d [Postfix] Allow internal IPv6 networks 2018-01-24 08:37:27 +01:00
andre.peters 7efe67daaf [ClamAV] Mount ClamAV config files 2018-01-24 08:36:56 +01:00
andre.peters 696b52b5eb [Unbound] Allow internal networks in access-control 2018-01-24 08:36:37 +01:00
andre.peters 67ddc710a7 [Nginx] Set real IP from internal networks 2018-01-24 08:36:19 +01:00
andre.peters 40a9389295 [SOGo] Reduce workers to 7 by default 2018-01-24 08:30:25 +01:00
Michael Kuron e86565e283 Expose Postfix's recipient_canonical_maps through web UI 2018-01-23 20:02:31 +01:00
andre.peters 8bb1cceabb Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-21 15:09:38 +01:00
andre.peters 43770434b3 [Web] Alias by alias domain is now in 'direct aliases', added desc to direct and shared aliases 2018-01-21 15:02:56 +01:00
andre.peters a7a7b3f3fd [Postfix] Use name instead of IP 2018-01-21 15:01:51 +01:00
andre.peters d24bb16947 [Watchdog] Check PHP-FPM port 9000 and 9001 2018-01-21 15:01:35 +01:00
andre.peters 737c41379f [PHP-FPM] Move opcache config to local config file, define new PECL versions 2018-01-21 15:01:02 +01:00
andre.peters a50f85026a [PHP-FPM] Mount php configs into container 2018-01-21 15:00:28 +01:00
andre.peters 83a21259f7 [Rspamd] Use names instead of IPs 2018-01-21 15:00:05 +01:00
andre.peters 83fb8c0fd8 [Nginx] Use names instead of IPs 2018-01-21 14:59:45 +01:00
andre.peters 08c8976a95 [SOGo] Show shared aliases and "allow to send as" addresses as FROM fields in SOGo 2018-01-21 14:58:16 +01:00
André Peters 4ff1db2db5
Merge pull request #863 from apoc4lyps/dev
[Helper] Nextcloud fixes
2018-01-21 11:07:07 +01:00
André Peters fd2c647599
Merge pull request #934 from FELDSAM-INC/feldsam/quarantine-ui-fix
[WEB] Make quarantine action column more wider
2018-01-21 10:36:44 +01:00
Phoenix Eve Aspacio 40c5566d0d
lang consistent 2018-01-20 06:51:22 +08:00
andre.peters 1afca35b22 [Web] Fixes super annoying password verification bug #867 2018-01-19 11:52:32 +01:00
andre.peters ba105c9b83 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-18 22:10:40 +01:00
andre.peters 0655efb8f9 [Web] Fix u2f I previously messed up, sorry 2018-01-18 22:10:32 +01:00
Kristian a6bcde3ee0 [WEB] Make quarantine action column more wider 2018-01-18 19:16:02 +01:00
Aiko Appeldorn 9195ecdb36 + added lang 2018-01-18 18:48:26 +01:00
Aiko Appeldorn 954d0e4bb1 + added website title 2018-01-18 18:23:53 +01:00
andre.peters a09ed211bc [Web] Fix sieve detection for users 2018-01-18 11:55:44 +01:00
André Peters 5648ec6d39
Merge pull request #915 from tiirex9/master
Adds 'do nothing' as default for sub-addressing
2018-01-18 10:27:14 +01:00
andre.peters 79cb929911 [Web] Add html2text converter; Show quarantaine html elements as text, do not escape html 2018-01-18 10:09:30 +01:00
andre.peters 9ba0786fbf [Web] Also show alias domains handled by domain admin in quarantaine 2018-01-18 09:14:29 +01:00
andre.peters c2f74ab75c [Web] Set default pagination size to 20 2018-01-18 09:13:36 +01:00
andre.peters eb064a530e [Web] Remove obsolete variable 2018-01-18 09:12:53 +01:00
andre.peters d338073e64 [Web] Fixes #928 2018-01-18 09:12:29 +01:00
andre.peters 8419266678 [Web] Important fixes for quarantaine; other minor changes 2018-01-17 15:23:33 +01:00
andre.peters 003e6ef5cd [Web] Important fixes for quarantaine; other minor changes 2018-01-17 15:22:11 +01:00
andre.peters 7701660119 [Web] Skip passwords in API log 2018-01-16 22:09:25 +01:00
andre.peters 0019502069 [Rspamd] Increase spam scores for SPF failures 2018-01-16 21:02:45 +01:00
andre.peters c6bcf322ff [Rspamd] Force-add metadata_exporter 2018-01-16 18:58:29 +01:00
Tii d58b89528f rspamd multimap redis stuff doesn't work as expected... 2018-01-16 16:31:37 +01:00
Phoenix Eve Aspacio 2f60b40684
Reload webpage after container restart 2018-01-16 22:06:49 +08:00
Phoenix Eve Aspacio edbab3633d
Reload webpage after container restart 2018-01-16 22:05:42 +08:00
Tii 1faeadb786 Fuckup during merge 2018-01-16 14:10:50 +01:00
Tii 2291bdbeed Added 'do nothing' option as default for sub-addressing 2018-01-16 13:13:04 +01:00
Tii cd2c242540 Added 'do nothing' option as default for sub-addressing 2018-01-16 12:47:59 +01:00
André Peters b383391e2c
Merge pull request #914 from mailcow/dev
Various fixes
2018-01-16 12:47:12 +01:00
andre.peters 7fd6a1260c [Web] Remove 'allow ip' 2018-01-16 12:43:09 +01:00
andre.peters dca9ae4a34 [Web] Remove 'allow ip' 2018-01-16 12:42:46 +01:00
andre.peters 5fd3d986c7 [Rspamd] Fix settings map regex 2018-01-16 12:42:09 +01:00
andre.peters c227675262 [Web] Remove 'allow ip' 2018-01-16 12:41:30 +01:00
andre.peters 1d34aa5064 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-16 12:37:48 +01:00
andre.peters d2aa57d01f [Web] Remove 10M limit from quarantaine info text 2018-01-16 12:37:45 +01:00
André Peters f1f7749b85
Update dns_diagnostics.php
Sprintf makes multi-lang easier.
Fix indents
2018-01-16 09:33:39 +01:00
André Peters 9aeaab23ab
Update lang.en.php 2018-01-16 09:26:48 +01:00
André Peters 1aac0b23dc
Merge pull request #881 from snowflakeOps/master
Fix umlauts in MacOS mobileconfig generator
2018-01-16 09:23:05 +01:00
André Peters 0c8cc70666
Merge pull request #883 from apoc4lyps/master
[nextcloud] fix file upload size limit
2018-01-16 09:22:49 +01:00
burn79 f1185ef68a
Update admin.php
Update language string
2018-01-16 08:50:09 +01:00
Kristián Feldsam 2a8bdc8dea DNS Diagnostics - Ehnaced SPF record check
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2018-01-16 00:07:25 +01:00
Kristián Feldsam 9f258df883 DNS Diagnostics - Allow for domain administrator
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2018-01-16 00:07:19 +01:00
andre.peters 9fa20e229c [Web] Allow sync interval from 1 to 3600 2018-01-15 19:53:09 +01:00
Phoenix Eve Aspacio 8405a8b56c
Update header.inc.php 2018-01-15 22:44:48 +08:00
Phoenix Eve Aspacio eb04e703c2
Update index.php 2018-01-15 22:44:04 +08:00
Phoenix Eve Aspacio 53545f788b
Update mailcow.css 2018-01-15 22:43:41 +08:00
Phoenix Eve Aspacio 0691ce7855
English Lang Strings 2018-01-15 21:59:20 +08:00
Phoenix Eve Aspacio fa17e9a936
German Lang Strings 2018-01-15 21:58:57 +08:00
Phoenix Eve Aspacio 744b3d32ae
Add Language Strings 2018-01-15 21:58:22 +08:00
andre.peters 09b6c20bad [DockerAPI] Hide stderr from rspamadm output 2018-01-14 18:44:06 +01:00
andre.peters 5d5d36fc60 [Dovecot] Revert to 2.2 to fix various errors 2018-01-14 10:44:06 +01:00
andre.peters 38aaeeb30b [Dovecot] Dovecot 2.3 from git for temp fixes
[ACME] Use -a switch (thanks to jas8522!)
2018-01-14 10:34:06 +01:00
andre.peters 42923698fd [Dovcot] Fixes for v2.3 2018-01-13 22:49:50 +01:00
Martin Wilhelmi e9625ef29b
Fix wrong translation 2018-01-13 20:12:45 +01:00
André Peters 74721c08bd
Merge branch 'master' into dev 2018-01-13 18:38:08 +01:00
andre.peters c07e521309 [Web] Fixes number validation in forms, fixes #882 2018-01-13 18:32:28 +01:00
andre.peters d836f688dd [Web] Hide API until documented 2018-01-12 08:23:55 +01:00
Phoenix Eve Aspacio 91ccc47024
Make Capitalization Consistent
Some ~poorly~ configured reverse proxy interfaces are not specifically configured to respond appropriately with a lowercase "A" in the autodiscover url. So our best course is to make the capitalization consistent with the one we are used to.
2018-01-12 06:20:27 +08:00
apoc4lyps 89737edd69
Update site.nextcloud.custom
fix file upload size limit
2018-01-11 23:06:09 +01:00
apoc4lyps 9174718d1c
Update nextcloud.conf
fix file upload size limit
2018-01-11 23:05:46 +01:00
andre.peters 278f1c2a37 [Web] Restart SOGo after adding a new domain, fixes #864 2018-01-11 22:40:43 +01:00
Markus Ritzmann 720d4d2779 #878 remove utf8_encode for macos mobileconfig 2018-01-11 11:01:03 +01:00
andre.peters 0d8c7e446a [Dovecot] Update config to fit Dovecot 2.3 2018-01-09 11:28:12 +01:00
andre.peters ceef6d6fd3 [Dovecot] Dovecot 2.3, Pigeonhole 0.5
[Watchdog] Fix Dovecot health check
2018-01-09 11:15:52 +01:00
andre.peters b7a23a28fd Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-08 22:01:39 +01:00
andre.peters 1e9cae9084 [Compose] New images with LOG_LINES
[Update] Do not add empty line in each loop
2018-01-08 22:00:54 +01:00
Michael Kuron cde250a989 Properly wait for MySQL to come up before starting SOGo 2018-01-08 19:56:44 +01:00
apoc4lyps b8a20b3a23
[Helper] Nextcloud: fix subdomain 2018-01-04 15:57:43 +01:00
André Peters 74bd635505
Update dns_diagnostics.php
Oops, forgot 2 vars.
2018-01-03 21:00:29 +01:00
André Peters 2b93ad62b5
Merge branch 'dev' into dns 2018-01-03 20:52:33 +01:00
andre.peters 1c2ec43aa0 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-03 20:49:49 +01:00
andre.peters 7a54b5cb67 [Web] Some minor fixes/changes to DNS diagnostics 2018-01-03 20:49:38 +01:00
André Peters a1103ccc15
Merge pull request #854 from FELDSAM-INC/feldsam/lang-selector
Remember selected lang in cookie
2018-01-03 20:46:19 +01:00
Michael Kuron 0a4424f251 Merge remote-tracking branch 'upstream/dev' into dns 2018-01-03 12:38:24 +01:00
andre.peters 34b7ab7104 [Web] Add DNS diagnostics as modal, some minor fixes, todo: Detect IPv4/6 by multiple sources and random selection 2018-01-02 18:17:27 +01:00
andre.peters 868abc15bd [Rspamd] Fix worker-controller-password placeholder 2018-01-02 18:15:33 +01:00
Kristian b5793048df Remember selected lang in cookie
# Conflicts:
#	data/web/inc/prerequisites.inc.php
2018-01-02 12:36:35 +01:00
Michael Kuron 6090ec0c2f
DNS diagnostics: show correct TXT records 2018-01-02 10:32:30 +01:00
andre.peters d76d103c76 [Web] Move DNS diagnostic to modal, some minor fixes 2018-01-02 10:24:48 +01:00
André Peters a4c077db8f
Merge pull request #757 from mkuron/dns
DNS diagnostics: ignore spaces in DKIM record
2018-01-02 08:27:12 +01:00
André Peters c288473354
Merge pull request #848 from FELDSAM-INC/feldsam/fix-sync-job-edit
Fixed syncjob saving on edit
2018-01-01 09:19:43 +01:00
André Peters 4a6fc2af19
Merge pull request #849 from FELDSAM-INC/feldsam/sync-job-tables-enhancement
Sync job tables enhanced
2018-01-01 09:19:20 +01:00
andre.peters 87c6770132 [Web] Fix empty passwords for relayhosts 2018-01-01 09:17:52 +01:00
andre.peters db032af698 [ACME] Fix script 2017-12-31 17:17:46 +01:00
Kristian 254397af60 Sync job tables enhanced
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>

# Conflicts:
#	data/web/js/mailbox.js
2017-12-31 15:35:01 +01:00
Kristian aa5f7a5584 Fixed syncjob saving on edit 2017-12-31 15:28:33 +01:00
Kristian 7cb23cf4a3 User - Allow send as all - list all domains inc. alias domains 2017-12-30 21:25:45 +01:00
Amir Zarrinkafsh 65386d4ccf Included folder mapping for iOS Mail Trash folder. 2017-12-30 13:58:17 +11:00
andre.peters eb57fce38f [Dovecot] Possibly fixes #722 2017-12-25 10:25:50 +01:00
andre.peters 8d56534e76 [Postfix] Don't try to authenticate to relayhosts without username, fixes #725 2017-12-25 10:18:49 +01:00
andre.peters 603956ca6a [Web] Disable connectors in footable filter for mailbox 2017-12-20 21:15:43 +01:00
Oratorian 236e4d4a36
See Issue #826
Fixes dockerapi-mailcow_1 | raise TypeError('port must be an integer')

Containers are now restarting.
2017-12-18 16:41:04 +01:00
andre.peters aa96f227d8 [Web] No inline forms in admin 2017-12-17 17:57:57 +01:00
andre.peters 52f4f850cf [Postfix] Fix missing authentication data for relayhosts when sender domain is alias domain 2017-12-17 17:45:12 +01:00
andre.peters a771d66889 [Dovecot] Update imapsync 2017-12-17 17:45:05 +01:00
andre.peters f5a6667aad [Web] Fix removal of alias domain 2017-12-17 17:44:28 +01:00
andre.peters ae56c3b59e Fix quarantaine 2017-12-11 10:44:46 +01:00
andre.peters c875508687 [Web] Remove logs from docker functions, fix debug syntax 2017-12-11 09:43:43 +01:00
andre.peters 2994b94b6c [Docker API] Remove logs, remove env var for compose project name 2017-12-11 09:43:01 +01:00
andre.peters d71b6f0ad1 Add placeholder for Rspamd controller password written via UI 2017-12-11 09:41:29 +01:00
andre.peters 6865402ae0 Fix maildir path 2017-12-10 19:10:49 +01:00
andre.peters 6c67b9df82 Replace name by IP, remove unused tables 2017-12-09 22:30:18 +01:00
andre.peters adc23d86f9 Various... 2017-12-09 13:17:15 +01:00
andre.peters 2519738094 Various changes... 2017-12-09 13:15:24 +01:00
andre.peters 873222d5f8 [Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter 2017-12-09 09:08:23 +01:00
andre.peters c8f41cdae2 [Postfix] Listener for quarantaine, remove excluded Docker gw from mynetworks 2017-12-09 09:07:06 +01:00
andre.peters 21a677e024 [MariaDB] Move config to my.cnf, removed from yml 2017-12-09 09:06:04 +01:00
André Peters b1855587ec
Revert exclude, bad idea 2017-12-05 20:53:45 +01:00
Phoenix Eve Aspacio 9c35a55532
fixes #800
corrections will be made for other languages soon
2017-12-05 10:18:29 +08:00
Peter Schiffer 7d6fc8e6b6 [Dockerapi] Auto detect version of docker server
Some older versions of docker need specific version of client api to be able to
communicate. This change allows automatically detect and set version of API to
match server version of API.

Fixes #765
2017-12-01 23:41:37 +01:00
Hagen Tasche b1986e5f7c
Update lang.en.php
Translation from german to english
2017-11-30 14:01:46 +01:00
André 3ec3a341e4 [Postfix] Remove gw from mynetworks in case of ipv6 failures 2017-11-21 09:33:43 +01:00
André e1eb83ef87 [Web] Update libs, fix U2F for Firefox Quantum 2017-11-21 09:33:22 +01:00
André Peters 4c98cbec27
Exclude 172.22.1.1 from mynetworks
In case of v6 nat failures.
2017-11-19 18:44:18 +01:00
André ade4b9e7ae [Postfix, Web] Feature: BCC maps 2017-11-19 15:13:43 +01:00
Michael Kuron 8c56c5acda DNS diagnostics: ignore spaces in DMARC and DKIM 2017-11-18 14:58:21 +01:00
André 967108c057 [Web] Do not try to detroy invalid imagick sessions 2017-11-16 14:57:39 +01:00
André 5211ab10ed [ACME] Fix license issue 2017-11-16 14:57:17 +01:00
André c45ea5433f [Rspamd] Base on xenial to fix mime types problems 2017-11-15 12:29:18 +01:00
André a5abca4c34 [Web] Create new id on sieve filter update by using md5, fixes #750 2017-11-14 21:11:36 +01:00
André d0df8b57d1 Remove space... 2017-11-14 19:54:31 +01:00
André fe845ee56d [Fail2ban] Fix fail2ban container 2017-11-14 19:50:20 +01:00
André f368954418 [Web] Fix init_db, take 2 2017-11-14 13:29:02 +01:00
André 4d6ddc1db4 [Web] Fix init db 2017-11-14 12:37:08 +01:00
André 7bb1e2e40e Fix conflicts 2017-11-14 10:48:04 +01:00
André 84a7a1a2e7 [Compose] New images, Nginx checks for SOGo before bootstrapping
[PHP-FPM] Some more modules (primarily for Horde)
[Fail2ban] Do not log matches of local and private ips
[Watchdog] Some changes in log system for further processing (wip)
[ACME] Fixes #745
2017-11-14 10:44:22 +01:00
André c2d9928f8f [Rspamd] Set task timeout to 12s 2017-11-10 19:58:56 +01:00
André ec37c6b0c2 [Web] Minor changes 2017-11-10 19:58:17 +01:00
André Peters 25806b62a9
Merge pull request #707 from gigabit-gmbh/ui-view-for-permission
Disable Buttons on Mailbox / Domain when no permission to interact with them
2017-11-09 07:40:52 +01:00
André Peters 166d750599
Merge pull request #730 from mkuron/rspamd-timeout
Rspamd: increase task timeout
2017-11-09 07:35:09 +01:00
Michael Kuron 6640b4205f
Rspamd: increase task timeout 2017-11-08 18:21:21 +01:00
André 60e97503f7 [Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values 2017-11-08 11:07:32 +01:00
André Peters 8aa98d2e6e
Merge pull request #451 from mkuron/dns2
DNS diagnostics page
2017-11-07 09:41:32 +01:00
André 2372949162 [Web] Fix check for existing domain when adding alias domains 2017-11-06 21:58:08 +01:00
André Peters 23b7594605
Update sogo.conf 2017-11-06 18:48:29 +01:00
André 3873e38919 [SOGo] Use SOGoMaximumSyncResponseSize of 2048 2017-11-06 13:35:48 +01:00
André f603008440 [Web] Reset last_run for imapsync jobs to run next, other minor changes... 2017-11-05 12:20:05 +01:00
André a36a8828c2 [Dovecot] Specify supervisord user 2017-11-05 12:19:18 +01:00
André 586a0b0e05 [Dovecot] Add bindirs to cache compiled scripts, drop some privileges, run one login proc per user 2017-11-05 12:18:52 +01:00
Phoenix Eve Aspacio afd933b630
Remove duplicate string definitions 2017-11-05 05:19:48 +08:00
Phoenix Eve Aspacio 09c2fc3534
Remove duplicate string definitions 2017-11-05 05:17:04 +08:00
Phoenix Eve Aspacio 1cfeea526e
Remove duplicate string definitions 2017-11-05 05:14:27 +08:00
Phoenix Eve Aspacio 3d1296c110
Merge pull request #710 from vivernet/patch-1
New translations lang.en.php (Russian)
2017-11-05 05:09:01 +08:00
Phoenix Eve Aspacio 03bda23c83
Merge pull request #678 from asirinelli/cleanup_lang
Remove duplicate string definitions (english)
2017-11-05 05:05:06 +08:00
André 85d1ee2f49 [Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute 2017-11-03 20:37:24 +01:00
André 1ef10f1358 [PHP-FPM] Include net_sieve, test removal of usr/src/php for size 2017-11-03 20:27:43 +01:00
André b16684ce20 [Rspamd] Slightly reduce map watch interval 2017-11-03 20:26:36 +01:00
André a9f64a3472 [Dockerapi] Return answers in json 2017-11-03 20:26:09 +01:00
André 21e20f3786 [Dovecot] sieve_before/after maps in sql, changed dict names 2017-11-03 20:25:43 +01:00
André b32e5adcc5 [Dovecot] sieve_before/after maps in sql, changed dict names 2017-11-03 20:25:38 +01:00
André f067a45bcb [SOGo] Should fix some Android sync issues 2017-11-02 09:51:58 +01:00
Aleksandr Kliushenok 293cba323e
New translations lang.en.php (Russian) 2017-11-02 06:32:01 +03:00
Thomas 0e38bd783f
format fixes 2017-11-01 19:27:30 +01:00
Thomas Helmrich 4d8995f14a disable options on the mailbox / domain view when user has no permission to interact with them 2017-11-01 19:22:13 +01:00
André Peters 364338408b
Delete api.php 2017-10-31 11:10:27 +01:00
André Peters c8be2240e4
Revert "Adding a primary key in domain_admins table" 2017-10-31 10:43:45 +01:00
MAGIC 07995c02c4
Adding a primary key in domain_admins table 2017-10-30 23:21:29 +01:00
markusg d107dcd7d1 Rspamd History fix small error 2017-10-30 22:15:11 +01:00
André 1e9bc49f2c [Rspamd] Echo dummy for fowardingshosts map; Use higher map reading interval;
[Dockerapi] Exit on sigterm;
[Watchdog] Wait for dockerapi-mailcow to be online
2017-10-27 11:22:39 +02:00
André 083174a9bd [Rspamd] Do not try to index nil value 2017-10-26 22:25:13 +02:00
Antoine Sirinelli 8034c196b1 Enable French language. 2017-10-26 22:00:12 +02:00
Antoine Sirinelli 69b1b183e8 Add French translation 2017-10-26 21:59:41 +02:00
André 508b712ae1 [Web] Revert user acl 2017-10-26 10:35:03 +02:00
André 4156b4cdf8 [Rspamd] Disable spoofed sender check 2017-10-26 10:29:13 +02:00
André 25ee53289b Fix metrics 2017-10-26 10:22:16 +02:00
André db5a3ae47f [Web] Start work on ACL; [Helper] Nextcloud helper script 2017-10-26 10:21:12 +02:00
André 988978b351 [Rspamd] Remove log helper and disable fann redis 2017-10-25 20:55:11 +02:00
André 4fd5b9afba [SOGo] Fix for some Outlook 2016 EAS problems 2017-10-25 08:57:34 +02:00
Antoine Sirinelli 4797057a07 Remove the duplicate string definitions (english)
The following strings were defined twice in lang.en.php.
The first occurence has been removed to avoid confusion (and bugs from
translation tools):

- $lang['danger']['whitelist_from_invalid']
- $lang['success']['aliasd_modified']
- $lang['user']['spamfilter_default_score']
- $lang['edit']['save']
- $lang['tfa']['totp']
- $lang['admin']['sr']
- $lang['admin']['save']
2017-10-23 22:45:51 +02:00
André 04cb033f0a [PHP-FPM] Add imagemagic 2017-10-21 10:10:27 +02:00
André f7cd7cc123 [Rspamd] Redis history is enabled by default 2017-10-21 10:09:53 +02:00
André a110e2ea0f [ACME] Fix detection of orphaned SANs and add tini 2017-10-21 10:08:20 +02:00
André 81775765d8 [Web] Customize app menu and logo; Fix #671 2017-10-21 10:07:06 +02:00
André 6b6470fe54 [Rspamd] Use tini 2017-10-15 09:31:19 +02:00
André 92e8233c92 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-10-14 23:26:14 +02:00
André ac413058c1 [Watchdog] Fix kill -0 check, use tini and send kill request to tini instead of parent pid, sleep longer 2017-10-14 23:26:08 +02:00
André c5dd30b058 [ClamAV] Use tini, check if background procs are running, use pipe to output to stdout 2017-10-14 23:25:29 +02:00
Michael Kuron a4ccd780c6 rspamd: disable greylisting for forwarding hosts 2017-10-14 16:40:44 +02:00
André 33b0167bcc [Web] Accept empty values for sync jobs, fixes #663 2017-10-14 08:34:55 +02:00
André a3e966696f [Nginx] Revert to site splitting 2017-10-12 08:37:48 +02:00
andryyy c5054ae7ed [Watchdog] Ignore null name in jq
[Nginx] Merge sites
[Scripts] Nextcloud helper script (testing!)
2017-10-11 22:56:22 +02:00
andryyy 7c46d6548b [Dovecot] Ignore watchdog IP in logs, filter by syslog-ng 2017-10-11 11:23:20 +02:00
andryyy e107cbef5e [Postfix] Fix sending as alias, when alias is in alias domains, cleanup 2017-10-11 11:22:52 +02:00
andryyy 57484e4a45 [Postfix] Log all watchdog activities to local7 facility 2017-10-11 11:21:41 +02:00
andryyy ec1e23ca71 [Assets] Move nextcloud files to subfolder nextcloud 2017-10-11 11:20:48 +02:00
andryyy 490e1c5001 [Web] Escape : in relayhosts 2017-10-09 20:31:08 +02:00
andryyy 2862b43c81 [Watchdog] Fix watchdog to fit non-exposed PHP 2017-10-09 15:54:54 +02:00
andryyy 6110ac386f [SOGo] Use official nightly; [PHP-FPM] Fix expose=off 2017-10-09 15:45:48 +02:00
andryyy 874aac3c5e [Nginx, PHP-FPM] Do not expose PHP version, example for nextcloud site, include custom locations to site (add site.something.custom to data/conf/nginx) 2017-10-08 22:57:34 +02:00
andryyy 72995ff98e [PHP-FPM] Include more modules for upcoming features and Nextcloud support, drop ro flag; [Watchdog] Some fixes and changes 2017-10-08 22:47:52 +02:00
André Peters 40506d3052 [Web] Add missing sync job option when admin 2017-10-07 22:10:56 +02:00
André Peters 668a05bdf1 [Web] Fixes #657 2017-10-07 22:09:44 +02:00
andryyy 7db5877644 [Web] Fixes #657 2017-10-07 22:08:08 +02:00
andryyy ef9953898c [ACME, Watchdog, DockerAPI] Use only limited Docker API 2017-10-06 13:32:49 +02:00
andryyy 3ae0b16845 [Web, DockerAPI] Be more like official Docker API 2017-10-06 10:20:40 +02:00
andryyy fc18d153cd [Compose, DockerAPI, Web, Watchdog] Watchdog may send notification mails (todo: docs), DockerAPI via Flesk for limited access 2017-10-05 23:38:33 +02:00
andryyy 9860d44d04 [Watchdog] Do also log errors to Redis if availble 2017-10-04 23:18:51 +02:00
andryyy 073c6c6e73 [Postfix/Rspamd] Do not reject unauthenticated sender mismatches but rewrite their subject and assign symbol SPOOFED_SENDER with score 1.0 2017-10-04 23:16:39 +02:00
andryyy 2dc8306b69 [Postfix] Remove old socket 2017-10-04 23:15:26 +02:00
andryyy 3de01afce0 [Web] Fixes #650 2017-10-04 19:01:46 +02:00
andryyy cc2f2afc62 [Web] Use Docker API for SOGo restart 2017-10-04 13:04:58 +02:00
andryyy 82ac5fa063 [SOGo] Remove supervisord API 2017-10-04 13:04:35 +02:00
andryyy 9b4ed6b21c [PHP-FPM] Include Docker api for better SOGo status handling and future changes 2017-10-04 13:04:15 +02:00
andryyy 4915375500 [Web] Fix duplicate key as result of race-condition when recreating mailbox while authentication in IMAP is cached and a mail arrives 2017-10-03 22:39:58 +02:00
André Peters d8636113dd Merge pull request #636 from mkuron/outlook
Preliminary support for Outlook 2016’s autodiscover.json
2017-10-03 21:23:59 +03:00
andryyy 24af77f41c [Web] Revert some autodiscover changes 2017-10-03 17:18:04 +02:00
andryyy da987e5b48 [Postfix] Forgot 'not' in filter 2017-10-03 16:54:18 +02:00
andryyy 6287a395b5 [Web] Revert some autodiscover changes, fix json_api for Postfix logs 2017-10-03 16:48:33 +02:00
andryyy c59d03fcb3 [Watchdog] Skip when use_watchdog=n 2017-10-03 12:07:48 +02:00
andryyy 68d7fa1504 [Watchdog] Skip when use_watchdog=n 2017-10-03 12:05:38 +02:00
andryyy 8c646f64b5 [Web] Autodiscover: Disable utf8_encode for displayname 2017-10-02 23:37:57 +02:00
André Peters e1ee1e848f Update autodiscover-json.php
HTTP_HOST is okay.
Syntax for consistency. :-)
2017-10-02 23:22:53 +02:00