Commit Graph

186 Commits

Author SHA1 Message Date
FreddleSpl0it 223ba44b61
rearrange custom params validation 2022-07-14 09:39:24 +02:00
FreddleSpl0it f724662874
readd imapsync fix 2022-07-13 17:13:25 +02:00
FreddleSpl0it bee762737e
readd imapsync fix 2022-07-13 17:02:14 +02:00
FreddleSpl0it a835419168
fix imapsync 2022-06-23 18:36:54 +02:00
FreddleSpl0it 71db83efce hotfix imapsync 2022-06-13 12:46:39 +02:00
andryyy 7ae7f25580 [Web] Re-use DKIM key if available 2022-06-11 11:42:36 +02:00
DerLinkman d06119a21d [IMAPSYNC] Hardened pipemess exploit prevention (pipemes)
(cherry picked from commit b1658c0f83)
2022-05-20 09:45:45 +02:00
DerLinkman 8d9102aa08 [Imapsync] Case sensitive PIPEMESS removal
(cherry picked from commit 33e5ad2b5c)
2022-05-19 15:40:39 +02:00
FreddleSpl0it f40e682800
[Web] domain/mailbox tagging check for empty tags 2022-05-06 07:42:45 +02:00
FreddleSpl0it 549ff7d100
Add Domain and Mailbox tagging ()
* [Web] define tag tables

* [Web] add mailbox tag functions

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* Include new tags lang in language.en.json

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

Co-authored-by: Niklas Meyer <62480600+DerLinkman@users.noreply.github.com>
2022-05-05 08:25:01 +02:00
andryyy b820096656 [Web] Delete related spam aliases when deleting alias domain 2022-03-14 08:35:21 +01:00
andryyy 644b1f85d1
[Dovecot, Web] Allow SOGo access with app password when imap is disabled; Add sieve to mailbox protocol access restrictions 2021-10-30 08:03:41 +02:00
andryyy 51c8d43223
[Web] Fix array 2021-10-29 07:33:44 +02:00
andryyy 3c9b84ff6f [Compose] Update PHP and netfilter images 2021-10-15 13:06:48 +02:00
Kristian Feldsam c1dcb529f3
[Web] Add DKIM key when adding a domain or alias domain ()
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 16:51:10 +02:00
Kristian Feldsam 54c4d7e49c
[Dovecot: Imapsync] Parse, save and show last run status ()
* [imapsync] - check for errors in returned_text

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [imapsync] parse and save exit status

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [dovecot] updated image version

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 16:29:11 +02:00
andryyy 2cd0b56b14
[Web] Various PHP 8 fixes, partly fixes 2021-08-09 08:28:22 +02:00
andryyy fcbd4e762d
[Web] Set default relayhost to 0 when adding a mailbox; add missing lang strings 2021-07-29 14:37:33 +02:00
Shea Ramage 08dfc0220e
[Web] Remove redundant password hash checks ()
Co-authored-by: Thomas Ramage <tramage@eucmail.com>
2021-07-09 09:54:35 +02:00
andryyy 78084c5e7b
[Web] Log only latest datetime of a unique datetime, service and ip combination 2021-07-01 06:44:37 +02:00
andryyy 8b08d09ca2
[Web] Remove XMPP options
[Web] Add Rspamd preset 
[Web] Do not show failed SASL logins (and also remove them from db)
2021-06-30 10:13:29 +02:00
andryyy d156a93a84
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip 2021-06-22 07:17:55 +02:00
andryyy da20d5dc38
[Web] Replace country flags, improve flags for last logins, add info about last password change of a user 2021-06-08 13:16:10 +02:00
andryyy 2d55b54904
[Web] Show users the last known connections for SASL authentication
[Web] Feature: Log SASL authentication
2021-06-04 14:29:39 +02:00
andryyy 5065667ae4
[Postfix] Allow to set and override a relayhost per mailbox
[Web] Replace recycle icon with trash (this one made me a bit sad)
[Web] Various small fixes
[Web] Allow or disallow a domain admin to change relayhost settings (default is off, as previous default)
2021-05-26 14:02:27 +02:00
andryyy e6d5516c7f
[Web] Feature: Allow copies of quota notifications to be sent via SMTP to internal or external addresses
[Web] Various style fixes
[Web] Remove unused or unnecessary dependencies
2021-05-23 13:18:52 +02:00
andryyy 9c075af2d9
[Web] Bye Glyphicons, hello BS5 icons\!; [Web] Change font to Noto for better compatibility; 2021-05-22 12:13:37 +02:00
andryyy e21e0b9dbf
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
[Web] Replace spam score slider by nouislider and rework table a bit
2021-05-21 12:48:24 +02:00
andryyy 19843cc786
[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes , fixes ); [Web] Update libs, add LDAP for future admin/domain admin authentication 2021-04-13 21:34:47 +02:00
andryyy 5ea649b292
[Web] Feature: Add password policy 2021-04-09 13:46:17 +02:00
andryyy 616226be8a
[Web] Fix quota calculation, fixes 2021-04-08 11:17:27 +02:00
andryyy dd198747b7
[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table 2021-03-19 16:33:50 +01:00
andryyy b82bf5073b
[Web] Feature: Expand alias over alias domains 2021-03-19 09:28:45 +01:00
andryyy a3c6c51b35
[Web] Feature: Expand alias over alias domains 2021-03-19 09:11:55 +01:00
Shea Ramage 4feceb08da
Refactor support for pre-hashed passwords () 2021-03-10 21:06:32 +01:00
andryyy 6b3ea28501
[Web] Minor fixes 2021-03-01 10:21:26 +01:00
andryyy 64264767d7
[Web] Fix quota-left calculations when editing a mailbox (respect max domain quota) 2021-02-23 08:42:04 +01:00
andryyy f2453e316f
[Ejabberd] More fixes for Ejabberd integration (WIP) 2021-02-12 10:04:19 +01:00
andryyy 386d6109c8 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-02-11 09:36:18 +01:00
andryyy 06c89bac7d
[Web] Implement XMPP
[Web] Various small fixes and enhancements
2021-02-11 09:34:21 +01:00
Felix Kaechele 31805f1656
[Web] Implement all supported dovecot password schemas ()
When migrating from other Dovecot based installations it can be very
convenient to just copy over existing hashed passwords.
However, mailcow currently only supports a limited number of password
schemes.

This commit implements all password schemes that do not require
challenge/response or OTP mechanisms.

A convenient way to generate the regex with all supported schemas is
`docker-compose exec dovecot-mailcow doveadm pw -l | awk -F' ' '{printf
"/^{("; for(i=1;i<=NF-1;i++){printf "%s%s", sep, $i; sep="|"}; printf
")}/i\n"}'`

Note that this will also include unsupported challenge/response and OTP
schemas.

Furthermore this increases the vsz_limit for the dovecot auth service to
2G for the use of ARGON2I and ARGON2ID schemas.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2021-02-11 09:31:53 +01:00
andryyy a76d5628bc
[Web] Accept prehashes password on both edit and add mailbox 2020-12-07 08:13:26 +01:00
andryyy 3b1a87f9a7
[Web] Accept raw SSHA hashes as passwords 2020-12-07 08:07:41 +01:00
Joerg Lehmann bcffebaabe
support pre-hashed passwords () 2020-12-02 20:32:39 +01:00
andryyy ba20db2e08
[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL 2020-11-28 17:41:48 +01:00
andryyy b9a8b8a3e7
[Web] More custom_params 2020-11-06 14:26:48 +01:00
andryyy 29104ddf4c
[Web] Compatibility: Re-add _int vars 2020-09-26 22:04:55 +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 1f36ae28d4
[Postfix, Web] Feature: Show last SMTP login 2020-09-15 11:02:53 +02:00
andryyy 9274b7b8e1
[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API) 2020-08-22 22:59:13 +02:00