Commit Graph

262 Commits (567064ed509db373e52d67f944677984030a2389)

Author SHA1 Message Date
Howaner 5bb7b5b368 Fixed XSS 2019-05-01 01:03:16 +02:00
Howaner 17918b3e21 Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
If a mail is sent to a domain alias domain and rejected, mailcow does not currently store the mail in quarantine.
This commit adds domain alias handling to the reject code and should fix this behavior.

Also added displaying of recipient addresses into the quarantine mail dialog to be able to see what mail address was "leaked".
2019-05-01 00:56:12 +02:00
André Peters 7c5094b8ec
Update 014-mailcow.js 2019-04-29 20:24:35 +02:00
André Peters b6607e090e
Update 014-mailcow.js 2019-04-29 19:43:30 +02:00
André Peters 987e884407
Merge branch 'master' into admin-login 2019-03-31 15:49:18 +02:00
andryyy 49492dff61
[Web, Dovecot] Allow empty/unlimited quota 2019-03-28 22:05:12 +01:00
andryyy 31f59eb2db
[Web] Update bootstrap slider 2019-03-25 12:34:53 +01:00
Marcel Hofer 7d2289c3a7 Merge branch 'master' into admin-login
# Conflicts:
#	data/web/js/site/mailbox.js
2019-03-23 21:17:02 +01:00
andryyy 1fcecd0350
[Web] Fix js when adding resource
[Web] Reload view and memcached when changing a resource
2019-03-18 10:16:33 +01:00
André Peters 3d8a46357b
Merge branch 'master' into admin-login 2019-03-18 02:03:59 +01:00
andryyy d8dbcfac92
[Web] Continue when a check in add_alias fails
[Web] Fix "null" output in mailbox table when comments are missing
[Update] Remove obsolete check/replace command
2019-03-14 01:46:15 +01:00
Kristián Feldsam 9d57583624 Quarantine - Enhanced JS + Show btn fix event binding
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2019-03-12 21:56:59 +01:00
Marcel Hofer cac67db203 add config ALLOW_ADMIN_EMAIL_LOGIN and implement password-less SOGo login admins 2019-02-23 17:59:18 +01:00
andryyy 78d0deed94
[Web] Lang updates
[Web] Minor fixes
2019-02-05 10:37:28 +01:00
andryyy 21741dc061
[Web] Update bootstrap slider javascript
[Web] Minor JS changes and fixes
2019-02-05 00:07:34 +01:00
andryyy d7f169cc2f
[Web] Further improvments, minor fixes 2019-01-31 17:07:24 +01:00
andryyy ad0df77d28
[Web] Minify css and js via PHP
[Web] Use PT Sans
[Web] Update some libs
2019-01-30 12:10:26 +01:00
andryyy 07392b7437
[Watchdog] Use stackoverflow.com for DNS check
[Git] Ignore mail_plugins*
[Dovecot] Read mail_plugins from dynamically generated file
[Dovecot] Encrypt FTS
[Dovecot] Add break_imap_seach option to Solr
[Web] Add ability to send quarantine notification mails
[Web] Minor style fixes
[Web] Add new MAILBOX_DEFAULT_ATTRIBUTES (doc updates, anyone? :-( )
[Web] Use rcpt_smtp if rcpt_mime is not set
[Web] Other minor fixes
2019-01-29 00:20:39 +01:00
andryyy af49a41ff6
[Web] Remember FooTable settings by using state plugin, fixes #2122 2019-01-19 08:25:05 +01:00
andryyy d6efc2fcd3
[Rspamd] Fix metadata_exporter
[Web] Show subjet in quarantine
[Compose] Update Rspamd image
2019-01-17 22:00:18 +01:00
andryyy b99820d011 [Web] Allow to set transport maps, rename relayhosts to sender-dependent transports 2018-12-20 11:23:35 +01:00
andryyy 5b5976ba23 [Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket 2018-12-15 21:24:39 +01:00
root d445d7d2e7 [Web] Allow actions in quarantine modal, fixes #1991
[Web] Fixes for Source Sans Pro font
[Rspamd] Add global rcpt blacklist and whitelist
[Compose] New Rspamd image
2018-11-27 10:20:42 +01:00
andryyy 2515a91ac3 [Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)
[Web] Edit alias domains: use select menu
[Web] Minor fixes
2018-11-14 08:20:56 +01:00
andryyy b8b9e6ef57 [Web] Fix sieve validation, fixes #1960 2018-10-28 12:46:08 +01:00
andryyy ea4e92a362 [Web] Fix mailq styles in /admin 2018-10-25 22:42:20 +02:00
André e30dfd6751 [Web] Queue manager for Postfix
[Web] Add sogo_access mail attribute
[Web] Allow to wipe SOGo profiles
2018-10-23 21:14:57 +02:00
André 9f0be1d8a8 [Web] Fix require_once to always include document root
[Web] Add system mails (send mails to all mailboxes via LMTP)
[Web] Allow to add more administrators
[Web] Fix domain administrator editing
[Web] Remove some foreign keys
[Web] Remove username from API
[Web] Remove more .php extension from code
[Web] More minor fixes
2018-10-11 11:59:23 +02:00
André e304860408 [Web] Fix empty domain dropdown in race condition, fixes #1849 as workaround 2018-10-06 22:09:05 +02:00
André f5799faf6d [Web] Feature: TLS policy maps
[Web] Avoid php extensions in links
[Web] Minor fixes
2018-10-04 14:38:12 +02:00
André 0fb43f4916 [Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
[Docker API] Create pipe to pass Rspamd UI worker password
[Dovecot] Pull Spamassassin ruleset to be read by Rspamd (MANY THANKS to Peer Heinlein!)
[Dovecot] Garbage collector for deleted maildirs (set keep time via MAILDIR_GC_TIME which defaults to 1440 minutes)
[Web] Flush memcached after mailbox item changes, fixes #1808
[Web] Fix duplicate IDs, fixes #1792
[Compose] Use SQL sockets
[PHP-FPM] Update APCu and Redis libs
[Dovecot] Encrypt maildir with global key pair in crypt-vol-1 (BACKUP!), also fixes #1791
[Web] Fix deletion of spam aliases
[Helper] Add "crypt" to backup script
[Helper] Override file for external SQL socket (not supported!)
[Compose] New images for Rspamd, PHP-FPM, SOGo, Dovecot, Docker API, Watchdog, ACME, Postfix
2018-09-29 22:01:23 +02:00
André c9554ca022 [Compose] Update watchdog image
[Watchdog] Fix IP detection with multiple networks
[Web] Show API field (no docs, no support, wip)
[Web] haveibeenpwned.com implementation
[Web] User and domain admin ACL (no docs, no support, wip)
[Web] Some minor fixes
2018-09-09 21:18:38 +02:00
André d64a89473e [Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
[Web] Duplicate DKIM keys from a single domain to a single or multiple domains
[Web] WIP: Started Ratelimit rework
[Web] Show RL in overview of mailbox and domains
[Web] Move RL function out of mailbox functions file
[Web] Some language fixes/changes
2018-08-21 17:41:04 +02:00
André 1791383eab [Web] Fix duplicate success message after editing a domain as domain administrator
[Web] Add "login as" button for domain admin table
2018-08-15 00:05:18 +02:00
André a11cce6765 [Web] Fixes for BCC map input fields
[Web] Allow to edit alias address
[Web] $_SESSION['return'] now contains arrays and allows multiple returned messages and log entries
[Web] Some language string changes
[Web] General SQL exception handler, remove all try catch handlers
[Web] Alias table now has an ID as primary key
[Web] Be more aggressive with localStorage cleaning
2018-08-13 23:20:40 +02:00
André 7f86a80670 [Web] Fix log line handling
[Web] Add mailcow UI logs
[Web] Changes to _SESSION['return'] logic and logger (more to come)
[Web] Show last login
[Web, Postfix] Allow to disable sender check completely
[Web] Many minor fixes
[Web] Update some libs
2018-08-03 20:31:33 +02:00
André e3f73f26f1 [Web] Add u2f api from bitwardens repository to skip u2f when it is browser-provided 2018-07-29 23:01:51 +02:00
André 8934a3a68b [Web] Allow spam/ham "traps"
[Web] Changes to docker functions
[Web] List all containers of compose project name
2018-07-29 00:38:45 +02:00
André 6f656c39b4 [Web] Do not use hard-coded params in imapsync jobs
[Web] Allow custom parameters in imapsync
2018-07-27 22:19:59 +02:00
André 4d393d9265 [Web] Remove title from Rspamd graph 2018-07-25 01:09:19 +02:00
Phoenix Eve Aspacio 5cb8df3f11
[Web] Minor fixes on the new rspamd graph...
* Reloads graph on window resize
* Reloads graph on tab change
2018-07-24 20:03:16 +08:00
Phoenix Eve Aspacio fd91692335
[Web] Replace jqPlot with Google Charts (#1604)
* [Web] adjust height...

for mobile responsiveness.

* Delete jqplot.donutRenderer.js

* Delete jquery.jqplot.min.js

* Create google.charts.loader.js

* [Web] Add google charts loader

* [Web] New pie graph design
2018-07-24 18:46:17 +08:00
Phoenix Eve Aspacio 68fa438a3f
[Web] Minor UI Fix 2018-07-23 19:33:52 +08:00
André 3f0aca7a35 [Web] Add refresh button and counter to mailbox tables
[Web] Fix multiple "no results" rows when refreshing an empty table
[Web] Remember page when going back to a table with pagination, fixes #1598
2018-07-22 11:03:32 +02:00
André 649ab6c6fc [Web] Update footable to 3.1.6
[Web] Add domain filter to some tables
[Web] Fix lost focus when filtering elements
[Web] Alsmost remove input lag on table filter
2018-07-21 22:31:20 +02:00
André 853b924fe1 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-07-15 11:56:26 +02:00
André c372b01909 [Rspamd] Use old ratelimit LUA until custom rl is fixed
[Web] Updated settings preset: Ratelimit was NOT applied when preset for settings map was used (added "RATELIMIT_UPDATE", "RATELIMIT_CHECK" to symbols_enabled)
[Rspamd] v1.7.8
2018-07-13 11:40:37 +02:00
Phoenix Eve Aspacio 4b988a2e48
[Web] table header width fix (#1564)
* Mobile fix for tables

* mobile fix for tables
2018-07-13 17:02:46 +08:00
André ca7ad2942a [Web] Minor fix to api.js 2018-06-25 22:32:46 +02:00
André 7d2f1f3dd7 [Web] Minor style fixes 2018-06-24 11:52:25 +02:00
André 02b1226312 [Web] Move Rspamd UI settings from debug to "Access" section
[Web] Move Rspamd settings map from debug to "Configuration" section
[Web] Some minor fixes to JS and PHP
[Web] Feature: Allow to set Rspamd settings from web UI (includes 2 presets)
[Web] Add missing primary keys
2018-06-23 23:50:22 +02:00
André 43a6e24b81 [Web] Fix alias table - fixes #1467 2018-06-08 10:26:19 +02:00
André e13c519ecb [Web] Fix Rspamd plot, again - fixes #1467 2018-06-08 10:17:57 +02:00
André 82209196f5 [Web] Fix Rspamd plot 2018-06-08 09:13:26 +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é 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é 4451b7406f [Web] Show minimal Rspamd action graph in Rspamd history tab 2018-05-20 23:30:17 +02:00
André 4f53763698 [Web] Add jqplot for future graphs 2018-05-20 23:29:15 +02:00
André 2ee983c1a1 [Web] Fix implementation of multiple bookings for resources, fixes #1358 2018-05-06 21:51:00 +02:00
Phillip Koch db25a6f89f
removed encoding for data attribute to fix deletion 2018-03-08 20:46:43 +01:00
André Peters 5106eea86f [Web] Fix sorting by returning a number, fixes #1092 2018-02-27 15:45:08 +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 4163f08009 [Web] Fixes #1017 2018-02-10 18:16:01 +01:00
André Peters 64dbd54478 [Web] Fix urlencoded objects in api 2018-02-09 22:45:04 +01:00
André Peters a50036477e [Web] Mind was set to french, reverting to english 2018-02-08 20:13:36 +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
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 1a97137ee9 [Web] Remove FA js 2018-01-27 12:26:36 +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
Michael Kuron e86565e283 Expose Postfix's recipient_canonical_maps through web UI 2018-01-23 20:02:31 +01:00
Kristian a6bcde3ee0 [WEB] Make quarantine action column more wider 2018-01-18 19:16:02 +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 c2f74ab75c [Web] Set default pagination size to 20 2018-01-18 09:13:36 +01:00
andre.peters c07e521309 [Web] Fixes number validation in forms, fixes #882 2018-01-13 18:32:28 +01:00
andre.peters 278f1c2a37 [Web] Restart SOGo after adding a new domain, fixes #864 2018-01-11 22:40:43 +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 d76d103c76 [Web] Move DNS diagnostic to modal, some minor fixes 2018-01-02 10:24:48 +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
andre.peters 603956ca6a [Web] Disable connectors in footable filter for mailbox 2017-12-20 21:15:43 +01:00
andre.peters adc23d86f9 Various... 2017-12-09 13:17:15 +01:00
André e1eb83ef87 [Web] Update libs, fix U2F for Firefox Quantum 2017-11-21 09:33:22 +01:00
André ade4b9e7ae [Postfix, Web] Feature: BCC maps 2017-11-19 15:13:43 +01:00
André ec37c6b0c2 [Web] Minor changes 2017-11-10 19:58:17 +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é 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é 81775765d8 [Web] Customize app menu and logo; Fix #671 2017-10-21 10:07:06 +02:00
andryyy 9c37cd76e5 [Web] Autodiscover logs 2017-10-02 21:47:31 +02:00
andryyy 750a2b8cef [Web] New feature: Show DKIM private keys - needs variable set to true in vars.local.inc.php 2017-09-16 22:59:42 +02:00
andryyy 8741b5f3b1 [Compose] Enable some minimal inits, change or remove some health checks 2017-09-16 13:17:37 +02:00
André Peters 013163bac9 Merge pull request #573 from cwildfoerster/serve-local-only
serve internet explorer js files too
2017-09-10 19:15:14 +02:00
Constantin Wildförster 82ed5e17b0
serve internet explorer js files too 2017-09-10 16:28:33 +02:00
Constantin Wildförster 65deb45f68
fixes #562 2017-09-10 16:11:55 +02:00
andryyy 3e741a0d9c [Web] Disable connectors in FooTable filter 2017-08-30 22:06:51 +02:00
andryyy 66ae588445 [Web] Started work on ACL, fix notifications 2017-08-18 22:18:14 +02:00
andryyy aabcf65c69 [Nginx] Set server_names_hash_bucket_size 64 2017-07-30 21:39:35 +02:00
andryyy 66e06a0c0c [Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements 2017-07-29 10:32:17 +02:00
andryyy 3bd7383bca [Web] Add relay host testing tool 2017-07-26 23:11:43 +02:00
andryyy 83d485dd94 [Web, Postfix, Compose] Allow to add relayhosts per domain (+ plain and login authentication) 2017-07-22 20:39:54 +02:00
andryyy 84ad579437 [Web] Initial ratelimit support, more API actions 2017-07-16 11:03:28 +02:00
andryyy a2f1c09a84 [Web] Style changes to DKIM import section, push login errors to Redis channel 2017-07-04 18:05:04 +02:00
andryyy d4311a806b Fix Rspamd logs date 2017-07-03 08:10:11 +02:00
andryyy 47eb11338c Push fail2ban version to 1.2 2017-06-24 20:06:23 +02:00
andryyy a2f8f5c908 Fix id 2017-06-24 10:32:24 +02:00
andryyy c75ce5124c Fixes: First line was missing in logs. Adds support for Fail2ban container 2017-06-24 00:07:53 +02:00
andryyy 44c4074773 Add err priority to danger class 2017-06-17 20:57:23 +02:00
andryyy 03d4ea5a35 Add ability to generate passwords for new mailboxes 2017-06-16 08:52:41 +02:00
andryyy 09a6d432f1 Fixes #364 2017-06-15 23:03:21 +02:00
andryyy 2db910d6dc Remove Rmitler \o/ 2017-06-06 21:58:48 +02:00
andryyy 5a95d2062c More changes to the UI, more API... 2017-05-29 21:51:06 +02:00
andryyy ce6bf18c2f Web UI improvements 2017-05-26 23:02:04 +02:00
andryyy 56a9a09e2f Further migration 2017-05-23 22:23:46 +02:00
andryyy fd5a59086b More structural changes 2017-05-23 09:36:59 +02:00
andryyy c9184a9bad Various fixes and changes 2017-05-17 21:17:00 +02:00
andryyy 08ad62a253 Fix domain actions 2017-05-16 09:51:05 +02:00
andryyy e91c6916ab CSRF protection 2017-05-15 11:37:12 +02:00
andryyy 2291b4e121 Added SOGo logs 2017-05-13 22:58:29 +02:00
andryyy 0a90bdc4df Fixes #264 2017-05-13 09:42:17 +02:00
andryyy 15853df84c JS changes and fixes 2017-05-13 08:55:34 +02:00
andryyy b1d0776ad1 Fix selection in filter field 2017-05-11 23:18:57 +02:00
andryyy 14a9a1c616 A lot of changes... still not finished, use with caution.
Edit actions can be done with the internal API, trying to get rid of edit and add files
2017-05-11 23:10:32 +02:00
andryyy f582f0f01b Various fixes, update u2flib 2017-05-09 23:25:23 +02:00
andryyy a8e550244e Remove DKIM keys with api 2017-05-09 21:30:08 +02:00
andryyy bbff045d04 Use API for forwarding hosts 2017-05-09 13:43:54 +02:00
andryyy f77c40a179 Better log table, some MySQL to Redis migrations, API changes, other minor changes... 2017-05-08 15:41:05 +02:00
andryyy 3b80a1af37 Change admin layout, add Postfix logs 2017-05-08 00:27:35 +02:00
andryyy 8c8bfc0108 Add Json log parser for Dovecot and Postfix containers 2017-05-06 23:52:40 +02:00
andryyy 24c97515a8 80% table width on large screens, some minor td size changes 2017-05-02 15:17:37 +02:00
andryyy 3fc42465a0 Fix width problems in mailbox table, change image name to stretch 2017-05-02 09:42:07 +02:00
andryyy eb6bc9e738 Mailbox table: break all 2017-05-01 19:13:46 +02:00
andryyy f4a0289e71 Important fix: Adding a domain was not possible 2017-04-29 22:19:35 +02:00
andryyy 8f213e8df9 Changes to api path 2017-04-29 16:36:41 +02:00
andryyy c29923d77a Use JS array instead of JSON object when creating lists of items for quick actions, respect all pages 2017-04-27 20:11:05 +02:00
andryyy 25e6339940 Fix domain admin table, move quick actions 2017-04-27 19:34:00 +02:00
andryyy 2c2441eaf0 Confirm deletion, some other fixes to quick actions, added language strings 2017-04-27 11:58:20 +02:00
andryyy 68e67ba9b7 Fix quick actions for alias table when pagination is true 2017-04-27 09:49:04 +02:00
andryyy e26304f6d0 Fix checkbox toggling, add nav tabs, fix broken domain quota when adding a new domain 2017-04-27 08:44:21 +02:00
andryyy 5586bd2bb5 Initial push or quick actions in alias table 2017-04-26 23:38:18 +02:00
andryyy f9662025cc Initial fix for sorting of quotas 2017-04-25 20:32:29 +02:00
andryyy f81bcb161a Fix editing catch-all addresses, show primary domain of alias in alias domain 2017-04-24 13:13:23 +02:00
andryyy 297674d256 Various CSS fixes, remove sorttable, better API format 2017-03-28 11:51:17 +02:00
andryyy f5c549f6ea Fix pagination for aliases 2017-03-23 19:43:52 +01:00
andryyy 9623a7fa70 Added ru language file (thanks), changes to tables and config option for pagination 2017-03-22 10:46:24 +01:00
andryyy 95f18f634b Add encodeURI 2017-03-21 14:50:58 +01:00
andryyy 14b17e85e4 Login button is back... 2017-03-21 14:45:49 +01:00
André P 736fb91f4e Minor fixes for footable 2017-03-21 10:38:16 +01:00