Commit Graph

2506 Commits (dfd40500b4da97dce21dab4778635834e6c52f23)

Author SHA1 Message Date
Radek Tříška 3b26f6ec0e
Added support for Czech localization
Czech localization for mailcow.
2018-11-27 01:14:17 +00:00
andryyy 113c6fe018 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-11-26 10:41:44 +01:00
andryyy a695bdd2ee [Dovecot] Update Dovecot to 2.3.4, update Pigeonhole to 0.5.4
[Dovecot] Remove UTF-8 attribute
2018-11-26 09:44:41 +01:00
andryyy c82f8165d8 [Dovecot] Fix maildir_gc, build with ldap support 2018-11-26 09:11:22 +01:00
andryyy 9acd9c719d [SOGo] Read plist_ldap for dual auth via ldap, unsupported 2018-11-26 09:10:39 +01:00
andryyy f76c3ee7f3 [Dovecot] Unsupported examples for IMAP auth via LDAP
[Rspamd] Globel whitelist/blacklist from via multimap
2018-11-26 09:06:51 +01:00
André Peters a13c2c9359
Merge pull request #1949 from patschi/patch-1
[Postfix] Security: Prefer server-side ciphers
2018-11-22 12:59:06 +01:00
andryyy 05e14401ad [Web] Edit domain, allow set max mailboxes to 0, fixes #2021 2018-11-16 23:12:46 +01:00
andryyy f011db317e [SOGo] Wait for updated db schema before bootstrapping 2018-11-16 22:48:28 +01:00
andryyy 7998ec3f1f [DockerAPI] Fix image, fixes #2008 2018-11-16 20:09:29 +01:00
andryyy e1aac74310 [Web] Fix settings_map_removed, fixes #2018 2018-11-16 19:58:55 +01:00
andryyy a4452ed3a5 [Postfix] Important fix for mailbox maps, fixes #2013 2018-11-15 22:55:45 +01:00
Max 822175f20a
Outlook-Folder-Alias 2018-11-14 22:18:02 +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 d533c02c13 [Web] mailbox_format maildir 2018-11-12 21:01:05 +01:00
andryyy 224a5ebd9a [Dovecot] Enable mail_log (events: delete undelete expunge copy mailbox_delete mailbox_rename)
[Dovecot] Increase vsz_limit for some services to 1 G
[Dovecot] Enable auth_cache
2018-11-12 21:00:39 +01:00
andryyy b3518b0749 [Dovecot] Remove dedicated index (wip)
[SOGo] Fix sogo_view
2018-11-12 20:59:39 +01:00
andryyy d82c2bfdb7 [Web] Adjust mailbox format
[Web] Include IMAP lib for future use
[Web] Fix default exception handler
[Web] Fix sync job edit forms
[Web] Other minor fixes
2018-11-12 10:03:50 +01:00
andryyy f9bfac4d27 [Web] Fix _sogo_static_view creation when parent tables changed order of cols 2018-11-12 10:01:33 +01:00
andryyy 2b7aa206e4 [Web] Fix details for blind DKIM keys 2018-11-12 10:00:15 +01:00
andryyy 1d9f820b02 [SOGo] Include custom-sogo.js to dynamically add JS to SOGo, increase textarea font of CKeditor by default 2018-11-12 09:59:49 +01:00
andryyy 869e01a9a7 [Rspamd] Add fuzzy hash to msg 2018-11-12 09:57:25 +01:00
andryyy 4f7f493490 [Rspamd] Add SOGo contacts to whitelist 2018-11-12 09:56:54 +01:00
andryyy 2210201c76 [SOGo] Adjust SOGo view 2018-11-12 09:53:39 +01:00
andryyy e6625501e7 [Nginx] Remove Strict-Transport-Security for subdomains (prevented autoconfig from working without TLS) 2018-11-12 09:53:18 +01:00
andryyy 1404fc50f4 [Rspamd] Add stopsignal (testing) 2018-11-12 09:52:34 +01:00
andryyy 159c36b531 [Dovecot] Create crypted mail_attachment_fs to store attachments with a min size of 128k
[Dovecot] Shared location to "auto:" to auto-detect legacy mailbox formats across shared mailboxes
[Dovecot] Create config service for crypted mail_attachment_fs
2018-11-12 09:52:12 +01:00
andryyy 9ee557e5a5 [Postfix] Adjust mailbox query 2018-11-12 09:49:52 +01:00
andryyy 244ab191bd [Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3
[Dovecot] Use "--enable-hardening" flag
[Dovecot] Fix cronjobs
[Dovecot] Use /var/volatile to prevent locking files from being written to NFS storage (if vmail is on NFS)
[Dovecot] Change userdb query
[Dovecot] Use /var/attachments for mdbox attachment deduplication and /var/index for index files
[Dovecot] Fix sieve user creation
[Dovecot] Make console writable
[Dovecot] Fix trim_logs.sh
2018-11-12 09:49:23 +01:00
Markus Gnadl 0e33fd49bb wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains 2018-10-30 09:07:01 +01:00
Michael Kuron 4ee546c04a
Reduce rspamd DNS timeout
Fixes #1957
2018-10-29 19:55:24 +01:00
andryyy f8ff0afbc6 [Web] Fix init_db for older mailcow installations, fixes #1961 2018-10-28 20:57:21 +01:00
andryyy b8b9e6ef57 [Web] Fix sieve validation, fixes #1960 2018-10-28 12:46:08 +01:00
andryyy 2bd1b1c960 [Watchdog] Skip container restart if running for less than 120 seconds 2018-10-27 23:44:06 +02:00
andryyy a332f0dcc6 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-10-27 18:59:26 +02:00
André Peters 0758738326
Merge pull request #1924 from Skydiver84de/patch-1
Update lang.de.php
2018-10-27 17:38:20 +02:00
André Peters efe19c347e
Merge pull request #1959 from heavygale/patch-2
Update lang.de.php
2018-10-27 17:37:56 +02:00
Max fa9244828c
Update lang.de.php 2018-10-27 14:48:56 +02:00
Max d5d7a77e21
Hide 'TLS policy maps'-Tab from Domainadmins
The tabpanel is already hidden, but the nav-tab was still visible.
2018-10-27 14:27:56 +02:00
andryyy f92b20c9ad [Rspamd] Change log level to silent (see docs) 2018-10-27 13:55:55 +02:00
andryyy f796db0a65 [DockerAPI] Add top and stats 2018-10-27 13:25:18 +02:00
andryyy e04a3aed6a [ClamAV] Do not try to modify cross-mounted file, copy whitelist from conf to lib directory 2018-10-27 13:25:05 +02:00
andryyy af5ce48e8d [ClamAV] Remove AllowSupplementaryGroups from freshclam.conf (deprecated) 2018-10-27 13:24:14 +02:00
andryyy 4e2b8dbd90 [Watchdog] Check if initdb is running and if true skip killing php-fpm-mailcow 2018-10-27 13:23:36 +02:00
andryyy bf71f9b600 [Postfix] Add tls_preempt_cipherlist to SMTPS 2018-10-27 13:22:29 +02:00
andryyy 42fe16250b [Rspamd] Adjust default values for (perm) failures of DKIM and SPF 2018-10-26 20:04:41 +02:00
andryyy c9cf3476a0 [Update] Remove obsolete parameters
[Compose] New watchdog image
[Watchdog] Allow multiple rcpts separated by comma
2018-10-26 10:07:23 +02:00
Patrik Kernstock 1dc9d3fa27
[Postfix] Security: Prefer server-side ciphers
Prefer server-side ciphers to prevent client-side cipher downgrade. Already enabled in Dovecot.
2018-10-25 23:37:25 +02:00
andryyy 70a914a98c [Web] More mailq fixes 2018-10-25 23:03:35 +02:00
andryyy bc12e55b4d Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-10-25 22:43:09 +02:00
andryyy ea4e92a362 [Web] Fix mailq styles in /admin 2018-10-25 22:42:20 +02:00
andryyy 48047a364c [Web] Move 'get' method to mailq functions file 2018-10-25 22:41:57 +02:00
andryyy 5f02f7d38f [Web] Add overflows in /admin for small devices 2018-10-25 22:40:41 +02:00
andryyy 0d4e89e62b [Web] Fix maildir cleanup after deleting mailbox 2018-10-25 22:39:20 +02:00
andryyy 800eebd117 [Dovecot] Use events to kill supervisord when main proc dies
[Postfix] Use events to kill supervisord when main proc dies
[SOGo] Use events to kill supervisord when main proc dies
2018-10-25 22:35:07 +02:00
andryyy 23e3bdfe5a [Dockerapi] Some minor changes 2018-10-25 22:34:31 +02:00
André Peters 3094dd3822
[Web] Cleanup _sogo_static_view and memcached 2018-10-24 22:32:05 +02:00
andryyy 37964d9dd1 [ACME] Try to reload services after certificate changes instead of restarting
[DockerAPI] Add service reload commands
2018-10-24 20:14:59 +02:00
andryyy 5f02c6006c [Postfix] Do not remove user agent 2018-10-23 23:22:43 +02:00
André 93e0206db4 [Update] Remove mailcow_anonymize_headers.pcre checks
[Postfix] Rename mailcow_anonymize_headers.pcre > anonymize_headers.pcre to prevent collisions
2018-10-23 22:57:38 +02:00
André 66d8f33aac [Postfix] Move "should not"-sign headers out of Postcow check to always remove them, fixes #1911 2018-10-23 21:55:55 +02:00
André c723a9d145 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-10-23 21:15:50 +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é db64fa490b [SOGo] Read .sogo_access attribute when bootstrapping view 2018-10-23 21:13:37 +02:00
André fbf1c7b7c1 [DockerAPI] WIP: change of structure, add some more commands to control mail queue 2018-10-23 21:12:37 +02:00
André Peters bf06d8dd3a
Merge pull request #1934 from DynamicThijs/patch-1
Update lang.nl.php
2018-10-22 20:59:55 +02:00
DynamicThijs 4a0059136b
Update lang.nl.php 2018-10-22 20:56:19 +02:00
DynamicThijs 556a5a365c
Update lang.en.php 2018-10-22 20:44:36 +02:00
DynamicThijs 6969892572
Update lang.nl.php 2018-10-22 20:41:43 +02:00
Skydiver84de ce1c8ee603
Update lang.de.php
Correction of little mistake in line 569 (deleted one "zu" as it did not make any sence).
2018-10-20 08:07:34 +02:00
André Peters 68f2a1c5fc
[Rspamd] Properly close additional Rspamd maps 2018-10-19 11:12:58 +02:00
André 7490a85a48 [Web] Check cookie content, fixes #1917 2018-10-19 10:20:09 +02:00
André e941c6e8b2 [ACME] Fix missing for loop start
[Compose] New ACME image
2018-10-19 10:03:05 +02:00
André 2ac664ceb7 [Web] Fix missing return msg when resetting spam score 2018-10-18 22:32:37 +02:00
André 67658c1a07 [Web] Read default actions from Rspamd instead of using/printing "5,15"
[Web] Allow to reset spam score to server default (which deletes the custom spam score from the database and prints the default action values of Rspamd in use)
2018-10-18 21:48:30 +02:00
André 7a7fafec87 [Compose] New Rspamd image (1.8.1)
[Rspamd] Upgrade base to Bionic
2018-10-17 22:41:39 +02:00
André 86b92f68cb [Watchdog] Remove cert check (wip)
[Watchdog] Append last check loop as attachment to mail
[Watchdog] Print time and date in mail alerts
2018-10-17 22:30:13 +02:00
André 7386dc1e5c [ACME] Stop requesting certificates for autoconfig.* 2018-10-16 23:01:01 +02:00
André 109eec923f [Web] Internal hint to switch to array_key_last instead of array_pop 2018-10-16 23:00:15 +02:00
André 73b48fc13e [Rspamd] Remove deprecated attachments_only in AV module
[Rspamd] Remove old symbol score
2018-10-16 22:59:25 +02:00
André 51dd88abeb [Unbound] Reduce negative max ttl to 60s and min-ttl for all other keys to 5 2018-10-16 20:14:14 +02:00
André 8958449e76 [Postfix] Remove headers only when mail_name matches 2018-10-16 20:11:21 +02:00
André d39eab53a3 [Web] Fix API 2018-10-16 20:09:01 +02:00
André 788e32b328 [Web] Set new expire date for time limited aliases via actions button, fixes #1903 2018-10-16 20:08:52 +02:00
André d99b8aaf69 [Postfix] Change mail_name to Postcow and only replace headers when mail_name matches 2018-10-16 10:26:41 +02:00
Tobias "Knight" S 41c8a8bb46
disabling more functions inside php-fpm 2018-10-15 22:52:30 +02:00
André Peters 83a5eda762
Merge pull request #1434 from apoc4lyps/master
hardening http headers
2018-10-15 22:48:50 +02:00
André Peters 58d0f51242
Merge pull request #1899 from mailcow/alias-autodiscover
Hide autodiscover records on DNS page for alias domains
2018-10-15 22:45:33 +02:00
Michael Kuron 1bb618d563
Update dns_diagnostics.php 2018-10-15 20:53:41 +02:00
André abd0a1b337 [PHP-FPM] Disable some functions by default 2018-10-15 20:52:39 +02:00
André a844adde0f [Postfix] Add mailcow_anonymize_headers to default config 2018-10-15 20:52:06 +02:00
André 89b0e3e0c6 [Web] Minor language fix 2018-10-15 11:37:41 +02:00
André 178bee7ac3 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-10-14 19:05:57 +02:00
André d2d0369f32 [PHP-FPM] Base on Alpine 3.8
[Watchdog] Base on Alpine 3.8
[ACME] Base on Alpine 3.8
[Watchdog] Minor changes
2018-10-14 14:29:03 +02:00
André b8fe3f5fd4 [Web] Fall back to raw content when mail parsing fails, fixes #1892 2018-10-14 10:12:21 +02:00
André 2da228a21e [Watchdog] Remove some check_ping checks
[Watchdog] Add ClamAV check (if SKIP_CLAMD=n)
[Watchdog] Add Unbound check
[Watchdog] Do not use Docker API by default to determine IP of containers (see "IP_BY_DOCKER_API")
[Watchdog] Minor changes
2018-10-14 00:21:31 +02:00
André a9eddae686 [ACME] Do not add alias domains to auto* domains 2018-10-14 00:19:14 +02:00
André 5705044af0 [ClamAV] Update to 0.100.2 2018-10-14 00:18:21 +02:00
Tobias "Knight" S 7114999c75
remove duplicated import time 2018-10-13 23:30:24 +02:00
André 93917f8385 [Unbound] Upgrade to Alpine 3.8, fixes #1882 2018-10-13 10:12:01 +02:00
André 4459b773f1 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-10-12 19:24:41 +02:00
André c80fe40669 [Unbound] Do not allow from all (dangerous for setups with incorrect netfilter setups) 2018-10-12 11:35:45 +02:00
André 5ce15eac4b [Web] Some language updates for sys mails 2018-10-12 10:57:47 +02:00
André 23e6e52f4f [Postfix] Proper permissions for sql config files
[Dovecot] Proper permissions for sql config files
2018-10-12 10:57:00 +02:00
André 1fce562434 [Dovecot] Set imap_max_line_length = 2 M 2018-10-12 10:56:40 +02:00
André 3db6af5c90 [Unbound] Trust all addresses - do not expose Unbound! 2018-10-12 10:56:17 +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é 32f7ae1d2e [Rspamd] Prefix quarantine error_log messages with "QUARANTINE"
[Rspamd] Fix quarantine max size check (it was ignored)
2018-10-11 11:55:52 +02:00
André c0b590fff6 [PHP-FPM] Move max_execution_time and max_input_time to general PHP config, removed as fixed php_admin_value 2018-10-11 11:54:38 +02:00
André aa39be7ea6 [SOGo] Use mysqladmin status instead of ping to determine readiness
[PHP-FPM] Use mysqladmin status instead of ping to determine readiness
[PHP-FPM] Init database in entrypoint
[PHP-FPM] Change API credential injection
[Dovecot] Use mysqladmin status instead of ping to determine readiness
2018-10-11 11:53:22 +02:00
André ce135bb773 [ACME] Log acme-client output base64 encoded, use mysqladmin status instead of ping to determine readiness 2018-10-11 11:51:13 +02:00
André Peters 4179cc74ec
Merge pull request #1830 from DynamicThijs/patch-1
Update Dutch lang file
2018-10-09 19:27:34 +02:00
Jérôme Groven 34ddde82c4 [Web] New /get/dkim/{domain} method to retrieve DKIM keys 2018-10-09 17:40:06 +02:00
André 699c9a7348 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-10-07 15:11:48 +02:00
André ad63552951 [Dovecot] Check file size of mail crypt key pair, fixes #1859
[Compose] New Dovecot image
2018-10-07 15:10:17 +02:00
Michael Kuron 125ce8e27c
[web] fix relayhost test 2018-10-07 13:21:02 +02:00
André 9f52cd9456 [Docker API] Fix sieve list for users, fixes #1849 2018-10-06 22:09: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é 1893dae2d9 [Web] Fix JS pathes, fixes #1845 2018-10-05 16:52:31 +02:00
André c08149adef [SOGo] EAS changes, larger timeout 2018-10-05 11:12:55 +02:00
André 539727330b [Web] Fix domain admin edit function 2018-10-04 20:30:42 +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é c6aa3610f0 [Postfix] Enable/create smtp_tls_policy_maps 2018-10-04 14:34:53 +02:00
André f6b2a6aab2 [Postfix] Enable/create smtp_tls_policy_maps 2018-10-04 14:34:34 +02:00
André 2f18eb5ad0 [Nginx] Avoid php extensions, use rewrite 2018-10-04 14:34:00 +02:00
André b2067cb521 [SOGo] SOGoMaximumSyncWindowSize = 99 2018-10-04 14:33:32 +02:00
André cf28727376 [Dovecot] Add timeouts to sa-rules script, remove with -f flag to return 0 2018-10-03 23:27:31 +02:00
DynamicThijs 2ef73e2255
Update Dutch lang file
Another little update to the Dutch lang file
2018-10-03 18:00:44 +02:00
André d00f4744fa [Web] Fix address rewriting actions, fixes #1829 2018-10-03 17:46:59 +02:00
André a7b51a9972 [Web] Fix user page actions 2018-10-03 12:05:01 +02:00
André 76530b7e6d [Web] Use json_encode for mail attrs when creating a mailbox 2018-10-03 11:28:25 +02:00
André d8148bef79 [Docker API] Do not print warning when maildr does not exist 2018-10-03 11:27:52 +02:00
André f0dfee7820 [Web] Add MAILBOX_DEFAULT_ATTRIBUTES variable to define default mailbox attributes 2018-10-03 11:18:31 +02:00
André 668a0927ac [Web] Fix deletion of domain, fixes #1818 2018-10-02 21:20:11 +02:00
André 2af2f7836d [Dovecot] Remove fixed uid and gid 2018-10-02 10:31:22 +02:00
André 62b27aeacb [Dovecot] Check garbage hourly
[Dovecot] Update SA rules once when container starts
2018-10-02 09:34:21 +02:00
André ca1e950c61 [Dovecot] Do not query gid and uid 2018-10-02 09:13:33 +02:00
André b8ebdc3c58 [Postfix] Increase default message size limit to 100 MiB 2018-10-01 22:06:20 +02:00
André a054182246 [Rspamd] Add desc to high spam networks 2018-09-30 18:56:35 +02:00
André d7ca5579dc [Rspamd] Ignore custom files, but keep bad asn map 2018-09-30 18:55:35 +02:00
André cdca603ff5 [Unbound] Fix logging, fixes #585
[Rspamd] Fix permissions of controller password file
[Unbound] Enable unbound-control
2018-09-30 14:43:18 +02:00
André b008211f52 [Rspamd] Controller password placeholder 2018-09-30 09:55:50 +02:00
André 8439daea7e [Rspamd] Revert adding worker-controller-password... 2018-09-30 09:54:19 +02:00
André 4396be2938 [Rspamd] Place socket in _rspamd home and fix permissions
[Compose] Remove volume for Rspamd socket
[Web] Do not exit loop on fuzzy errors when learning a message as spam
2018-09-30 09:53:25 +02:00
André 73b10350d0 [Rspamd] Ignore sa-rules-heinlein file, remove from index 2018-09-29 22:03:48 +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é 96c985abad [Rspamd] Move settings file to RSPAMD_CONF root, delete old lua scripts 2018-09-26 13:23:05 +02:00
André 5db40bf688 [Web] Implement MD5-CRYPT verification, fixes #1665 2018-09-20 10:25:36 +02:00
André c7cef3241f [Rspamd] Controller worker count == 1, fixes #1716 2018-09-12 20:32:59 +02:00
André 1b5409f3fa [Rspamd] Check if ip is valid (KEEP_SPAM symbol), fixes #1759 2018-09-12 15:50:42 +02:00
André 1499094b61 [PHP-FPM] Increase PHP memory limit for "web" to 512M
[Helper] Nextcloud 14
[Rspamd] Fix KEEP_SPAM lua script: skip check if ip is false
2018-09-11 19:35:21 +02:00
André a5488d4ba6 [Web] Fix init db on fresh installations 2018-09-10 16:23:08 +02:00
André ce604232e2 [Web] Add missing data-acl for sync jobs 2018-09-10 10:56:32 +02:00
André 29aeb5b85d [Watchdog] Fix SOGo check, fixes #1750 2018-09-09 21:52:48 +02:00
André c8a1cbd25a Merge branch 'temp-master' 2018-09-09 21:21:43 +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é ea4a26eabf [Nginx] Use SOGo web resources from local mount 2018-09-09 09:51:37 +02:00
André ad902f0ad8 [SOGo] Remove HTTP server on port 9192 2018-09-09 09:48:11 +02:00
André afc18fd469 [Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function 2018-09-09 09:47:47 +02:00
André 8a88514dfd [SOGo] Declare /usr/lib/GNUstep/SOGo as volume
[Nginx] Mount vols from sogo-mailcow to access /usr/lib/GNUstep/SOGo
2018-09-07 16:40:37 +02:00
André e5b830adea [Dovecot] Fix shared namespace 2018-08-31 23:33:55 +02:00
sriccio 5e56a46c84 [dovecot] Enhancement to allow to use auth_default_realm
When using auth_default_realm in dovecot configuration to setup a default domain name (to allow users to login with only a username instead of the full e-mail address), it breaks the compatibility with imapsync and sogo/sieve vacation.

Adding a domain name to dovecot master user/pass fixes this.

This never made it do the master branch, so I'm trying a PR again :)

See: https://github.com/mailcow/mailcow-dockerized/pull/1331#issuecomment-386534307
2018-08-28 17:14:05 +02:00
André Peters 4b09b5b1bb
Update functions.mailbox.inc.php
[Web] Remove invalid parameter from sieve_filters update query, fixes #1714
2018-08-26 18:31:44 +02:00
André 5b4b184778 [Web] Fixes to mailcow logo (stickers are coming!)
[Web] Fix adding multiple domain aliases, fixes #1705
2018-08-23 08:49:02 +02:00
André 1dea230b7b [Web] Fix setting a rate limit when adding a domain 2018-08-21 21:23:06 +02:00
André d28fd4070b [Web] Allow to set rate limit in add_domain modal
[Web] Cleanup rate limits when deleting objects
2018-08-21 21:06:22 +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
Michael Kuron 140326012c
Fix length of remote column in logs table
Otherwise a full non-anonymized IPv6 address won't fit
2018-08-19 10:07:44 +02:00
DynamicThijs 819e94883a
Update lang.nl.php 2018-08-18 10:28:07 +02:00
André Peters e021f4c365
Merge pull request #1633 from Knight1/patch-1
kitterman.com redirects to TLS by default
2018-08-18 05:59:52 +02:00
André 3fd99e4f6d [Web] Important fix: Ignore untrusted headers 2018-08-17 22:32:42 +02:00
André 6cee038a63 [Dovecot] IMPORTANT: Disables 'any' and 'all authenticated' ACL settings! See wiki how to revert this, if you need it. 2018-08-17 21:44:17 +02:00
André 66ee11c03d [SOGo] Disable display of ACL "any/authenticated" by default
[Dovecot] Disable "any" ACL by default
[SOGo] Might fix theme switching (yes, again)
2018-08-17 21:42:31 +02:00
André 6498fb0b39 [Web] Change alias to TEXT field 2018-08-16 12:42:12 +02:00
André 2c58323e36 [Web] Fix database init 2018-08-15 14:16:55 +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é d5e81b987b [Dovecot] Set from address for sieve generated addresses, fixes #1662 2018-08-13 08:31:09 +02:00
André 02e567f76b [Dovecot] Set CONTROL path for shared namespace and remove index 2018-08-08 23:59:38 +02:00
André 6bd818ceec [ACME] Remove third-party IP tools 2018-08-06 15:15:24 +02:00
apoc4lyps cf56be1843
set Referrer-Policy to strict-origin 2018-08-06 09:24:34 +02:00
André d83537cda0 [ClamAV] Add whitelist template for ClamAV 2018-08-05 22:38:06 +02:00
André 66d1bc12c0 [Nginx] Set client_max_body_size = 0 2018-08-05 22:37:07 +02:00
André ff0b9246b5 [ClamAV] Add whitelist file for ClamAV, fixes #1607
[ACME] Test for CAA before running script, fixes #1632
2018-08-05 22:35:20 +02:00
André 73f880ffba [Web] Workaround for missing function when using API (fixes #1640)
[Web] Fixes SQL error on admin username change
2018-08-05 22:31:53 +02:00
Tobias "Knight" S 3522f3e83f
kitterman.com redirects to TLS by default
curl -I http://www.kitterman.com/dmarc/assistant.html
HTTP/1.1 302 Found
Date: Sun, 05 Aug 2018 02:53:18 GMT
Server: Apache/2.4.34
Location: https://www.kitterman.com/dmarc/assistant.html
Content-Type: text/html; charset=iso-8859-1
2018-08-05 04:54:09 +02:00
André 9dd17d4609 [SOGo] Change color codes in correct files 2018-08-04 09:23:45 +02:00
André 4227ec15fc Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-08-03 21:17:59 +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é bf9a180c00 [SOGo] Fix theme switching (99% sure we did it this time, guys) 2018-08-03 20:27:58 +02:00
André b007975a04 [Rspamd] Rename -disable_monitored > disable_monitoring 2018-08-03 11:56:39 +02:00
André e678292447 [Dovecot] Trim autodiscover logs 2018-08-02 12:19:58 +02:00
André 39b0fc515f [SOGo] Syslog-ng: Do not trim after each push to Redis 2018-08-02 12:17:21 +02:00
André 85f83b1b71 [Rspamd] v1.7.9 (removed explicit ratelimit.lua) 2018-08-02 12:16:55 +02:00
André f5fb7f6da5 [Watchdog] Do not trim after each push to Redis 2018-08-02 12:16:05 +02:00
André f8f87d4744 [ACME] Do not trim after each push to Redis 2018-08-02 12:15:41 +02:00
André bdf7632757 [Postfix] Add '*' as send_as to sender_acl map
[Postfix] Syslog-ng: Do not trim after each push to Redis
2018-08-02 12:15:04 +02:00
André 04b43d0a3b [Dovecot] Add new imapsync + dependencies
[Dovecot] Syslog-ng: Do not trim after each push to Redis
[Dovecot] Add new cronjob to trim all Redis logs every minute (will be moved in the future)
2018-08-02 12:14:13 +02:00
André 241c6f0411 [Web] Fix goto check for alias
[Web] Minor change
2018-07-29 23:04:54 +02:00
André 59c4cc054e [Rspamd] Deactivate neural but use a more aggressive learning method (no autolearn) 2018-07-29 23:03:49 +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é 15b80760b2 [Postfix] Add scripts to learn from spam/ham traps
[Dovecot] Learn fuzzy when moving mails from/to junk
2018-07-29 00:36:08 +02:00
André d8f86ae488 [Rspamd] Add local fuzzy worker 2018-07-29 00:34:36 +02:00
André ff463168d1 [SOGo] Override theme-default.css to prevent theme switching, delete theme-green until fixed 2018-07-28 14:26:02 +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é 1115b826f9 [Dovecot] Various fixes for imapsync_cron, new imapsync version 2018-07-27 22:19:14 +02:00
André 5cc09055a7 [SOGo] Another try to fix theme switching on login screen 2018-07-27 22:16:18 +02:00
DynamicThijs ed9fae075b [Web] Update lang.nl.php (#1605) 2018-07-26 11:06:13 +08:00
André f1b096b36e [Dovecot] Increase process_limit to 500, thanks to @mritzmann 2018-07-25 21:04:24 +02:00
André ef8c79c0e5 [Postfix] Fix alias for spam and ham addresses 2018-07-25 01:21:22 +02:00
André 4d393d9265 [Web] Remove title from Rspamd graph 2018-07-25 01:09:19 +02:00
André e2ed2eab53 [Rspamd] Remove per_user settings as they were pretty much useless, some minor changes to bayes" 2018-07-25 01:06:12 +02:00
André 63ce1ba2d6 [Postfix] Create ham/spam mailboxes @ localhost 2018-07-25 01:05:51 +02:00
André 76c747041d [Web] DNS check: only look for v=dkim1, k=rsa and p=key 2018-07-25 00:54:37 +02:00
André 240eb3abce [Netfilter] Wait for Redis instead of exiting with an exception 2018-07-24 23:30:18 +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
André 3d2cbb7bbf Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-07-23 20:01:07 +02:00
André cedc38fbaa [Web] Add search fields to some select forms
[Web] Better container restart js, but still a wip
[Web] Allow to set a DOCKER_TIMEOUT in vars.inc.php, default is 60 (seconds)
2018-07-23 20:01:01 +02:00
André 7de2607594 [Dovecot] Enable vacation-seconds with a default min period of 5s and a default period of 60s 2018-07-23 19:59:23 +02:00
Phoenix Eve Aspacio 68fa438a3f
[Web] Minor UI Fix 2018-07-23 19:33:52 +08:00
Phoenix Eve Aspacio 97b1c80f1c
[Web] Minor UI Fix
fixes column overflowing issues in small-screen devices.
2018-07-23 19:15:25 +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é 48829d8393 [Web] Fixes some issues with recipient maps (address rewriting) 2018-07-17 22:02:17 +02:00
André d148986b66 [Web] Remove duplicate ; 2018-07-17 00:30:09 +02:00
André 6cba85eb07 [Postfix] Add tzdata to Postfix 2018-07-17 00:29:07 +02:00
André b45b9bc5cf [SOGo] Override more theme options to prevent occasional theme switching on login 2018-07-15 16:34:25 +02:00
André 9017f3f83c [Web] Fix for adding inactive Rspamd settings rule 2018-07-15 16:02:27 +02:00
André a83adc4d31 [Rspamd] Remove unused user_keywords and dynamic_rates from ratelimit module 2018-07-15 12:02:37 +02:00
André 882ee5fee6 [Rspamd] Re-use fixed new ratelimit 2018-07-15 12:01:28 +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é 353af8e3a4 [Rspamd] Set start and end to rcpt matching regex 2018-07-12 23:18:49 +02:00
Phoenix Eve Aspacio 1522b83247
some mobile ui fixes and fixing some en-lang statements (#1559)
* Update lang.en.php

* mobile ui fixes

* mobile ui fixes
2018-07-12 23:23:52 +08:00
André e9f60bf06c [SOGo] Missing ) ... 2018-07-12 14:19:06 +02:00
André e06c3e87ee [SOGo] Refresh sogo static view on start 2018-07-12 14:08:00 +02:00
André 8a9ce0a57c [SOGo] Refresh sogo static view on start 2018-07-12 14:04:31 +02:00
André 1772b0c6c4 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-07-12 12:47:30 +02:00
André 1ce5f09f6e [Web] Verify new hashes: SSHA512 and SHA512-CRYPT, fix password update for users in sogo static view 2018-07-12 00:48:09 +02:00
André 587f37a300 [Dovecot] Remove additional hash scheme and let Dovecot decide the hash by prefix 2018-07-12 00:46:31 +02:00
André d9df322eda [Dovecot] Remove additional hash scheme and let Dovecot decide the hash by prefix 2018-07-12 00:46:17 +02:00
André 2f270f3b9b [Web] Verify additional password hashes (only SHA512-CRYPT is supported today) 2018-07-12 00:24:23 +02:00
André 2aef18d130 [Dovecot] Remove user queries from passdb + add a second passdb for additional algorithms + create userdb without password queries 2018-07-12 00:23:12 +02:00
André a4e96a3fe3 [ClamAV] v0.100.1 + rebase on Alpine 3.8 2018-07-12 00:21:46 +02:00
André d4ce918b89 [Web] Add static view table for SOGo 2018-07-11 22:14:07 +02:00
André 51cb3e1aa3 [Web] Run _sogo_static_view update when changing sogo_view content 2018-07-11 22:13:43 +02:00
André de00654a0a [Web] Use preg_replace to detect passwd schema case-insensitive, sorry for wasting some ms cpu time 2018-07-11 22:12:22 +02:00
André 1b47ae55f1 [SOGo] Set SOGoPasswordChangeEnabled = YES - allow user to change password in SOGo 2018-07-11 22:11:09 +02:00
André fa0b351da6 [Postfix] smtpd_tls_eecdh_grade = auto 2018-07-11 22:10:32 +02:00
André cfb0d3b62c [SOGo] Create a sogo_update_password trigger in SQL
[SOGo] prependPasswordScheme=YES in user sources
[SOGo] Use new "static view" as viewURL for much faster table lookups on large systems
2018-07-11 22:08:02 +02:00
André 22cecc3f85 [Postfix] Use Bionic as base image (Postfix 3.3) and replace python-gpgme by python-gpg
[Postfix] Fix syslog-ng config version
2018-07-11 20:01:03 +02:00
André 1e59816665 [Netfilter] Prevent crashes by locking threads
[Netfilter] SNAT6
2018-07-11 19:59:10 +02:00
André 055183257d [Dovecot] v2.3.2.1 + remove some dev packages 2018-07-11 19:07:26 +02:00
DynamicThijs d446d83020
Update lang.nl.php
Do you mind if I keep this file up to date whenever possible, or should I wait some days/weeks to include more changes at once?
2018-07-09 22:51:07 +02:00
André f8283536ec [Netfilter] Fix chain order watching and other fixes
[Web] Fix perm ban display
2018-07-09 22:23:39 +02:00
André 8b64db25c3 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-07-09 20:13:26 +02:00
André 27085df7d5 [Web] Show perma bans in admin interface
[Web] Show a restart button for netfilter
2018-07-09 20:13:02 +02:00
André Peters cb9068dbb8
Merge pull request #1543 from DynamicThijs/master
Completely new dutch translations, as well as another typo fix for english
2018-07-06 13:19:26 +02:00
André a72a3734d6 [SOGo, Compose] Add cow to logo... + new SOGo image 2018-07-06 12:10:22 +02:00
André 7b69549881 [SOGo] Fix theme-blue.js contrast and flipping colors on login screen, fixes #1528 2018-07-06 11:54:12 +02:00
DynamicThijs 482d504b1b
More dutch words 2018-07-06 10:06:18 +02:00
André baf27f291b Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-07-05 22:41:16 +02:00
André 9cf8dab021 [Web] Fix adding resources, fixes #1545 2018-07-05 22:40:21 +02:00
DynamicThijs 6e77b06227
Small fix 2018-07-05 20:39:36 +02:00
DynamicThijs 69d89bdd7b
Completely new dutch translations! 2018-07-05 20:27:06 +02:00
DynamicThijs 6dfe8e254f
Fix another typo in lang.en.php 2018-07-05 20:25:42 +02:00
DynamicThijs a7e5e0d343
Fix typo in lang.en.php 2018-07-05 10:19:04 +02:00
André e352604a9b [Compose, PHP-FPM] Fix script in new image 2018-07-04 11:41:43 +02:00
André 5e590ea119 [Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic 2018-07-03 23:27:00 +02:00
André 26807823b4 [Netfilter] python-tipbles 0.13.0 plus missing vars for 0.13.0 2018-07-03 23:25:31 +02:00
André 37fbce855e [Rspamd] Remove autolearn from Rspamd 2018-07-03 23:24:11 +02:00
André 3b5df979e9 [Dovecot, Compose] New Dovecot image, upgrade to 2.3.2 (0.5.2 PH), fixes various bugs including replication over TCP 2018-07-02 10:35:04 +02:00
André 17d3a24d89 [Netfilter] Fix table refresh and rule injection in snat loop 2018-06-29 11:25:26 +02:00
André 73a566b25a [ACME] Fix for multiple additional SAN 2018-06-29 09:35:48 +02:00
André d6a74e82e3 [ACME] Fix for CNAME response on AAAA dig request 2018-06-28 20:41:44 +02:00
André 9dc250c9f2 [Rspamd] Important fix for settings map 2018-06-28 11:48:23 +02:00
André 5baed3c543 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-06-27 23:29:15 +02:00
André Peters bca8920679
Revert "[Postfix] Default SMTP server security grade for EECDH key exchange" 2018-06-27 23:28:54 +02:00
André a1a6574964 [PHP-FPM] Add tzdata, update APCu and Redis extensions, update PHP to new minor 2018-06-27 22:51:17 +02:00
André 9b3ff998e7 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-06-27 12:10:08 +02:00
André 729bba5b57 [ACME, Compose] Add new image; fix AAAA check for ADDITIONAL_SAN 2018-06-27 12:09:51 +02:00
elcore c386dfc11d
[Postfix] Default SMTP server security grade for EECDH key exchange 2018-06-27 03:39:54 +02:00
André 8adf3d27db [ACME, Compose] Add new image; fix AAAA check for MAILCOW_HOSTNAME 2018-06-26 23:35:17 +02:00
André f88a72eedd [ACME] Validate AAAA, if any, before A - fail on AAAA mismatch (LE prioritization) 2018-06-26 23:10:24 +02:00
André 5905a3919c [Dovecot] Minor changes to ciphers, still disallow insecure ciphers 2018-06-26 07:50:17 +02:00
André 071024db4c Fix indentation 2018-06-26 07:49:14 +02:00
André ca7ad2942a [Web] Minor fix to api.js 2018-06-25 22:32:46 +02:00
André a5d40a4ab6 [Postfix] Re-enable TLS 1, 1.1 and some ciphers - real-world tests have shown this setup uses TOO MANY plain text sessions due to compatibility issues 2018-06-25 22:31:23 +02:00
André 7d2f1f3dd7 [Web] Minor style fixes 2018-06-24 11:52:25 +02:00
André b8973648ff [Rspamd] Disable default authenticated user ratelimit 2018-06-24 11:40:31 +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é 8bb24a9866 [Rspamd] Load additional settings defined in web ui 2018-06-23 23:48:06 +02:00
André aa6a136c1f [Dockerapi, Dovecot] Fix missing active user filter 2018-06-20 07:25:10 +02:00
André d3bb53c5b6 [PHP-FPM, Nginx] Move some PHP parameters from Nginx to FPM configuration file 2018-06-10 14:31:31 +02:00
André e79429beef [PHP-FPM, Nginx] Move some PHP parameters from Nginx to FPM configuration file 2018-06-10 14:31:24 +02:00
André 27d3388579 [Rspamd] Remove antivirus debugging 2018-06-10 14:30:30 +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é 07c1a0bcd3 [Web] List alias addresses whitespace separated 2018-06-08 09:13:25 +02:00
André 6ded3dbd95 [API] Allow to set API options in mailcow.conf, fixes #1457 2018-06-08 09:11:03 +02:00
André f15f30d53e [Dovecot] Re-enable lz4 until 2.3.2 to verify replication fix 2018-06-08 09:09:31 +02:00
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
apoc4lyps 918343865e
hardening http headers 2018-05-28 12:28:23 +02: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
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
andre.peters 40a9389295 [SOGo] Reduce workers to 7 by default 2018-01-24 08:30:25 +01:00
Michael Kuron e86565e283 Expose Postfix's recipient_canonical_maps through web UI 2018-01-23 20:02:31 +01:00
andre.peters 8bb1cceabb Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-21 15:09:38 +01:00
andre.peters 43770434b3 [Web] Alias by alias domain is now in 'direct aliases', added desc to direct and shared aliases 2018-01-21 15:02:56 +01:00
andre.peters a7a7b3f3fd [Postfix] Use name instead of IP 2018-01-21 15:01:51 +01:00
andre.peters d24bb16947 [Watchdog] Check PHP-FPM port 9000 and 9001 2018-01-21 15:01:35 +01:00
andre.peters 737c41379f [PHP-FPM] Move opcache config to local config file, define new PECL versions 2018-01-21 15:01:02 +01:00
andre.peters a50f85026a [PHP-FPM] Mount php configs into container 2018-01-21 15:00:28 +01:00
andre.peters 83a21259f7 [Rspamd] Use names instead of IPs 2018-01-21 15:00:05 +01:00
andre.peters 83fb8c0fd8 [Nginx] Use names instead of IPs 2018-01-21 14:59:45 +01:00
andre.peters 08c8976a95 [SOGo] Show shared aliases and "allow to send as" addresses as FROM fields in SOGo 2018-01-21 14:58:16 +01:00
André Peters 4ff1db2db5
Merge pull request #863 from apoc4lyps/dev
[Helper] Nextcloud fixes
2018-01-21 11:07:07 +01:00
André Peters fd2c647599
Merge pull request #934 from FELDSAM-INC/feldsam/quarantine-ui-fix
[WEB] Make quarantine action column more wider
2018-01-21 10:36:44 +01:00
Phoenix Eve Aspacio 40c5566d0d
lang consistent 2018-01-20 06:51:22 +08:00
andre.peters 1afca35b22 [Web] Fixes super annoying password verification bug #867 2018-01-19 11:52:32 +01:00
andre.peters ba105c9b83 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-18 22:10:40 +01:00
andre.peters 0655efb8f9 [Web] Fix u2f I previously messed up, sorry 2018-01-18 22:10:32 +01:00
Kristian a6bcde3ee0 [WEB] Make quarantine action column more wider 2018-01-18 19:16:02 +01:00
Aiko Appeldorn 9195ecdb36 + added lang 2018-01-18 18:48:26 +01:00
Aiko Appeldorn 954d0e4bb1 + added website title 2018-01-18 18:23:53 +01:00
andre.peters a09ed211bc [Web] Fix sieve detection for users 2018-01-18 11:55:44 +01:00
André Peters 5648ec6d39
Merge pull request #915 from tiirex9/master
Adds 'do nothing' as default for sub-addressing
2018-01-18 10:27:14 +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 9ba0786fbf [Web] Also show alias domains handled by domain admin in quarantaine 2018-01-18 09:14:29 +01:00
andre.peters c2f74ab75c [Web] Set default pagination size to 20 2018-01-18 09:13:36 +01:00
andre.peters eb064a530e [Web] Remove obsolete variable 2018-01-18 09:12:53 +01:00
andre.peters d338073e64 [Web] Fixes #928 2018-01-18 09:12:29 +01:00
andre.peters 8419266678 [Web] Important fixes for quarantaine; other minor changes 2018-01-17 15:23:33 +01:00
andre.peters 003e6ef5cd [Web] Important fixes for quarantaine; other minor changes 2018-01-17 15:22:11 +01:00
andre.peters 7701660119 [Web] Skip passwords in API log 2018-01-16 22:09:25 +01:00
andre.peters 0019502069 [Rspamd] Increase spam scores for SPF failures 2018-01-16 21:02:45 +01:00
andre.peters c6bcf322ff [Rspamd] Force-add metadata_exporter 2018-01-16 18:58:29 +01:00
Tii d58b89528f rspamd multimap redis stuff doesn't work as expected... 2018-01-16 16:31:37 +01:00
Phoenix Eve Aspacio 2f60b40684
Reload webpage after container restart 2018-01-16 22:06:49 +08:00
Phoenix Eve Aspacio edbab3633d
Reload webpage after container restart 2018-01-16 22:05:42 +08:00
Tii 1faeadb786 Fuckup during merge 2018-01-16 14:10:50 +01:00
Tii 2291bdbeed Added 'do nothing' option as default for sub-addressing 2018-01-16 13:13:04 +01:00
Tii cd2c242540 Added 'do nothing' option as default for sub-addressing 2018-01-16 12:47:59 +01:00
André Peters b383391e2c
Merge pull request #914 from mailcow/dev
Various fixes
2018-01-16 12:47:12 +01:00
andre.peters 7fd6a1260c [Web] Remove 'allow ip' 2018-01-16 12:43:09 +01:00
andre.peters dca9ae4a34 [Web] Remove 'allow ip' 2018-01-16 12:42:46 +01:00
andre.peters 5fd3d986c7 [Rspamd] Fix settings map regex 2018-01-16 12:42:09 +01:00
andre.peters c227675262 [Web] Remove 'allow ip' 2018-01-16 12:41:30 +01:00
andre.peters 1d34aa5064 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-16 12:37:48 +01:00
andre.peters d2aa57d01f [Web] Remove 10M limit from quarantaine info text 2018-01-16 12:37:45 +01:00
André Peters f1f7749b85
Update dns_diagnostics.php
Sprintf makes multi-lang easier.
Fix indents
2018-01-16 09:33:39 +01:00
André Peters 9aeaab23ab
Update lang.en.php 2018-01-16 09:26:48 +01:00
André Peters 1aac0b23dc
Merge pull request #881 from snowflakeOps/master
Fix umlauts in MacOS mobileconfig generator
2018-01-16 09:23:05 +01:00
André Peters 0c8cc70666
Merge pull request #883 from apoc4lyps/master
[nextcloud] fix file upload size limit
2018-01-16 09:22:49 +01:00
burn79 f1185ef68a
Update admin.php
Update language string
2018-01-16 08:50:09 +01:00
Kristián Feldsam 2a8bdc8dea DNS Diagnostics - Ehnaced SPF record check
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2018-01-16 00:07:25 +01:00
Kristián Feldsam 9f258df883 DNS Diagnostics - Allow for domain administrator
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2018-01-16 00:07:19 +01:00
andre.peters 9fa20e229c [Web] Allow sync interval from 1 to 3600 2018-01-15 19:53:09 +01:00
Phoenix Eve Aspacio 8405a8b56c
Update header.inc.php 2018-01-15 22:44:48 +08:00
Phoenix Eve Aspacio eb04e703c2
Update index.php 2018-01-15 22:44:04 +08:00
Phoenix Eve Aspacio 53545f788b
Update mailcow.css 2018-01-15 22:43:41 +08:00
Phoenix Eve Aspacio 0691ce7855
English Lang Strings 2018-01-15 21:59:20 +08:00
Phoenix Eve Aspacio fa17e9a936
German Lang Strings 2018-01-15 21:58:57 +08:00
Phoenix Eve Aspacio 744b3d32ae
Add Language Strings 2018-01-15 21:58:22 +08:00
andre.peters 09b6c20bad [DockerAPI] Hide stderr from rspamadm output 2018-01-14 18:44:06 +01:00
andre.peters 5d5d36fc60 [Dovecot] Revert to 2.2 to fix various errors 2018-01-14 10:44:06 +01:00
andre.peters 38aaeeb30b [Dovecot] Dovecot 2.3 from git for temp fixes
[ACME] Use -a switch (thanks to jas8522!)
2018-01-14 10:34:06 +01:00
andre.peters 42923698fd [Dovcot] Fixes for v2.3 2018-01-13 22:49:50 +01:00
Martin Wilhelmi e9625ef29b
Fix wrong translation 2018-01-13 20:12:45 +01:00
André Peters 74721c08bd
Merge branch 'master' into dev 2018-01-13 18:38:08 +01:00
andre.peters c07e521309 [Web] Fixes number validation in forms, fixes #882 2018-01-13 18:32:28 +01:00
andre.peters d836f688dd [Web] Hide API until documented 2018-01-12 08:23:55 +01:00
Phoenix Eve Aspacio 91ccc47024
Make Capitalization Consistent
Some ~poorly~ configured reverse proxy interfaces are not specifically configured to respond appropriately with a lowercase "A" in the autodiscover url. So our best course is to make the capitalization consistent with the one we are used to.
2018-01-12 06:20:27 +08:00
apoc4lyps 89737edd69
Update site.nextcloud.custom
fix file upload size limit
2018-01-11 23:06:09 +01:00
apoc4lyps 9174718d1c
Update nextcloud.conf
fix file upload size limit
2018-01-11 23:05:46 +01:00
andre.peters 278f1c2a37 [Web] Restart SOGo after adding a new domain, fixes #864 2018-01-11 22:40:43 +01:00
Markus Ritzmann 720d4d2779 #878 remove utf8_encode for macos mobileconfig 2018-01-11 11:01:03 +01:00
andre.peters 0d8c7e446a [Dovecot] Update config to fit Dovecot 2.3 2018-01-09 11:28:12 +01:00
andre.peters ceef6d6fd3 [Dovecot] Dovecot 2.3, Pigeonhole 0.5
[Watchdog] Fix Dovecot health check
2018-01-09 11:15:52 +01:00
andre.peters b7a23a28fd Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-08 22:01:39 +01:00
andre.peters 1e9cae9084 [Compose] New images with LOG_LINES
[Update] Do not add empty line in each loop
2018-01-08 22:00:54 +01:00
Michael Kuron cde250a989 Properly wait for MySQL to come up before starting SOGo 2018-01-08 19:56:44 +01:00
apoc4lyps b8a20b3a23
[Helper] Nextcloud: fix subdomain 2018-01-04 15:57:43 +01:00
André Peters 74bd635505
Update dns_diagnostics.php
Oops, forgot 2 vars.
2018-01-03 21:00:29 +01:00
André Peters 2b93ad62b5
Merge branch 'dev' into dns 2018-01-03 20:52:33 +01:00
andre.peters 1c2ec43aa0 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2018-01-03 20:49:49 +01:00
andre.peters 7a54b5cb67 [Web] Some minor fixes/changes to DNS diagnostics 2018-01-03 20:49:38 +01:00
André Peters a1103ccc15
Merge pull request #854 from FELDSAM-INC/feldsam/lang-selector
Remember selected lang in cookie
2018-01-03 20:46:19 +01:00
Michael Kuron 0a4424f251 Merge remote-tracking branch 'upstream/dev' into dns 2018-01-03 12:38:24 +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 868abc15bd [Rspamd] Fix worker-controller-password placeholder 2018-01-02 18:15:33 +01:00
Kristian b5793048df Remember selected lang in cookie
# Conflicts:
#	data/web/inc/prerequisites.inc.php
2018-01-02 12:36:35 +01:00
Michael Kuron 6090ec0c2f
DNS diagnostics: show correct TXT records 2018-01-02 10:32:30 +01:00
andre.peters d76d103c76 [Web] Move DNS diagnostic to modal, some minor fixes 2018-01-02 10:24:48 +01:00
André Peters a4c077db8f
Merge pull request #757 from mkuron/dns
DNS diagnostics: ignore spaces in DKIM record
2018-01-02 08:27:12 +01:00
André Peters c288473354
Merge pull request #848 from FELDSAM-INC/feldsam/fix-sync-job-edit
Fixed syncjob saving on edit
2018-01-01 09:19:43 +01:00
André Peters 4a6fc2af19
Merge pull request #849 from FELDSAM-INC/feldsam/sync-job-tables-enhancement
Sync job tables enhanced
2018-01-01 09:19:20 +01:00
andre.peters 87c6770132 [Web] Fix empty passwords for relayhosts 2018-01-01 09:17:52 +01:00
andre.peters db032af698 [ACME] Fix script 2017-12-31 17:17:46 +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
Kristian aa5f7a5584 Fixed syncjob saving on edit 2017-12-31 15:28:33 +01:00
Kristian 7cb23cf4a3 User - Allow send as all - list all domains inc. alias domains 2017-12-30 21:25:45 +01:00
Amir Zarrinkafsh 65386d4ccf Included folder mapping for iOS Mail Trash folder. 2017-12-30 13:58:17 +11:00
andre.peters eb57fce38f [Dovecot] Possibly fixes #722 2017-12-25 10:25:50 +01:00
andre.peters 8d56534e76 [Postfix] Don't try to authenticate to relayhosts without username, fixes #725 2017-12-25 10:18:49 +01:00
andre.peters 603956ca6a [Web] Disable connectors in footable filter for mailbox 2017-12-20 21:15:43 +01:00
Oratorian 236e4d4a36
See Issue #826
Fixes dockerapi-mailcow_1 | raise TypeError('port must be an integer')

Containers are now restarting.
2017-12-18 16:41:04 +01:00
andre.peters aa96f227d8 [Web] No inline forms in admin 2017-12-17 17:57:57 +01:00
andre.peters 52f4f850cf [Postfix] Fix missing authentication data for relayhosts when sender domain is alias domain 2017-12-17 17:45:12 +01:00
andre.peters a771d66889 [Dovecot] Update imapsync 2017-12-17 17:45:05 +01:00
andre.peters f5a6667aad [Web] Fix removal of alias domain 2017-12-17 17:44:28 +01:00
andre.peters ae56c3b59e Fix quarantaine 2017-12-11 10:44:46 +01:00
andre.peters c875508687 [Web] Remove logs from docker functions, fix debug syntax 2017-12-11 09:43:43 +01:00
andre.peters 2994b94b6c [Docker API] Remove logs, remove env var for compose project name 2017-12-11 09:43:01 +01:00
andre.peters d71b6f0ad1 Add placeholder for Rspamd controller password written via UI 2017-12-11 09:41:29 +01:00
andre.peters 6865402ae0 Fix maildir path 2017-12-10 19:10:49 +01:00
andre.peters 6c67b9df82 Replace name by IP, remove unused tables 2017-12-09 22:30:18 +01:00
andre.peters adc23d86f9 Various... 2017-12-09 13:17:15 +01:00
andre.peters 2519738094 Various changes... 2017-12-09 13:15:24 +01:00
andre.peters 873222d5f8 [Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter 2017-12-09 09:08:23 +01:00
andre.peters c8f41cdae2 [Postfix] Listener for quarantaine, remove excluded Docker gw from mynetworks 2017-12-09 09:07:06 +01:00
andre.peters 21a677e024 [MariaDB] Move config to my.cnf, removed from yml 2017-12-09 09:06:04 +01:00
André Peters b1855587ec
Revert exclude, bad idea 2017-12-05 20:53:45 +01:00
Phoenix Eve Aspacio 9c35a55532
fixes #800
corrections will be made for other languages soon
2017-12-05 10:18:29 +08:00
Peter Schiffer 7d6fc8e6b6 [Dockerapi] Auto detect version of docker server
Some older versions of docker need specific version of client api to be able to
communicate. This change allows automatically detect and set version of API to
match server version of API.

Fixes #765
2017-12-01 23:41:37 +01:00
Hagen Tasche b1986e5f7c
Update lang.en.php
Translation from german to english
2017-11-30 14:01:46 +01:00
André 3ec3a341e4 [Postfix] Remove gw from mynetworks in case of ipv6 failures 2017-11-21 09:33:43 +01:00
André e1eb83ef87 [Web] Update libs, fix U2F for Firefox Quantum 2017-11-21 09:33:22 +01:00
André Peters 4c98cbec27
Exclude 172.22.1.1 from mynetworks
In case of v6 nat failures.
2017-11-19 18:44:18 +01:00
André ade4b9e7ae [Postfix, Web] Feature: BCC maps 2017-11-19 15:13:43 +01:00
Michael Kuron 8c56c5acda DNS diagnostics: ignore spaces in DMARC and DKIM 2017-11-18 14:58:21 +01:00
André 967108c057 [Web] Do not try to detroy invalid imagick sessions 2017-11-16 14:57:39 +01:00
André 5211ab10ed [ACME] Fix license issue 2017-11-16 14:57:17 +01:00
André c45ea5433f [Rspamd] Base on xenial to fix mime types problems 2017-11-15 12:29:18 +01:00
André a5abca4c34 [Web] Create new id on sieve filter update by using md5, fixes #750 2017-11-14 21:11:36 +01:00
André d0df8b57d1 Remove space... 2017-11-14 19:54:31 +01:00
André fe845ee56d [Fail2ban] Fix fail2ban container 2017-11-14 19:50:20 +01:00
André f368954418 [Web] Fix init_db, take 2 2017-11-14 13:29:02 +01:00
André 4d6ddc1db4 [Web] Fix init db 2017-11-14 12:37:08 +01:00
André 7bb1e2e40e Fix conflicts 2017-11-14 10:48:04 +01:00
André 84a7a1a2e7 [Compose] New images, Nginx checks for SOGo before bootstrapping
[PHP-FPM] Some more modules (primarily for Horde)
[Fail2ban] Do not log matches of local and private ips
[Watchdog] Some changes in log system for further processing (wip)
[ACME] Fixes #745
2017-11-14 10:44:22 +01:00
André c2d9928f8f [Rspamd] Set task timeout to 12s 2017-11-10 19:58:56 +01:00
André ec37c6b0c2 [Web] Minor changes 2017-11-10 19:58:17 +01:00
André Peters 25806b62a9
Merge pull request #707 from gigabit-gmbh/ui-view-for-permission
Disable Buttons on Mailbox / Domain when no permission to interact with them
2017-11-09 07:40:52 +01:00
André Peters 166d750599
Merge pull request #730 from mkuron/rspamd-timeout
Rspamd: increase task timeout
2017-11-09 07:35:09 +01:00
Michael Kuron 6640b4205f
Rspamd: increase task timeout 2017-11-08 18:21:21 +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é Peters 8aa98d2e6e
Merge pull request #451 from mkuron/dns2
DNS diagnostics page
2017-11-07 09:41:32 +01:00
André 2372949162 [Web] Fix check for existing domain when adding alias domains 2017-11-06 21:58:08 +01:00
André Peters 23b7594605
Update sogo.conf 2017-11-06 18:48:29 +01:00
André 3873e38919 [SOGo] Use SOGoMaximumSyncResponseSize of 2048 2017-11-06 13:35:48 +01:00
André f603008440 [Web] Reset last_run for imapsync jobs to run next, other minor changes... 2017-11-05 12:20:05 +01:00
André a36a8828c2 [Dovecot] Specify supervisord user 2017-11-05 12:19:18 +01:00
André 586a0b0e05 [Dovecot] Add bindirs to cache compiled scripts, drop some privileges, run one login proc per user 2017-11-05 12:18:52 +01:00
Phoenix Eve Aspacio afd933b630
Remove duplicate string definitions 2017-11-05 05:19:48 +08:00
Phoenix Eve Aspacio 09c2fc3534
Remove duplicate string definitions 2017-11-05 05:17:04 +08:00
Phoenix Eve Aspacio 1cfeea526e
Remove duplicate string definitions 2017-11-05 05:14:27 +08:00
Phoenix Eve Aspacio 3d1296c110
Merge pull request #710 from vivernet/patch-1
New translations lang.en.php (Russian)
2017-11-05 05:09:01 +08:00
Phoenix Eve Aspacio 03bda23c83
Merge pull request #678 from asirinelli/cleanup_lang
Remove duplicate string definitions (english)
2017-11-05 05:05:06 +08: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é 1ef10f1358 [PHP-FPM] Include net_sieve, test removal of usr/src/php for size 2017-11-03 20:27:43 +01:00
André b16684ce20 [Rspamd] Slightly reduce map watch interval 2017-11-03 20:26:36 +01:00
André a9f64a3472 [Dockerapi] Return answers in json 2017-11-03 20:26:09 +01:00
André 21e20f3786 [Dovecot] sieve_before/after maps in sql, changed dict names 2017-11-03 20:25:43 +01:00
André b32e5adcc5 [Dovecot] sieve_before/after maps in sql, changed dict names 2017-11-03 20:25:38 +01:00
André f067a45bcb [SOGo] Should fix some Android sync issues 2017-11-02 09:51:58 +01:00
Aleksandr Kliushenok 293cba323e
New translations lang.en.php (Russian) 2017-11-02 06:32:01 +03:00
Thomas 0e38bd783f
format fixes 2017-11-01 19:27:30 +01:00
Thomas Helmrich 4d8995f14a disable options on the mailbox / domain view when user has no permission to interact with them 2017-11-01 19:22:13 +01:00
André Peters 364338408b
Delete api.php 2017-10-31 11:10:27 +01:00
André Peters c8be2240e4
Revert "Adding a primary key in domain_admins table" 2017-10-31 10:43:45 +01:00
MAGIC 07995c02c4
Adding a primary key in domain_admins table 2017-10-30 23:21:29 +01:00
markusg d107dcd7d1 Rspamd History fix small error 2017-10-30 22:15:11 +01:00
André 1e9bc49f2c [Rspamd] Echo dummy for fowardingshosts map; Use higher map reading interval;
[Dockerapi] Exit on sigterm;
[Watchdog] Wait for dockerapi-mailcow to be online
2017-10-27 11:22:39 +02:00
André 083174a9bd [Rspamd] Do not try to index nil value 2017-10-26 22:25:13 +02:00
Antoine Sirinelli 8034c196b1 Enable French language. 2017-10-26 22:00:12 +02:00
Antoine Sirinelli 69b1b183e8 Add French translation 2017-10-26 21:59:41 +02:00
André 508b712ae1 [Web] Revert user acl 2017-10-26 10:35:03 +02:00
André 4156b4cdf8 [Rspamd] Disable spoofed sender check 2017-10-26 10:29:13 +02:00
André 25ee53289b Fix metrics 2017-10-26 10:22:16 +02:00
André db5a3ae47f [Web] Start work on ACL; [Helper] Nextcloud helper script 2017-10-26 10:21:12 +02:00
André 988978b351 [Rspamd] Remove log helper and disable fann redis 2017-10-25 20:55:11 +02:00
André 4fd5b9afba [SOGo] Fix for some Outlook 2016 EAS problems 2017-10-25 08:57:34 +02:00
Antoine Sirinelli 4797057a07 Remove the duplicate string definitions (english)
The following strings were defined twice in lang.en.php.
The first occurence has been removed to avoid confusion (and bugs from
translation tools):

- $lang['danger']['whitelist_from_invalid']
- $lang['success']['aliasd_modified']
- $lang['user']['spamfilter_default_score']
- $lang['edit']['save']
- $lang['tfa']['totp']
- $lang['admin']['sr']
- $lang['admin']['save']
2017-10-23 22:45:51 +02:00
André 04cb033f0a [PHP-FPM] Add imagemagic 2017-10-21 10:10:27 +02:00
André f7cd7cc123 [Rspamd] Redis history is enabled by default 2017-10-21 10:09:53 +02:00
André a110e2ea0f [ACME] Fix detection of orphaned SANs and add tini 2017-10-21 10:08:20 +02:00
André 81775765d8 [Web] Customize app menu and logo; Fix #671 2017-10-21 10:07:06 +02:00
André 6b6470fe54 [Rspamd] Use tini 2017-10-15 09:31:19 +02:00
André 92e8233c92 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-10-14 23:26:14 +02:00
André ac413058c1 [Watchdog] Fix kill -0 check, use tini and send kill request to tini instead of parent pid, sleep longer 2017-10-14 23:26:08 +02:00
André c5dd30b058 [ClamAV] Use tini, check if background procs are running, use pipe to output to stdout 2017-10-14 23:25:29 +02:00
Michael Kuron a4ccd780c6 rspamd: disable greylisting for forwarding hosts 2017-10-14 16:40:44 +02:00
André 33b0167bcc [Web] Accept empty values for sync jobs, fixes #663 2017-10-14 08:34:55 +02:00
André a3e966696f [Nginx] Revert to site splitting 2017-10-12 08:37:48 +02:00
andryyy c5054ae7ed [Watchdog] Ignore null name in jq
[Nginx] Merge sites
[Scripts] Nextcloud helper script (testing!)
2017-10-11 22:56:22 +02:00
andryyy 7c46d6548b [Dovecot] Ignore watchdog IP in logs, filter by syslog-ng 2017-10-11 11:23:20 +02:00
andryyy e107cbef5e [Postfix] Fix sending as alias, when alias is in alias domains, cleanup 2017-10-11 11:22:52 +02:00
andryyy 57484e4a45 [Postfix] Log all watchdog activities to local7 facility 2017-10-11 11:21:41 +02:00
andryyy ec1e23ca71 [Assets] Move nextcloud files to subfolder nextcloud 2017-10-11 11:20:48 +02:00
andryyy 490e1c5001 [Web] Escape : in relayhosts 2017-10-09 20:31:08 +02:00
andryyy 2862b43c81 [Watchdog] Fix watchdog to fit non-exposed PHP 2017-10-09 15:54:54 +02:00
andryyy 6110ac386f [SOGo] Use official nightly; [PHP-FPM] Fix expose=off 2017-10-09 15:45:48 +02:00
andryyy 874aac3c5e [Nginx, PHP-FPM] Do not expose PHP version, example for nextcloud site, include custom locations to site (add site.something.custom to data/conf/nginx) 2017-10-08 22:57:34 +02:00
andryyy 72995ff98e [PHP-FPM] Include more modules for upcoming features and Nextcloud support, drop ro flag; [Watchdog] Some fixes and changes 2017-10-08 22:47:52 +02:00
André Peters 40506d3052 [Web] Add missing sync job option when admin 2017-10-07 22:10:56 +02:00
André Peters 668a05bdf1 [Web] Fixes #657 2017-10-07 22:09:44 +02:00
andryyy 7db5877644 [Web] Fixes #657 2017-10-07 22:08:08 +02:00
andryyy ef9953898c [ACME, Watchdog, DockerAPI] Use only limited Docker API 2017-10-06 13:32:49 +02:00
andryyy 3ae0b16845 [Web, DockerAPI] Be more like official Docker API 2017-10-06 10:20:40 +02:00
andryyy fc18d153cd [Compose, DockerAPI, Web, Watchdog] Watchdog may send notification mails (todo: docs), DockerAPI via Flesk for limited access 2017-10-05 23:38:33 +02:00
andryyy 9860d44d04 [Watchdog] Do also log errors to Redis if availble 2017-10-04 23:18:51 +02:00
andryyy 073c6c6e73 [Postfix/Rspamd] Do not reject unauthenticated sender mismatches but rewrite their subject and assign symbol SPOOFED_SENDER with score 1.0 2017-10-04 23:16:39 +02:00
andryyy 2dc8306b69 [Postfix] Remove old socket 2017-10-04 23:15:26 +02:00
andryyy 3de01afce0 [Web] Fixes #650 2017-10-04 19:01:46 +02:00
andryyy cc2f2afc62 [Web] Use Docker API for SOGo restart 2017-10-04 13:04:58 +02:00
andryyy 82ac5fa063 [SOGo] Remove supervisord API 2017-10-04 13:04:35 +02:00
andryyy 9b4ed6b21c [PHP-FPM] Include Docker api for better SOGo status handling and future changes 2017-10-04 13:04:15 +02:00
andryyy 4915375500 [Web] Fix duplicate key as result of race-condition when recreating mailbox while authentication in IMAP is cached and a mail arrives 2017-10-03 22:39:58 +02:00
André Peters d8636113dd Merge pull request #636 from mkuron/outlook
Preliminary support for Outlook 2016’s autodiscover.json
2017-10-03 21:23:59 +03:00
andryyy 24af77f41c [Web] Revert some autodiscover changes 2017-10-03 17:18:04 +02:00
andryyy da987e5b48 [Postfix] Forgot 'not' in filter 2017-10-03 16:54:18 +02:00
andryyy 6287a395b5 [Web] Revert some autodiscover changes, fix json_api for Postfix logs 2017-10-03 16:48:33 +02:00
andryyy c59d03fcb3 [Watchdog] Skip when use_watchdog=n 2017-10-03 12:07:48 +02:00
andryyy 68d7fa1504 [Watchdog] Skip when use_watchdog=n 2017-10-03 12:05:38 +02:00
andryyy 8c646f64b5 [Web] Autodiscover: Disable utf8_encode for displayname 2017-10-02 23:37:57 +02:00
André Peters e1ee1e848f Update autodiscover-json.php
HTTP_HOST is okay.
Syntax for consistency. :-)
2017-10-02 23:22:53 +02:00
andryyy bc33465b41 [Web] Autodiscover fixex (DAV path) 2017-10-02 22:46:55 +02:00
andryyy 5e69decd7b [Web] Temp. workaround for em Client which sends an empty user-agent 2017-10-02 22:19:20 +02:00
andryyy 9c37cd76e5 [Web] Autodiscover logs 2017-10-02 21:47:31 +02:00
andryyy 64c9691798 [Web] Autodiscover fixes 2017-10-02 19:07:14 +02:00
andryyy a837c9ab53 [Web] Better fkey handling in init_db; set body font size to 11pt instead of 14px; Changes to autodiscover functions 2017-10-02 15:58:55 +02:00
andryyy 7cb3c416cb Merge fix for prereq path 2017-10-01 20:34:37 +02:00
André Peters 42567a352c Should fix #644 2017-10-01 12:40:44 +02:00
Michael Kuron 752a571607 Merge pull request #638 from mkuron/acme
ACME needs to wait for MySQL to be ready
2017-09-28 12:58:07 +02:00
Michael Kuron ae79445ec0 ACME needs to wait for MySQL to be ready 2017-09-27 19:48:25 +02:00
Michael Kuron c731a18f66 Preliminary support for Outlook 2016’s autodiscover.json 2017-09-26 22:11:01 +02:00
andryyy 337c9e350e [Watchdog] Reset diff, new image 2017-09-22 16:40:02 +02:00
andryyy f257ed92f5 [Rspamd] Add missing ratelimit.conf 2017-09-21 22:21:11 +02:00
andryyy 62524150d2 [ACME] Add timestamps, check if acme account key is valid
[Postfix] Ignore local0
[Watchdog] Add Rspamd checks
2017-09-21 19:30:09 +02:00
andryyy edb2be979b [Postfix] Changes to ignore watchdog checks 2017-09-21 19:25:43 +02:00
andryyy fd3b2e5f16 [Rspamd] Changes to ignore watchdog checks 2017-09-21 19:25:17 +02:00
andryyy ab850dc901 [ACME] Detect and fix invalid registration 2017-09-21 09:46:09 +02:00
Phoenix Eve Aspacio 651c1cac23 Fixed broken link 2017-09-21 07:22:33 +08:00
andryyy 41d2a16571 [Watchdog] Script was not executable 2017-09-20 23:36:04 +02:00
andryyy 288a55b1f3 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-09-20 23:25:07 +02:00
andryyy f511cb0f63 [Watchdog] More fixes and or changes 2017-09-20 23:24:56 +02:00
andryyy fd1955edca [Fail2ban] Add variable name 2017-09-20 23:24:39 +02:00
andryyy ea5aa261c9 [Unbound] Define mailcow ip6 as private 2017-09-20 23:23:11 +02:00
Michael Kuron a411a357b9 rspamd: exclude Mail Flow monitoring from logs and stats 2017-09-20 15:21:02 +02:00
andryyy b6e84fac3a Sleep instead of stopping containers to prevent restarts 2017-09-20 12:50:50 +02:00
andryyy df5c79c3f1 Fixes for watchdog! 2017-09-20 12:27:24 +02:00
andryyy e70d5b9206 Fix watchdog 2017-09-20 11:05:23 +02:00
andryyy a8fb1d3f4f Add experimental watchdog 2017-09-20 10:56:49 +02:00
Michael Kuron 533f947074 Merge pull request #589 from marrco/master
Rspamd: better scores for mx_check symbols
2017-09-19 12:14:18 +00:00
Michael Kuron 68c87ce7a6 rspamd mx_check: composite symbol overrides individual scores 2017-09-19 14:12:10 +02:00
marrco 1fb4f34046 Update metrics.conf 2017-09-19 10:04:39 +02:00
marrco 5742e3b014 Update mx_check.conf 2017-09-19 10:00:50 +02:00
marrco 0752840369 Update mx_check.conf 2017-09-19 09:23:41 +02:00
marrco 9d611a903a Update metrics.conf 2017-09-19 09:21:36 +02:00
marrco 529c3bcc9c Create composites.conf 2017-09-19 09:19:22 +02:00
andryyy 4b39f667e2 [Postfix] Fix protocols 2017-09-18 11:00:11 +02:00
andryyy 719aa1a391 [Postfix] Fix protocols 2017-09-18 10:59:45 +02:00
andryyy 67056dc3d1 [Postfix] Less strict smtpd_tls_mandatory_protocols 2017-09-18 08:24:24 +02:00
andryyy 0cf22b64e1 [Postfix] Less strict smtpd_tls_mandatory_protocols 2017-09-18 08:23:31 +02:00
andryyy e07f84d0f0 [Web] Update phpmailer, always use correct path for vars.inc.php 2017-09-17 14:39:10 +02:00
andryyy e20f50fafc [Web] Fix spacing 2017-09-17 14:38:05 +02:00
andryyy d0c0cd4992 [Rspamd] Fix user settings... 2017-09-16 23:27:13 +02:00
andryyy fcc6bcc4b3 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-09-16 23:05:40 +02:00
andryyy 1b974bc8d1 [Compose] New images 2017-09-16 23:05:33 +02:00
André Peters 6d86813330 Merge pull request #610 from mkuron/rspamd-header
Rspamd user settings: fix matching From header
2017-09-16 23:00:38 +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
Michael Kuron e4f13568d1 Rspamd user settings: fix matching From header 2017-09-16 18:46:28 +02:00
andryyy c6f81fe67b [Web] Fix autodiscover merge on user.php 2017-09-16 13:33:27 +02:00
andryyy e20d31e440 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-09-16 13:17:59 +02:00
andryyy 2b97305f6d [ACME] Sleep, don't exit 2017-09-16 13:17:48 +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 4acc82dbea Merge pull request #468 from mkuron/clientconfig4
Client configuration guide link
2017-09-16 13:11:54 +02:00
andryyy c63fb8b11a [Web] Init db fix for c_location 2017-09-15 07:55:23 +02:00
andryyy 762f18e913 [Clamd] Use Dockerds own init system 2017-09-14 23:13:24 +02:00
andryyy c75f16c97c [Web] Fix initial admin creation 2017-09-14 22:45:17 +02:00
andryyy 089e8776f5 [Postfix] Stricter TLS settings for mandatory connections 2017-09-14 13:34:23 +02:00
andryyy f0df390d12 [Nginx] Stricter TLS settings 2017-09-14 13:34:07 +02:00
andryyy 00e465a9a1 [Dovecot] Allow INBOX to be shared, sigh... fixes #594 2017-09-14 13:32:11 +02:00
marrco a2720cca83 Update mx_check.conf 2017-09-13 16:32:10 +02:00
54f6e50bb5 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2017-09-13 16:14:14 +02:00
andryyy 71070fbe86 [Web] Fix admin injection query 2017-09-12 22:48:12 +02:00
andryyy 998523bdfa [Web] Allow ratelimt per user, overrides domain tl 2017-09-12 20:57:54 +02:00
andryyy eeaa48a729 [PHP-FPM] Use valid user for mysqladmin ping
[SOGo] Use valid user for mysqladmin ping
2017-09-12 20:57:18 +02:00
marrco 1f9bafd578 Temporay fix to MX values
see https://github.com/mailcow/mailcow-dockerized/issues/576
2017-09-12 17:02:43 +02:00
andryyy 1ffed58956 [ACME] New version, better IPv4 detection 2017-09-11 21:51:17 +02:00
andryyy 2d0af3f486 [ACME] New version, better IPv4 detection 2017-09-11 21:49:22 +02:00
andryyy 92e6c9daae [Nginx] Fix SSL temp. 2017-09-11 17:37:25 +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 3ab6fc21c6 [Web] Init user_acl after mailbox table 2017-09-10 13:48:53 +02:00
JOduMonT b2b9731020 a little bit of security
Hide the version of NGINX, block XSS and more...

inspired by : https://gist.github.com/plentz/6737338
2017-09-09 23:10:36 +07:00
André Peters 78c363b7a5 Merge pull request #565 from mkuron/softreject
Forwarding hosts: treat soft reject like greylist
2017-09-09 10:43:41 +02:00
Michael Kuron 3d9c161be1 Forwarding hosts: treat soft reject like greylist 2017-09-09 10:30:26 +02:00
andryyy ed4e8d301c Fix tabs 2017-09-08 18:41:02 +02:00
andryyy b8c4093702 [Web] Allow a spam score up to 2000, fixes #556 2017-09-07 20:20:36 +02:00
Tobias fcd0efc265 Change primary name of SSL certificate
Hostname as primary name for the SSL certificate, all other names will
be added as SAN
2017-09-03 19:41:47 +02:00
andryyy 1f90433429 [Dovecot, Postfix, SOGo] Fix redis log cleanup, fixes #542 2017-09-03 11:57:58 +02:00
andryyy 446907944a [Postfix] Fix missing ltrim 2017-09-01 23:40:23 +02:00
andryyy 008d500f4d [Compose, Dovecot] Fixed missing ltrim 2017-09-01 23:39:51 +02:00
andryyy 7351fcf1e3 [Compose, SOGo] New version, ltrim logs 2017-09-01 23:33:12 +02:00
andryyy 4d7bb26874 [Postfix] Add null rcpt for watchdog 2017-09-01 12:22:29 +02:00
andryyy 08d6b97ffa [Dovecot] New Dovecot and Pigeonhole versions; include delete2 option in imapsync 2017-08-31 10:36:10 +02:00
andryyy 4a0e3a433b [Fail2ban] Remove rule to detect disconnects without authentication 2017-08-30 22:27:33 +02:00
andryyy 3e741a0d9c [Web] Disable connectors in FooTable filter 2017-08-30 22:06:51 +02:00
andryyy cfd9316d74 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-08-30 21:43:45 +02:00
andryyy 9ebb9efeb1 [Web] Added Polish translation! Big thanks to Jan! 2017-08-30 21:43:35 +02:00
andryyy b1213c51d7 [Rspamd] Dynamic ratelimit fixed, removed async redis request; Ready to implement per-user ratelimits via UI (tbd) 2017-08-30 21:42:39 +02:00
André Peters 29acfe85db Merge pull request #536 from mkuron/patch-1
Rspamd user blacklist/whitelist improvements
2017-08-28 22:55:12 +02:00
Michael Kuron 8383ba5e9c Rspamd user settings: fix From header match
The request_header regex appears to not be expected to be encapsulated in slashes and does not seem to accept flags.
2017-08-28 20:27:53 +02:00
Michael Kuron fcd8cfa4f4 Rspamd user settings: don't print all email addresses of a domain
The ucl_rcpts function can already deal with domains, so lets use this capability.
2017-08-27 14:19:29 +02:00
Michael Kuron 93a092e627 Rspamd user settings: also match From header 2017-08-27 14:19:28 +02:00
Michael Kuron e178ca36de Rspamd user settings: make regexes case-insensitive
This is necessary because the user web UI normalizes to lowercase
2017-08-27 14:19:28 +02:00
Michael Kuron 0ad870fffe Merge branch 'dev' into dns2 2017-08-24 21:52:39 +02:00
andryyy 66ae588445 [Web] Started work on ACL, fix notifications 2017-08-18 22:18:14 +02:00
andryyy e47feeffd6 [Rspamd] Add custom directory for own files 2017-08-18 22:17:01 +02:00
andryyy 7a2c0f2ee7 [Acme] Skip backup mx domains 2017-08-18 09:57:25 +02:00
andryyy e5faee9037 [Nginx] Disable client_max_body_size 2017-08-09 10:17:32 +02:00
André Peters 92eefc1288 Merge pull request #486 from mkuron/patch-1
Disable ClamAV phishing filter
2017-08-02 15:54:16 +02:00
Michael Kuron dec64eef32 Disable ClamAV phishing filter
ClamAV has a phishing filter built in, but it generates too many false positives. We can disable it without risk because rspamd also checks for phishing itself.
2017-08-02 14:42:53 +02:00
andryyy 2eed7c05a1 [Dovecot] Push version, fix cronjob (fixes #310) 2017-08-01 14:02:00 +02:00
andryyy d85352fa9a [Dovecot] Use listescape 2017-07-31 12:41:18 +02:00
andryyy c7484434dd [Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl 2017-07-31 08:19:02 +02:00
andryyy 10b2ae09b9 [Web] Remove dev file 2017-07-30 21:40:40 +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 9be3aa3334 [Rspamd] Disable monitored 2017-07-27 09:03:44 +02:00
andryyy 3bd7383bca [Web] Add relay host testing tool 2017-07-26 23:11:43 +02:00
andryyy b4892f043f [Web] Edit relayhost 2017-07-26 23:11:08 +02:00
andryyy 45ef561ac0 [Web] Add default rcpt for relay testing tool to variables 2017-07-26 23:10:18 +02:00
andryyy 9bce8f0501 [Web] Fix session timeout 2017-07-26 23:09:50 +02:00
andryyy 5a49748dd5 [Web] Add graphs and stats to JSON api 2017-07-26 23:09:15 +02:00
andryyy 379933a333 [Web] Added PHPMailer for relayhost testing tool 2017-07-26 23:07:46 +02:00
andryyy 33bf9f5c5d [Rspamd] Push image version 1.5, Rspamd 1.6.3 2017-07-26 23:07:01 +02:00
andryyy 8da02378b1 [Rspamd] Use Nginx IP in settings map 2017-07-26 23:04:49 +02:00
andryyy 03c614f749 [Postfix] Use Nginx IP in whitelist_forwardinghosts.sh 2017-07-26 23:04:27 +02:00
andryyy b629089ff8 [SOGo] Rename reconf-domains to bootstrap-sogo and exec sogod after a successful bootstrap; Wait for SOGo to die and free listener 2017-07-24 23:25:04 +02:00
andryyy 5d5646df0c [Compose, SOGo] Update SOGo, give SOGo more time for a graceful restart, autorestart on any exit code 2017-07-24 22:53:23 +02:00
André Peters 0a6eef83bd Merge pull request #449 from mkuron/autoconfig
Autoconfig/Autodiscover unification
2017-07-24 12:58:53 +02:00
André Peters 1b719a8668 Update autoconfig.php 2017-07-24 12:37:02 +02:00
André Peters 27c169dbe1 Update mobileconfig.php 2017-07-24 12:35:56 +02:00
André Peters bfa2e83803 Add more help text, remove obsolete variable 2017-07-24 12:35:04 +02:00
André Peters b295bedf53 Update autoconfig.php 2017-07-24 12:28:48 +02:00
Phoenix Eve Aspacio e26563d51e Enable Fail2ban in Autodiscover 2017-07-23 21:27:18 +08:00
Michael Kuron 53d44ed18d Merge branch 'dev' into autoconfig 2017-07-23 10:12:03 +02:00
Michael Kuron fcbbfe71bb Merge branch 'dev' into dns2 2017-07-23 10:10:36 +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
Michael Kuron 8fcaf407e6 Client configuration link 2017-07-22 12:37:39 +02:00
andryyy ed33cb5f57 [Rspamd] ARC: Disallow login/domain mismatch 2017-07-21 11:03:35 +02:00
andryyy f4db3a7a00 [Web] Allow multiple sync jobs with same username, fixes #464 2017-07-17 22:36:34 +02:00
andryyy 84ad579437 [Web] Initial ratelimit support, more API actions 2017-07-16 11:03:28 +02:00
andryyy 256c9d86dd [Rspamd] Initial custom ratelimit support 2017-07-13 12:55:14 +02:00
andryyy 5f5872f78b [Rspamd] Initial custom ratelimit support 2017-07-13 12:54:53 +02:00
andryyy e6727b1fd6 [ACME] Iterate alias domains, use hostname in subject field 2017-07-13 12:51:52 +02:00
andryyy 9e92c4a2ad [Dovecot] Do not keep persistent logs in a container 2017-07-11 17:09:31 +02:00
andryyy f8ae5158cb [Postfix] Do not keep persistent logs in a container 2017-07-11 17:09:20 +02:00
andryyy a31819fd6c [SOGo] Log to a pipe to not keep logs in a container 2017-07-11 17:08:06 +02:00
Michael Kuron 98be90c494 Remove SPF and DMARC checks 2017-07-10 21:41:45 +02:00
andryyy 08b99c8d74 [Dovecot] Add doveadm service 2017-07-10 21:30:45 +02:00
Michael Kuron 14d2b3d763 DNS diagnostics page 2017-07-10 21:17:40 +02:00
Michael Kuron 5abeb313ba Autoconfig harmonization
- use $autodiscover_config everywhere
- non-443 HTTPS ports in autoconfig etc.
- disabling POP service via SRV record
- fix display name in Outlook IMAP autodiscover
- allow multiple calls to TLSA generator and support Sieve STARTTLS
- iOS mobileconfig generator
2017-07-10 20:52:51 +02:00
andryyy c5d90b821a [Dovecot] Add extra.conf include to override Dovecot configuration changes 2017-07-10 09:19:12 +02:00
André Peters f37405d9fd Merge pull request #446 from mailcow/revert-444-dns
Revert "DNS diagnostics page"
2017-07-10 08:46:32 +02:00
André Peters beec3d47f7 Revert "Client configuration guides" 2017-07-10 08:46:20 +02:00
André Peters 4c1537c1c2 Revert "DNS diagnostics page" 2017-07-10 08:45:59 +02:00
André Peters c5acdd70fb Merge pull request #427 from mkuron/clientconfig2
Client configuration guides
2017-07-10 08:03:28 +02:00
André Peters b1dddd08e6 Merge pull request #444 from mkuron/dns
DNS diagnostics page
2017-07-10 07:53:29 +02:00
andryyy 51660589d4 [Rspamd] Push version 1.3 2017-07-09 22:28:36 +02:00
Michael Kuron c1a1f98ee5 DNS diagnostics page 2017-07-09 10:01:27 +02:00
andryyy fa2af1b286 [Web] Allow more bytes in concat queries, fixes #435 2017-07-06 17:34:51 +02:00
andryyy a324b1a385 [Rspamd] Fix DKIM siging (base64 hash line folding) 2017-07-06 15:57:33 +02:00
Michael Kuron 8946d69274 Fix merge conflict 2017-07-05 20:11:07 +02:00
andryyy 69da02c144 [Dovecot] Important fix for Pigeonhole (downgrade) 2017-07-05 19:13:07 +02:00
andryyy 7f47af1d60 Fix destination hash 2017-07-05 12:31:52 +02:00
andryyy 87cc5f54ff [Postfix] Fix redis log destination hash 2017-07-05 12:03:12 +02:00
andryyy 2fadfee61a [SOGo] Remove thunderbird plugin generation, will move to docs 2017-07-05 10:22:48 +02:00
andryyy de14d30e6b [ACME] Fix exit command (was using echo), fix for duplicate SAN (filter) 2017-07-04 21:32:58 +02:00
Michael Kuron b88190988e Autodiscover: Strip bind addresses off of port environment variables 2017-07-04 19:58:30 +02:00
andryyy dc463c3dda [Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver. 2017-07-04 18:08:20 +02:00
andryyy ed11e7586e [Clamd] Add SKIP_CLAMD variable to disable Clamd start 2017-07-04 18:05:44 +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 ace247b3b9 [ACME] Unset name arrays before reusing them 2017-07-03 10:20:09 +02:00
andryyy d4311a806b Fix Rspamd logs date 2017-07-03 08:10:11 +02:00
andryyy 2cf9f71613 [ACME] Revert fix for empty additional_san, fix skip_ip_check in ACME 2017-07-02 20:18:22 +02:00
Michael Kuron 96ed94dedd Client configuration guides
- iOS mobileconfig generator
- non-443 HTTPS ports in autoconfig etc.
- disabling POP service via SRV record
- fix display name in Outlook IMAP autodiscover
- allow multiple calls to TLSA generator and support Sieve STARTTLS
2017-07-02 16:29:42 +02:00
andryyy 56a652fbf3 [Rspamd] Set error_reporting to 0 2017-07-02 11:25:14 +02:00
andryyy cf902854d7 Merge, conflict fixed 2017-07-02 11:22:35 +02:00
andryyy b7cb4ac9d5 [Fail2ban] Added more regex to match failed or disallowed logins to Dovecot, changed Mailcow to mailcow 2017-07-02 11:10:35 +02:00
andryyy afc8c93c07 [Rspamd] Cleanup settings map 2017-07-01 23:14:27 +02:00
andryyy 60ce236738 [Web] Language strings for DKIM import tool 2017-07-01 23:12:14 +02:00
andryyy 744784cb62 [UI] Initial: Import private keys for DKIM/ARC 2017-06-30 21:50:21 +02:00
andryyy ae5ce6568d [Dovecot] Dovecot 2.2.31, Pigeonhole 0.4.19 2017-06-30 20:30:30 +02:00
andryyy 5ab11c0c1e [ACME] Show err instead of empty var when IP lookup failed 2017-06-30 20:29:55 +02:00
andryyy d2048ccf20 [ACME] Be more verbose about IP address 2017-06-29 21:22:01 +02:00
andryyy a6b60aebb8 [Fai2ban] Added auto-detection for container names; Allow multiple rules for each container; log rule id and container on match 2017-06-29 11:30:14 +02:00
andryyy 372da9b557 [Web] Move Fail2ban function, add lang strings 2017-06-29 10:30:25 +02:00
andryyy 6c64ffbd49 [acme-mailcow] Auto-detect container ids for restart; Restart containers after restore 2017-06-29 10:29:56 +02:00
andryyy 9040d456ed [acme-mailcow] Auto-detect container ids for restart; Restart containers after restore 2017-06-29 10:25:32 +02:00
andryyy 3d652dd3d0 Added more checks for acme-mailcow 2017-06-29 00:56:51 +02:00
andryyy 6d8438c01c - More checks for acme-mailcow (verify hashes)
- Autodiscover configuration file: Merge array from vars.local.inc.php
- Push acme-mailcow to 1.6
2017-06-28 23:22:51 +02:00
andryyy 234baf1cb9 Readd 2017-06-28 18:59:15 +02:00
andryyy aa5b03dd99 Merge branch 'dev'
Conflicts:
	data/web/autodiscover.php
2017-06-28 18:57:22 +02:00
andryyy b0584c3622 Use , as IFS for additional san 2017-06-28 10:50:51 +02:00
andryyy f7bce8b81a Copy dhparams if not found 2017-06-27 20:15:53 +02:00
andryyy e9ea0712f2 Add SKIP_FAIL2BAN var 2017-06-27 10:26:48 +02:00
andryyy 433e0c8f9a Allow /0 to whitelist all, push f2b version in yml 2017-06-27 09:32:57 +02:00
andryyy a6677983af Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-06-26 23:18:15 +02:00
andryyy b9ffcf2bf8 Add whitelist function to Fail2ban 2017-06-26 23:18:05 +02:00
andryyy 6cd44b4136 Remove old code 2017-06-26 23:17:46 +02:00
Phoenix Eve Aspacio 0488c9a250 Update edit.css 2017-06-26 07:34:41 +08:00
Phoenix Eve Aspacio 38c74e5e24 Update mailbox.css 2017-06-26 07:34:21 +08:00
Phoenix Eve Aspacio d4f4c0f0c9 Update user.css 2017-06-26 07:33:53 +08:00
Phoenix Eve Aspacio a08ad04708 Update admin.css 2017-06-26 07:33:33 +08:00
Phoenix Eve Aspacio 48557a4de9 Update admin.css 2017-06-26 07:23:48 +08:00
Phoenix Eve Aspacio c4f25b7dde Update mailbox.css 2017-06-26 07:23:17 +08:00
Phoenix Eve Aspacio 877bc74dbe Update user.css 2017-06-26 07:22:58 +08:00
Phoenix Eve Aspacio 2d7224e869 Update edit.css 2017-06-26 07:22:41 +08:00
andryyy 4f93bfd04f Initial commit: Set fail2ban parameters in UI 2017-06-25 21:33:26 +02:00
andryyy 468b74c860 Changes to syntax 2017-06-25 20:17:31 +02:00
andryyy 170e030dd6 Configure autodiscover in vars.inc.php 2017-06-25 18:10:29 +02:00
andryyy b6bc1eaf0a Fix autodiscover, pass ports to phpfpm-mailcow for further features and autodiscover 2017-06-25 18:09:42 +02:00
Michael Kuron 18386125b6 Fix EAS autodiscover for certain Outlook variants 2017-06-25 14:19:44 +02:00
andryyy cbb4f51a9d Fix Junk-E-Mail folder name 2017-06-25 11:32:21 +02:00
andryyy 8590cc577b Move folder names to match image names 2017-06-25 00:21:24 +02:00
andryyy 3be99d7f89 Set IPv6 network as secure_ip range in Rspamd 2017-06-24 22:07:26 +02:00
andryyy 47eb11338c Push fail2ban version to 1.2 2017-06-24 20:06:23 +02:00
andryyy c4c1bdf477 Add a retry window for fail2ban-mailcow, add priority to logging, added window time to logging string" 2017-06-24 20:04:12 +02:00
andryyy a2f8f5c908 Fix id 2017-06-24 10:32:24 +02:00
andryyy 1bf8cc13ba Fixes #398 2017-06-24 10:32:10 +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 b8e9b3d879 fail2ban:1.1, use Redis, add logging, ban time and max attempts to be configured via UI soon 2017-06-24 00:07:18 +02:00
andryyy 112e056fda Add function to generate 3 1 1 TLSA digest 2017-06-23 14:23:12 +02:00
andryyy 2104034156 cp -n is unknown 2017-06-23 14:22:54 +02:00
andryyy 59623a639e Keep key when issuing new certificate to not break TLSA records with options 3 1 1 2017-06-23 08:40:05 +02:00
andryyy 18e52ab27d More debug output, keep key for TLSA 3 1 1, other minor changes 2017-06-23 08:33:07 +02:00
andryyy 85a9239ae9 Move account key 2017-06-22 21:44:10 +02:00
andryyy 0c07ff59c3 Fix skip le test... 2017-06-22 21:31:14 +02:00
Michael Kuron 1f9b5cb16e ACME: support CNAME in domain checks 2017-06-22 20:36:03 +02:00
andryyy 4066f3507c New Rspamd image, also fixes #386 2017-06-22 17:12:13 +02:00
andryyy 856b05147c Skip LE with configuration parameter 2017-06-22 09:06:24 +02:00
andryyy cbfe5e879e Fix error when adding alias with multiple alias addresses 2017-06-21 23:27:01 +02:00
NuVivo314 601f3b6947 Change select Priority
Simple change, for Select Older
2017-06-21 11:54:03 +02:00
andryyy 578011c78c Move milter config, increase timeout for DNS 2017-06-21 10:18:52 +02:00
andryyy 05fc733091 Merge branch 'dev' of https://github.com/mailcow/mailcow-dockerized into dev 2017-06-20 20:07:30 +02:00
andryyy c82c9524b0 Delete certificate if SANs were removed 2017-06-20 20:06:54 +02:00
andryyy 428140d34f Version update 2017-06-20 20:06:35 +02:00
andryyy 0e501acd7d Base on stretch 2017-06-20 20:06:24 +02:00
Michael Kuron 987d83e104 Make Thunderbird plugin download more resilient
- use specific GitHub API version
- use only-matching grep
- remove hard-coded version number
- use Mozilla Addons API
2017-06-19 20:48:56 +02:00
André Peters beac3035f6 Merge pull request #372 from lazyfrosch/sync-password
data/web: Update syncjob password input to type password
2017-06-19 17:12:49 +02:00
Markus Frosch 4be67ccd64 dovecot/imapsync_cron: Use passfiles to hide passwords from ps 2017-06-19 11:43:07 +02:00
Markus Frosch 0f8bf53d9c data/web: Update syncjob password input to type password
So the password is not readable in clear text.
2017-06-19 11:22:19 +02:00
andryyy 036c51f053 Prefere ipv4 to fix problems on v4-only envs 2017-06-19 10:39:14 +02:00
andryyy 68d455e154 Just start reconf-sogo to also trigger SOGos restart after a successful reconfiguration 2017-06-19 10:30:11 +02:00
andryyy fbf33e475a SOGo will be started after reconf script to prevent race conditions 2017-06-19 10:19:16 +02:00
andryyy 624e52e198 mysqladmin uses ping on static IPv4, supervisor does no more autostart SOGo 2017-06-19 10:18:53 +02:00
andryyy 5efe0b9a88 Ignore tar.gz 2017-06-19 10:17:37 +02:00
andryyy 10d83017e1 Declare correct arrays 2017-06-19 08:59:47 +02:00
André Peters 2d59e61c6b Merge pull request #370 from mkuron/patch-2
Autodiscovery for eM Client and Outlook 2007/2010
2017-06-19 08:54:59 +02:00
andryyy 2a845a0d21 Less verbose 2017-06-18 20:57:54 +02:00
andryyy 9117c499ef Do not break DNS replies.... 2017-06-18 20:57:26 +02:00
andryyy 6fa19a37d8 Unbound changes 2017-06-18 20:23:26 +02:00
Michael Kuron 08506f7c81 Autodiscovery: send display name to IMAP client 2017-06-18 16:07:56 +02:00
Michael Kuron 4a379d0540 Satisfy Microsoft Remote Connectivity Analyzer 2017-06-18 16:04:13 +02:00
Michael Kuron b34d650f97 Autodiscovery for arbitrary clients. EAS only for Outlook 2013+
Mobile and Desktop clients can be differentiated based on the response scheme they request. Mobile clients and Outlook 2013+ get EAS, others get IMAP
2017-06-18 13:09:28 +02:00
Michael Kuron 646957efee Autodiscovery for eM Client
It can be identified by its lack of user agent header. Through additional Protocol tags, it can also have CalDAV and CardDAV configured.
2017-06-18 12:11:02 +02:00
andryyy 44c4074773 Add err priority to danger class 2017-06-17 20:57:23 +02:00
andryyy 5aba885b58 Skip ACME client for other certificates than LE 2017-06-17 10:08:12 +02:00
andryyy 08edc1d1d3 Remove obsolete file, add {} 2017-06-16 23:27:16 +02:00
andryyy 812b9b617a Cannot spawn as proc in sub shell. Breaks SOGo restart. 2017-06-16 23:26:43 +02:00
Michael Kuron b3b5313336 SOGo Integrator: match some preferences to SOGo web defaults 2017-06-16 17:00:46 +02:00
Michael Kuron d8fa38010a SOGo Integrator bugfix for multiple domains 2017-06-16 14:02:39 +02:00
Michael Kuron c739091a67 Customize the SOGo Integrator plugin for Thunderbird 2017-06-16 10:30:40 +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 ba3fc47d5f Fix autodiscover, thanks to K2rool! 2017-06-15 23:03:10 +02:00
Michael Kuron 5e56edb08c Properly gitignore the SSL certificate 2017-06-15 10:20:54 +02:00
James Smith bcdbbf0102 Make autodiscover case insensitive 2017-06-14 23:42:42 +01:00
andryyy 83cb686e33 Fix fix for Apple dav.... 2017-06-14 23:17:31 +02:00
andryyy 495bf05fb8 Fix for Apple autoconfiguration (dav) 2017-06-14 23:14:41 +02:00
andryyy e99fa9433e Fix dav url detection for apple 2017-06-14 23:10:50 +02:00
andryyy 19325ffb2a Validate additional SAN 2017-06-14 07:24:32 +02:00
andryyy 863a0e4d06 Finally fix SOGo race condition 2017-06-13 23:38:47 +02:00
andryyy 4a0a9cbf1f Minor tweaks 2017-06-13 23:38:24 +02:00
andryyy 0fd0cff8ac Auto-sign autodiscover and autoconfig for all domains found in mailcow - only if A records exists and matches 2017-06-13 23:37:48 +02:00
andryyy 655aa9594e Never overwrite error_reporting 2017-06-13 23:36:42 +02:00
andryyy 9a99975394 Fix duplicate postfix install 2017-06-13 07:45:24 +02:00
André Peters 7972b38daf Merge pull request #349 from bebehei/patch-1
remove doubly postfix argument
2017-06-13 07:44:39 +02:00
andryyy 3e09d11856 Be less verbose 2017-06-13 07:41:13 +02:00
andryyy 44197c410e Do not add milter headers for authenticated users 2017-06-13 07:41:00 +02:00