Commit Graph

1196 Commits

Author SHA1 Message Date
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