Commit Graph

1350 Commits (ff463168d16f939b12f377b228bebb2a08f9f339)

Author SHA1 Message Date
André 69d5790130 [Web] Add rsettings to API 2018-06-05 00:32:09 +02:00
André 0a44ea1a4c [Dovecot] Lz4 compression sometimes leads to strange EOF errors when replicating
[Web] Cleanup JSON API
2018-06-05 00:31:27 +02:00
André 4a403e9323 [Dovecot] Imapsync: Set is_running = 0 on restart 2018-06-03 19:22:44 +02:00
André dbaddc562e [Web] Fix sorting by 'in use' 2018-06-01 14:32:27 +02:00
André d2f9919a4d [Web] Fix sorting by 'in use' 2018-06-01 14:19:42 +02:00
André 7c1795c497 [Web] Fix initial drawing of Rspamd plot 2018-05-31 17:58:51 +02:00
André 777e469958 [ClamAV] Remove deprecated AllowSupplementaryGroups 2018-05-30 20:28:23 +02:00
André 1b35376252 [Rspamd] Remove score for CTYPE_MIXED_BOGUS and ARC_REJECT, increase DNS timeout 2018-05-30 18:40:43 +02:00
André 8af05bb45d [Web] Do not verify peer names and allow self-signed certs for relay check 2018-05-28 18:49:19 +02:00
Phoenix Eve Aspacio ae4d6d5884
[web] fixes unclickable 'access' tab in mobile 2018-05-28 23:10:36 +08:00
André 37e6c50a9b [Watchdog] Add missing package for IPv6 with smtp-cli, fixes #1430 2018-05-27 21:40:53 +02:00
André f8abb2b1a4 [Web] Remove git version 2018-05-27 09:16:53 +02:00
André e70c269998 [Web] Replot graph immediately 2018-05-26 23:07:26 +02:00
André ab561139fe [Web] Replot graph after drawing tables 2018-05-26 23:02:18 +02:00
André a38424d3ad [Watchdog] Find exact matches for service names, shuffle scaled services, check if ip is in mailcow network 2018-05-26 22:19:17 +02:00
André 46170668b5 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-05-25 19:28:27 +02:00
Michael Kuron ea84004410
[rspamd] fix redis multimaps in version 1.7.5
The key's value was being used as symbol name instead of the symbol name defined in the config file
2018-05-25 18:58:37 +02:00
André 6ef521e825 [Web] Add git head info 2018-05-24 17:35:43 +02:00
André b26aa04a9b [Dovecot] Imapsync: Increase timeout1 value 2018-05-24 17:34:43 +02:00
André 4451b7406f [Web] Show minimal Rspamd action graph in Rspamd history tab 2018-05-20 23:30:17 +02:00
André 8373eabfd3 [Web] Add jqplot for future graphs 2018-05-20 23:29:40 +02:00
André 4f53763698 [Web] Add jqplot for future graphs 2018-05-20 23:29:15 +02:00
André 3911ba0910 [Web] Add Rspamd stats export to API 2018-05-20 23:28:39 +02:00
André 4579124120 [Web] Load all container states at once in debug.php 2018-05-20 23:28:03 +02:00
André 1f7a5d586c [Rspamd] Remove IP, fixes #1400 2018-05-19 00:14:30 +02:00
André 2dccb06bbf Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-05-18 21:47:42 +02:00
André 8ff4eb8076 [Rspamd] Slight changes to neural plugin 2018-05-18 21:39:25 +02:00
André 7a5d3af80b [Rspamd] Slight changes to neural 2018-05-17 11:15:46 +02:00
André 5e2d19ac62 [Rspamd] Add neural module and define its scores 2018-05-16 21:26:05 +02:00
André d167ade957 [Rspamd] Remove explict redis servers from statistic, add a name 2018-05-16 21:25:55 +02:00
Phoenix Eve Aspacio e14bb55789
Revert "modal update for auto expunge" 2018-05-13 07:12:22 +08:00
Phoenix Eve Aspacio 8dba3356f5
modal update for auto expunge 2018-05-13 07:08:12 +08:00
André a8d9b4359e [Dovecot] Set vszlimits for some services to prevent oom situations, fixes #1203 2018-05-12 08:52:03 +02:00
André 7f72e44dac [Rspamd] Move symbols to corresponding groups 2018-05-11 10:40:26 +02:00
André 527e790620 [Web] Store session data in Redis 2018-05-08 12:55:19 +02:00
André 2ee983c1a1 [Web] Fix implementation of multiple bookings for resources, fixes #1358 2018-05-06 21:51:00 +02:00
André 74008735ca [SOGo] Always show GAL contacts 2018-05-06 14:33:20 +02:00
André 60910c496c [Web] Fix init db 2018-05-06 14:30:06 +02:00
André 9e53ed4daf [Watchdog] Update to new image with smtp-cli 3.9 2018-05-06 09:15:35 +02:00
André d13539a9ad [Web] Add primary keys for all tables 2018-05-06 09:15:12 +02:00
eXtremeSHOK 8a9319c3f0
Update smtp-cli to v3.9
https://github.com/mludvig/smtp-cli/tree/v3.9
2018-05-06 03:43:59 +02:00
andryyy e69b6db877 [Web] Do not allow to create a domain where domain = mailcow_hostname 2018-05-03 22:42:31 +02:00
André d14e6c184b [ClamAV] Modify /dev/console to fit permissions 2018-05-02 21:08:40 +02:00
André 4c31adaa82 [Rspamd] Ratelimit: fix attempt to index a nil value when no authenticated user is found in a message 2018-05-01 22:44:03 +02:00
André a3f194e890 [Web] Sort fail2ban black and whitelist 2018-04-29 23:52:40 +02:00
André 27fc98d12e [Netfilter] Use Alpine 3.6 2018-04-27 21:55:25 +02:00
André 435fee2bc9 [Compose] Update PHP-FPM image 2018-04-26 22:04:59 +02:00
André 30cea1da9a [SOGo] Increase workers count to 20
[Postfix] Add extended TLS header
[Web] Increase timeout to 10 for docker API connections
[Postfix] Add perl package
2018-04-26 14:08:45 +02:00
André ef6644df34 [PHP-FPM] Delete old pool files
[Nginx] Remove dev code
2018-04-26 13:57:23 +02:00
André 7181ee4658 [Rspamd] Apply ratelimit against authenticated user instead of envelope from
[PHP-FPM] Create PHP-FPM listeners 9001 (system) and 9002 (web), drop 9000
[Rspamd] Parse quarantine messages as utf8
[Rspamd] Use new schema for Rspamd bayes hashes and expire them in Redis
[SOGo] Change default logo
[SOGo] Use different keyserver by default in Dockerfile
[Rspamd] Add bad ASN list (disabled by default)
[Watchdog] Change the way we check PHP-FPM, change SOGo check
[Nginx] Change ports according to new PHP-FPM listeners
[Update] Fix PHP-FPM ports for existing non-mailcow Nginx sites
2018-04-26 13:56:07 +02:00
André f53006f6ab [Dovecot] Dovecot 2.3.1, Pigeonhole 0.5.1
[ClamAV] 0.100.0, new log method without pipes
[Compose] New images for Dovecot and ClamAV, add persistent tty to clamd-mailcow
2018-04-26 12:36:13 +02:00
André f036de706e [Web] Added Latvian language \o/ 2018-04-26 09:34:41 +02:00
André 05e026db3a [Netfilter] New ban method, allow to set blacklists 2018-04-25 10:54:13 +02:00
André 7031af4cc8 [Compose] New dockerapi-mailcow image
[Docker API] Fix for rspamd-mailcow rspamadm pw command
2018-04-19 12:56:49 +02:00
Michael Kuron ea3502f2a1
rspamd: Fix NO_LOG_STAT for everycloud monitoring 2018-04-02 19:26:15 +02:00
André Peters 32c0b4a293 [Web] Add a timeout to PHPMailer
[Web] Fix relayhost test with empty username
2018-03-19 10:37:55 +01:00
André Peters d3ff84cf3f Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-03-09 10:51:46 +01:00
André Peters 33c24c737a [Web] Fix empty exlude regex in sync job 2018-03-09 10:51:36 +01:00
Phillip Koch db25a6f89f
removed encoding for data attribute to fix deletion 2018-03-08 20:46:43 +01:00
André Peters d2e11df0d4
[SOGo] Wait for view to be created
Creating sogo_view can fail when run before init_db.
2018-03-03 23:20:41 +01:00
André Peters 8a7664f7d5 [Nginx] Add larger map bucket size, fixes 1112 2018-03-01 07:28:06 +01:00
André Peters e3b542e73a Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-02-28 17:36:02 +01:00
André Peters b175125d02
Merge branch 'dev' into master 2018-02-28 15:38:56 +01:00
André Peters b6137cca2a
[ACME] Do not delete private key
...when reg key is invalid.
2018-02-28 11:13:17 +01:00
André Peters a27f34d9df [SOGo] Add v4 repo, new logo 2018-02-27 20:55:41 +01:00
André Peters bf5b6732cf [Dovecot] Fix passdb query 2018-02-27 20:55:12 +01:00
André Peters b255ecd62b [Dovecot] Add, but disable auth_debug 2018-02-27 20:54:46 +01:00
André Peters 5106eea86f [Web] Fix sorting by returning a number, fixes #1092 2018-02-27 15:45:08 +01:00
André Peters 6a01411460 [Dovecot] Fix imapsync 2018-02-27 15:12:21 +01:00
André Peters 2b786c13de [Web] Add default json attributes when adding mailbox 2018-02-27 15:02:49 +01:00
André Peters 0553dc5959 [Postfix] Fix query 2018-02-27 15:02:31 +01:00
André Peters 55cd58f14c
Update imapsync_cron.pl 2018-02-27 15:00:27 +01:00
Pascal Gollor f38d9b8a1e remove duplicates 2018-02-27 11:20:04 +01:00
Pascal Gollor a95b3ab761 fix vars.local hint 2018-02-27 11:13:21 +01:00
Pascal Jufer fc37a5aba5 Reorder navigation items 2018-02-27 10:34:23 +01:00
André Peters ebc395a4ae [Web] Fix update for mailbox 2018-02-26 21:57:32 +01:00
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