Commit Graph

3274 Commits (462aa0a764ecadbd98467659bf9adfa97f3a038c)

Author SHA1 Message Date
andryyy ff071e5120
[Web] Different UV flag for auth and register, remove unique key from fido2, delete tfa/fido2 when removing user object 2020-11-16 15:01:02 +01:00
andryyy c1376b4f4c
[Rspamd] Increase bounce_to limit 2020-11-16 11:56:12 +01:00
andryyy 21a75c1fd1 [Web] FIDO2: Print thrown error in verification failure, if any 2020-11-16 08:55:48 +01:00
andryyy 9dec340434 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-11-15 20:22:46 +01:00
Lukas Schreiner d96bf91a0d
Support of different default pass schemes + support of BLF-CRYPT (#3832)
* Introduce MAILCOW_PASS_SCHEME in order to support blowfish (cf. mailcow/mailcow-dockerized#1019)

* Furthermore added dovecot to support new environment varible for MAILCOW_PASS_SCHEME defaulted to SSHA256

* Revert changes regarding gitignore.

* Added fallback to SSHA256 if environment is not proper prepared.

* No fallback within management frontend, as it must match to other components.

* Unified and corrected alignment; implemented support of SSHA512

* Currently, password_hash of PHP is using by default bcrypt (BLF). As this might change later, we must ensure, that BLF is still used after PHP changes its default.

* Switched to BLF-CRYPT by default (even on update)

* Switched to BLF-CRYPT by default (even on update)

* Adding information in config generation / update with link to supported hash algorithm

* Bump sogo version to 1.92

* Fallback to BLF-CRYPT in case password scheme is not proper defined for Mailcow administration.
2020-11-15 20:22:35 +01:00
andryyy c150ac7b37
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators 2020-11-15 19:32:37 +01:00
Victor Nyberg 6d4555eb38
[Web] lang.sv.json (#3858) 2020-11-14 00:04:42 +01:00
andryyy 58cce74bc9
[Web] Add new lang strings 2020-11-13 21:27:20 +01:00
andryyy 5d9c40b8b4
[Rspamd, Web] Add rewrite subject to known soft quarantine actions 2020-11-13 21:26:42 +01:00
andryyy 477e1ff464
[Web] Fix initial static view update 2020-11-13 15:20:30 +01:00
andryyy 08396dc63a Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-11-11 14:34:42 +01:00
andryyy 0201becf77
[Rspamd] Fix some composites 2020-11-11 14:34:24 +01:00
Victor Nyberg 956c225f07
[Web] lang.sv.json (#3850)
* [Web] lang.sv.json
2020-11-09 22:57:24 +01:00
Bao, Huang-Huang 1a6f6ba9ec
[Web] Update lang.zh.json (#3848) 2020-11-09 14:48:39 +01:00
andryyy f18b677c8c
[Web] Fix invalid encodings with json_encode, fixes #3847 2020-11-09 14:43:15 +01:00
andryyy 6d56ef6435
[Web] Fix invalid encodings with json_encode, fixes #3847 2020-11-09 14:42:26 +01:00
andryyy 9eb65b03a1
[Rspamd] Remove rule that breaks DMARC valid mails from having their scored lowered 2020-11-09 14:04:56 +01:00
andryyy b7956d8a7a
[Web] Fix order of fuzzy del and fuzzy add when learning from quarantine, fixes #3844 2020-11-07 21:46:39 +01:00
Balázs Dura-Kovács a73944076c
[Web] Hungarian translation (#3842) 2020-11-06 14:47:11 +01:00
andryyy b9a8b8a3e7
[Web] More custom_params 2020-11-06 14:26:48 +01:00
andryyy 8dce12dbfa
[Assets] Update quarantine template (please review and update in case of modifications) 2020-11-06 12:26:48 +01:00
andryyy 6d46ee795b
[Rspamd] Log mail that was put into junk folder and keep a copy in quarantine 2020-11-06 12:26:01 +01:00
andryyy 347217c2d3
[Dovecot] Lower deduplicate interval to not discard duplicates of mail from quarantine that were previously saved in the junk folder 2020-11-06 12:25:09 +01:00
andryyy 9245bd8636
[Postfix] Sanitize string in smtpd last login script with printf 2020-11-06 12:23:23 +01:00
andryyy 4e337b308f
[Dovecot] Select action in quarantine script, use nobody to run imapsync cron 2020-11-06 12:23:02 +01:00
andryyy 2732e0158c
[Rspamd] Add newsletterplus to unwanted bulk (no consent, corona spam) 2020-11-04 09:29:27 +01:00
andryyy 46491e4e30
[Web] Add type/action to quarantine table 2020-11-03 11:13:16 +01:00
andryyy 7dc21e036d
[Rspamd] Fixes #3837 by setting correct data type for mails without fuzzy hashes, also implements actions 2020-11-03 10:27:46 +01:00
andryyy fd462f67e1
[Web] Do not use connectors for debug filters, fixes #3833 2020-10-31 09:32:52 +01:00
andryyy 33f6f0c4b0 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-10-29 20:29:31 +01:00
andryyy d94b5e43ea
[Rspamd] Add symbol HAM_TRAP or SPAM_TRAP for trap aliases 2020-10-29 20:29:14 +01:00
Victor Nyberg b095d57225
[Web] lang.sv.json (#3826) 2020-10-28 13:49:28 +01:00
andryyy 9034e0f3a8
[Rspamd] Fix tag handling for mailboxes 2020-10-28 11:06:33 +01:00
andryyy 6c697f3f3f
[Web, Quarantine] Allow to set the max score of a message up to which a quarantine notification will be sent 2020-10-27 21:34:02 +01:00
andryyy 1cb4d59e84 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-10-27 07:28:09 +01:00
andryyy 61bb3219df
[Rspamd] Fix tag handling for aliases 2020-10-27 07:20:54 +01:00
Victor Nyberg b067b23fb4 [Web] lang.sv.json 2020-10-25 15:36:28 +02:00
andryyy 7bcb9414ab
[Rspamd] Handle Postmaster in and outbound as trusted 2020-10-25 10:34:13 +01:00
andryyy 988c21657b Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-10-24 16:28:49 +02:00
andryyy 0165c9d26b
[Web] Show fuzzy hash of rejected mail, if any 2020-10-24 16:27:31 +02:00
andryyy b2fb0239fa
[Web] Lang: Add hint about blacklisted items not being quarantined 2020-10-23 21:49:50 +02:00
andryyy d85241f518
[Rspamd] Temp. pre-add proposed upstream change in metadata exporter 2020-10-23 21:49:06 +02:00
andryyy efc6f214d1 [Dovecot] Revert notification excludes (there are no blacklisted elements in quarantine anymore) 2020-10-23 20:24:25 +02:00
andryyy 9d0d826337
[Web] Highlight select boxes with missing required attrs 2020-10-23 20:23:54 +02:00
andryyy 85b8b74a4c
[Rspamd] Do not quarantine blacklisted entities 2020-10-23 20:23:26 +02:00
andryyy c7e17c7fd1
[Rspamd] Global blacklists are not prefilters anymore to not prevent them from being learned 2020-10-21 19:00:53 +02:00
Geitenijs 8bbd90b9b9
[Web] Update lang.nl.json (#3818) 2020-10-21 14:47:37 +02:00
andryyy 4155d21392
[Rspamd] Remove positive fuzzy scores from bounces 2020-10-20 16:15:02 +02:00
andryyy 17c7625c11 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-10-20 15:50:00 +02:00
andryyy 5f8e13f596 [Dovecot] Allow to define static master user (not recommended) 2020-10-20 15:43:05 +02:00
Dmitriy Alekseev fa153fad38
[Rspamd] Rebalance group policies (#3817)
* [Rspamd] Rebalance group policies

* [Rspamd] Rebalance group policies
2020-10-20 11:55:55 +02:00
André Peters 4817de6d27
Revert "[Web] Mailbox create/edit check if unlimited quota available (#3813)" (#3815)
This reverts commit c1405f5507.
2020-10-19 08:53:22 +02:00
Kristian Feldsam c1405f5507
[Web] Mailbox create/edit check if unlimited quota available (#3813)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

# Conflicts:
#	data/web/modals/mailbox.php
2020-10-19 08:24:49 +02:00
andryyy 5ead886fd6
[Web] Escape To field in Rspamd history log 2020-10-18 19:44:56 +02:00
andryyy ee9288581a
[Rspamd] Do not post whole body to alias expander... 2020-10-18 19:27:25 +02:00
andryyy be0ec8efc0
[Rspamd] Composite fixes and adjustments for better filtering 2020-10-18 10:11:27 +02:00
andryyy f95bd3e7b6
[Rspamd] Simplify forward host rule and add policy group to exceptions for fwd host 2020-10-18 09:12:02 +02:00
andryyy 5cd6bed701
[Rspamd] Fix typo in alias resolvers 2020-10-17 20:09:32 +02:00
andryyy c718f085e0
[Web] Same color for all last login indicators 2020-10-17 10:15:30 +02:00
andryyy ddadc1ced2
[Rspamd] Remove unnecessary set_metric_action in tag script 2020-10-17 10:15:14 +02:00
Dmitriy Alekseev 9ba1d4626d
[Postfix] Anonymize sender IP for mail sent locally (#3811)
This commit resolve #3723
2020-10-17 09:06:38 +02:00
andryyy f8291d1967
[Rspamd] Adjust alias resolver prefilter prio 2020-10-16 18:39:22 +02:00
andryyy 0c30d32fdb
[Rspamd] Resolve direct aliases (also fixes tagging options) 2020-10-16 18:27:19 +02:00
andryyy 7e169582ca
[Config] Generate self-signed certificates 2020-10-14 12:17:07 +02:00
andryyy 5a627dc34a
[Rspamd] Add invaluement sendgrid-id-dnsbl 2020-10-13 11:15:12 +02:00
andryyy aadd8b6a8b Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-10-12 09:23:50 +02:00
andryyy 7da3b91bd7
[Rspamd] Disable IPv6 for interserver ip bl, enable full host lookup for uribl 2020-10-12 09:23:41 +02:00
Lars 44c6d0cb76
[Web] API: Fix content type detection (#3803) 2020-10-11 14:39:58 +02:00
Timo a5b5652ee9
Merge pull request #3801 from ntimo/task/api-docs-domain-admin-edit
[API docs] Added edit domain admin route
2020-10-11 13:34:56 +02:00
andryyy 39a33c4b6d
[Dovecot] Conf: drop duplicates as received within 60 minutes 2020-10-11 10:35:29 +02:00
andryyy 7ca7b3b598
[Web] Drop obsolete sieve filter preset 2020-10-11 10:35:14 +02:00
andryyy ce77d87c8d
[Dovecot] New global post-filter: drop duplicates as received within 60 minutes 2020-10-11 10:34:15 +02:00
andryyy efd69f1c1c
[Rspamd] Add Interserver rules, THANK YOU! 2020-10-11 10:30:46 +02:00
ntimo f05a5254ec
[API docs] Added edit domain admin route 2020-10-11 07:24:14 +00:00
andryyy dec1364751
[Web] Fix DKIM key toggles 2020-10-11 08:41:52 +02:00
Max 3bb8dcae68
[Web] Filter for ARC/DKIM key list (#3790)
* Filter für "ARC/DKIM-Keys"-Liste

Fügt Buttons hinzu, um Einträge je nach Status zu filtern. "Alles" und "Löschen" wurde unter die Auslistung verschoben und um die zugehörigen Icons ergänzt.

* Update admin.php

Co-authored-by: André Peters <andre.peters@debinux.de>
2020-10-11 08:40:12 +02:00
Timo 49cca3b1d2
[API docs] Added domain admin acl edit route (#3802) 2020-10-11 08:38:16 +02:00
andryyy ffbc5ec961
[Web] Do not expand IPv6 as found by SPF lookup 2020-10-10 10:57:06 +02:00
andryyy ef69de3a55 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-10-09 11:29:55 +02:00
andryyy 769c500cd0
[Watchdog] Watch milter status with a dirty workaround, waiting for proxy ping pong event to implement a better check 2020-10-09 11:21:17 +02:00
andryyy 72542f1d50
[Rspamd] Delete deprecated reputation files 2020-10-09 08:57:51 +02:00
Lukáš Matula f775678af6
[Web] Update lang.sk.json + small typos (#3797) 2020-10-08 22:05:49 +02:00
andryyy 1b2731d6e6
[Rspamd] Add reputation plugin, remove deprecated plugins 2020-10-08 17:03:39 +02:00
andryyy d6688d918b Revert "[Rspamd] Use reputation plugin instead of ip_ and url_reputation"
This reverts commit 73e87068d8.
2020-10-08 16:52:20 +02:00
andryyy 73e87068d8
[Rspamd] Use reputation plugin instead of ip_ and url_reputation 2020-10-08 16:51:46 +02:00
andryyy 02677a9788
[Web] Higher timeout for long delays in transport checks 2020-10-08 16:51:04 +02:00
ntimo 09274613ef
[API docs] Fixed spelling mistakes 2020-10-04 19:42:16 +00:00
andryyy dd62030ce2
[Rspamd] 2.6 stable, switch repo 2020-10-03 11:12:12 +02:00
Bao H.H b5ee399fa2
Add simplified Chinese language translations (#3784) 2020-10-01 20:50:49 +02:00
Lukáš Matula 37e4ad7c1b
[Dovecot] Quota template - better compatibility (#3783)
MS Outlook, Thunderbird, EMClient, SOGo, Roundcube
2020-09-29 06:33:13 +02:00
andryyy da200db2d3
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output 2020-09-28 19:58:30 +02:00
andryyy 0142a7ba54 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-09-28 16:25:32 +02:00
andryyy 836ea1508e
[Postfix] Fix smtp last login on replicated setups 2020-09-28 16:23:49 +02:00
Lozik 7408fe2984 Update lang.fr.json to reflect 6da5ee8 2020-09-27 22:38:15 +02:00
Victor Nyberg b85311eaa5
[Web] lang.sv.json (#3781) 2020-09-27 17:31:54 +02:00
mcmufffin 93ac0d3864
Update site-defaults.conf (#3780) 2020-09-27 12:38:40 +02:00
andryyy 172562fc29
[Watchdog] Increase threshold for cert check 2020-09-27 11:34:00 +02:00
andryyy bcad1af121
[Watchdog] Add certificate check for primary certificate; Add mail delay 2020-09-27 10:34:59 +02:00
andryyy c8ce288178
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly 2020-09-26 23:33:28 +02:00
André Peters ba0b6963c7
Revert "Update site-defaults.conf (#3778)" (#3779)
This reverts commit b8ec9ad536.
2020-09-26 22:53:53 +02:00
andryyy 1256059a4f Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-09-26 22:17:51 +02:00
mcmufffin b8ec9ad536
Update site-defaults.conf (#3778) 2020-09-26 22:15:43 +02:00
andryyy 27a4cead66 [Web] DB update 2020-09-26 22:12:29 +02:00
andryyy 6da5ee8f4f
[Web] Some language additions for new functions and minor changes 2020-09-26 22:10:58 +02:00
andryyy 29104ddf4c
[Web] Compatibility: Re-add _int vars 2020-09-26 22:04:55 +02:00
andryyy d5c22de9b3
[Web] Compatibility: Re-add _int vars 2020-09-26 22:02:34 +02:00
andryyy 23f118a152
[Web] Allow to overwrite DKIM keys while importing a new key 2020-09-26 22:01:15 +02:00
andryyy 53dd02bc63
[Web] Add TLS policy toggle to edit/mailbox; Add WIP smtp_ip_access (hidden) 2020-09-26 22:00:46 +02:00
andryyy 1e35fdee7a
[Web] Add toggle to overwrite DKIM key while importing 2020-09-26 21:59:28 +02:00
andryyy 520056a489
[Rspamd] Quarantine, Pushover: Respect active = 2 while processing 2020-09-26 21:58:49 +02:00
andryyy 1e244e9c0c
[Rspamd] Quarantine, Pushover: Respect active = 2 while processing 2020-09-26 21:58:28 +02:00
andryyy 642ef1a515
[Rspamd] Pushover, quarantine: also process 2020-09-26 21:55:04 +02:00
andryyy a79d536867
[Rspamd] 2.6-0~git32~1c3e0910b~buster 2020-09-25 23:00:01 +02:00
andryyy c3c98348e2
[SOGo] Re-enable TLS for internal IMAP connections, enable TLS for internal SMTP connections
[Web] Minor fix in quarantine view
2020-09-24 21:51:32 +02:00
andryyy e2d98323ef Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-09-24 20:31:07 +02:00
andryyy e5f0e1da44
[Rspamd] Fix prio for includes in overrides 2020-09-24 20:30:58 +02:00
Jellyfrog c31d0cee86
[Nginx] Refresh cipher suites (#3669)
Also turn ssl_prefer_server_ciphers off.
"The cipher suites are all strong and so we allow the client to choose, as they will know best if they have support for hardware-accelerated AES" - https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29
2020-09-24 07:30:09 +02:00
andryyy b4f8156875 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-09-23 11:23:43 +02:00
andryyy c355bc2b69
[Rspamd] Prepare SMTP ip restriction, WIP 2020-09-23 11:21:28 +02:00
andryyy 2df661a91e
[Dovecot] Move mail index to new volume 2020-09-23 11:20:00 +02:00
Jonas Bögle f8b748a1d1
[Web] Add autocomplete to OTP (#3774) 2020-09-23 06:56:44 +02:00
andryyy 090733f2c3 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-09-21 20:52:09 +02:00
prey87 8dd8c7b3eb
Update quarantine.js (#3767)
* Update quarantine.js

changed created formatter like in site/user.js, site/mailbox.js & site/admin.js to get month and day in 2-ditgit format

* Update debug.js

changed created formatter like in site/user.js, site/mailbox.js & site/admin.js to get month and day in 2-ditgit format

* Update debug.js

missed two old toLocaleString()
2020-09-21 18:29:30 +02:00
andryyy dc1732cc51
[Web] Replace JSON_EXTRACT by JSON_VALUE in init script 2020-09-20 22:33:09 +02:00
andryyy 386133b855 [Dovecot] Remove like from query
Signed-off-by: andryyy <andre.peters@debinux.de>
2020-09-20 22:30:03 +02:00
andryyy 3a9efc86cf
[SOGo, Dovecot] Remove unnecessary likes from sql queries
[Web] Filter transport destinations to prevent empty destinations
2020-09-20 22:21:00 +02:00
Victor Nyberg 8c9970230a
[Web] lang.sv.json, lang.de.json, lang.en.json (#3771)
* [Web] lang.sv.json, lang.de.json, lang.en.json

* [Web] lang.de.json
2020-09-20 17:06:17 +02:00
andryyy 4627331339
[Dovecot] Fix sieve with new protocol toggling implementation, fixes #3769 2020-09-19 19:15:06 +02:00
andryyy c54fa76beb
[Web] Add quick toggle for imap/pop3/smtp access; small rework of buttons on /mailbox; Minor fixes and changes 2020-09-18 15:53:01 +02:00
andryyy c2deb454de Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-09-17 21:48:10 +02:00
andryyy f2c1530143
[ClamAV] Set to ConcurrentDatabaseReload and (todo:) add note to docs 2020-09-17 21:48:00 +02:00
ntimo a85224f218
[API docs] Removed all occurrences of _int
Reflecting d9b91fc04f
2020-09-17 21:01:13 +02:00
ntimo 370e6dc415
[API docs] Removed active_int
Reflecting d9b91fc04f
2020-09-17 20:35:45 +02:00
andryyy d9b91fc04f [Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
[Web] Feature: Allow to toggle protocols (imap, pop3, smtp) per user (defaults can be configured using vars.local.inc.php, see vars.inc.php)

Signed-off-by: andryyy <andre.peters@debinux.de>
2020-09-17 19:49:15 +02:00
andryyy 85b027aa9d
[Postfix] Merge syslog filters
[Postfix] Create sasl_access map; Use JSON_VALUE and remove unnecessary like command
2020-09-17 19:48:04 +02:00
andryyy 09ec4fcd81
[Dovecot] For future use: pass used protocol; Check if user has protocol access while authenticating 2020-09-17 19:46:28 +02:00
andryyy 881f558e48
[Postfix] Add sasl check to deny specific users from using smtp relay 2020-09-17 19:44:52 +02:00
andryyy 22d4c04416
[Dovecot] Postlogin socket owned by vmail 2020-09-17 19:43:57 +02:00
andryyy 2c9140f9f0 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-09-15 12:01:15 +02:00
andryyy fd2d7d12a0
[Rspamd] Latest 2.5 2020-09-15 11:57:39 +02:00
andryyy 567064ed50
[ClamAV] Update to 0.103.0 2020-09-15 11:07:35 +02:00
andryyy 1f36ae28d4
[Postfix, Web] Feature: Show last SMTP login 2020-09-15 11:02:53 +02:00
andryyy 28041b1d97
[Rspamd] Encrypt fuzzy communication, switch to Rspamd 2.6 2020-09-15 11:01:20 +02:00
Noa J c1034b890d
[Rspamd] Add open-relay-check@mailcow.email to monitoring_nolog.map (#3757) 2020-09-13 13:07:21 +02:00
Dmitriy Alekseev a4408fba11
Merge pull request #3755 from mailcow/dragoangel-patch-1
[Web] Update lang.ru.json
2020-09-12 21:18:51 +03:00
andryyy 943730de47
[Rspamd] Add filter to global mime black- and whitelists to only match addr 2020-09-12 20:11:18 +02:00
Dmitriy Alekseev 61c371c8b8
[Web] Update lang.ru.json 2020-09-12 14:07:17 +03:00
Dmitriy Alekseev 7feb589b90
[Rspamd] Add iso/img to bad extensions (#3753) 2020-09-12 12:21:12 +02:00
Dmitriy Alekseev eb12c2f8cd
[Rspamd] Disable extension cloaking (#3754) 2020-09-12 12:20:55 +02:00
andryyy c201a712cb
[Rspamd] Macro check was fixed, remove doc and xls ban for now... 2020-09-09 16:02:14 +02:00