andryyy
f7bbbde8c9
[Dovecot] Check protocol access in LUA API, remove postlogin script
2021-06-08 13:15:14 +02:00
andryyy
6d22ae8d02
[Dovecot] Feature: Move authentication to LUA and prepare for http based authentication, log last SASL logins to SQL
2021-06-04 14:27:33 +02:00
andryyy
971434ddd3
[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)
2021-04-16 20:38:09 +02:00
andryyy
dbede2252c
[Ejabberd, Postfix, Dovecot] Do not run DNS check against unbound
2021-04-01 15:24:55 +02:00
andryyy
410cb558ee
[Dovecot] Check if quarantine_notify.py holds a lock
...
[SOGo] Change default theme
2021-01-28 15:48:59 +01:00
andryyy
16f87f07fa
[Dovecot] Replace hostname for quarantine notifications with mailcow hostname (broke after Docker 20.10 fix)
2020-12-11 10:05:05 +01:00
Lukas Schreiner
d96bf91a0d
Support of different default pass schemes + support of BLF-CRYPT ( #3832 )
...
* Introduce MAILCOW_PASS_SCHEME in order to support blowfish (cf. mailcow/mailcow-dockerized#1019 )
* Furthermore added dovecot to support new environment varible for MAILCOW_PASS_SCHEME defaulted to SSHA256
* Revert changes regarding gitignore.
* Added fallback to SSHA256 if environment is not proper prepared.
* No fallback within management frontend, as it must match to other components.
* Unified and corrected alignment; implemented support of SSHA512
* Currently, password_hash of PHP is using by default bcrypt (BLF). As this might change later, we must ensure, that BLF is still used after PHP changes its default.
* Switched to BLF-CRYPT by default (even on update)
* Switched to BLF-CRYPT by default (even on update)
* Adding information in config generation / update with link to supported hash algorithm
* Bump sogo version to 1.92
* Fallback to BLF-CRYPT in case password scheme is not proper defined for Mailcow administration.
2020-11-15 20:22:35 +01:00
andryyy
4e337b308f
[Dovecot] Select action in quarantine script, use nobody to run imapsync cron
2020-11-06 12:23:02 +01:00
andryyy
5f8e13f596
[Dovecot] Allow to define static master user (not recommended)
2020-10-20 15:43:05 +02:00
andryyy
2df661a91e
[Dovecot] Move mail index to new volume
2020-09-23 11:20:00 +02:00
andryyy
386133b855
[Dovecot] Remove like from query
...
Signed-off-by: andryyy <andre.peters@debinux.de>
2020-09-20 22:30:03 +02:00
andryyy
4627331339
[Dovecot] Fix sieve with new protocol toggling implementation, fixes #3769
2020-09-19 19:15:06 +02:00
andryyy
09ec4fcd81
[Dovecot] For future use: pass used protocol; Check if user has protocol access while authenticating
2020-09-17 19:46:28 +02:00
andryyy
09ad2b1314
[Dovecot] Filter by compose project name, create trusted map for SOGo IP, run DNS check before starting service
2020-07-11 13:22:48 +02:00
andryyy
9078031255
[Dovecot] WIP: Read env vars for cronjobs from prepared file
2020-05-04 07:49:30 +02:00
andryyy
85a69a580e
[Dovecot] Implement disallowed logins
2020-04-29 10:58:47 +02:00
Richard Lea
c6e6d3e8ee
[Dovecot] fix error redirection at doveconf ( #3500 )
2020-04-23 09:35:22 +02:00
andryyy
56e4963423
[Dovecot] Set repl health on start
2020-04-14 17:32:15 +02:00
andryyy
5944595be3
[Watchdog] Watch replication, if any (unsupported)
2020-04-14 12:48:57 +02:00
andryyy
6364f70a9e
[Dovecot] Fix var
2020-03-25 21:24:41 +01:00
andryyy
c9aebd73cc
[Dovecot] Wait for versions table instead of failing and restarting
2020-03-08 16:51:30 +01:00
andryyy
c785c8f700
[Dovecot] Show last mail (pop3, imap) login in web interface
2020-02-25 19:38:20 +01:00
andryyy
3d2962a12d
[Dovecot] LUA: Passdb: Reconnect to SQL if connection was lost
2020-02-20 17:48:57 +01:00
andryyy
c8b9f2b36c
[Dovecot] Add auth_passdb_lookup to LUA, add default plugins for replicator, check if master, add node to GUID creation, use correct syslog-ng config if Redis write-master is not redis-mailcow, trim logs on Redis master
2020-02-05 10:56:44 +01:00
andryyy
cf4baa00a6
[Dovecot] Fix quarantine bcc, use socket for LUA API
2020-01-29 10:30:06 +01:00
andryyy
390cbc070b
[Dovecot] Remove CONTROL from shared namespace - thanks to @Keessaus
2019-12-25 10:34:08 +01:00
andryyy
b8ed434ecd
[Dovecot] Delete ham/spam hash if previously learned; Change LUA script pathes
2019-12-06 10:20:06 +01:00
andryyy
b7a749208d
[Dovecot] Really strange race condition when reading an untouched LUA file on slower systems
2019-12-05 10:14:41 +01:00
andryyy
4715245697
[Dovecot] Drop logs
2019-12-05 09:30:53 +01:00
andryyy
13ef9dd113
[Dovecot] Fix lua error when trying to escape empty domains
2019-12-04 21:47:25 +01:00
andryyy
afb43c9c5b
[Dovecot] Fix app passwds: allow multiple pass hashes by using LUA construct
2019-12-03 18:50:45 +01:00
andryyy
dfbf3e85be
[Dovecot] Add map for app passwds
2019-12-02 10:53:25 +01:00
Marcel Hofer
2e35da6816
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
2019-10-19 12:48:56 +02:00
andryyy
b0711db489
[Dockerfiles] Rename some files and create hook points
2019-10-18 12:01:47 +02:00
andryyy
3488cb2171
[Dovecot] Fix GUID
2019-08-10 21:03:18 +02:00
andryyy
457d62e22e
[Dovecot] Generate GUID
2019-08-09 14:11:36 +02:00
andryyy
97c2fe9fe1
[Dovecot] Install from repository
2019-07-28 21:34:42 +02:00
andryyy
b139e48eec
Add some hints to autogenerated files
2019-07-08 07:56:41 +02:00
andryyy
de03e4178a
[Dovecot] Run cronjob at 4:15 AM to remove max aged quarantine items (default: 365 days)
2019-06-01 21:23:43 +02:00
andryyy
dcacf85a5d
[Dovecot] Rename sieve_after to global_sieve_after and create a global_sieve_before file
2019-06-01 13:53:24 +02:00
andryyy
395f0f7a3d
[Rspamd] Remove authenticated user from auth results header
...
[Dovecot] Fix permissions of console
[Compose] New Dovecot image
2019-05-29 18:02:14 +02:00
andryyy
7d7ecbe591
[Dovecot] Removed quota recalc job (too intensive on larger systems)
2019-05-27 20:29:55 +02:00
andryyy
922a8db7a5
[Dovecot] Auto-generate shared namespace
2019-05-18 23:01:05 +02:00
André Peters
eb2b26699c
[Dovcot] Cleanup random user maildirs
2019-03-27 16:37:15 +01:00
Marcel Hofer
7d2289c3a7
Merge branch 'master' into admin-login
...
# Conflicts:
# data/web/js/site/mailbox.js
2019-03-23 21:17:02 +01:00
andryyy
22798a85e5
[Config] Add MAILDIR_SUB, "Maildir" for new setups by default
...
[Update] Add MAILDIR_SUB= for updated mailcows
[Dovecot] Read MAILDIR_SUB for mail_home
2019-03-18 14:09:32 +01:00
André Peters
ae19d81f2d
Merge branch 'master' into admin-login
2019-03-10 10:38:42 +01:00
andryyy
47d4be8884
[Dovecot] v2.3.5 (PH 0.5.5)
...
[Dovecot] Change Solr cronjob to fit dovecot-fts
2019-03-10 09:35:26 +01:00
Marcel Hofer
dd6d253ac0
add random masterpass for sogo admin login
...
add required headers for sogo proxy auth with password
add SOGoEncryptionKey
add SOGoTrustProxyAuthentication only conditionally if feature is enabled
2019-02-26 09:02:35 +01:00
Marcel Hofer
cac67db203
add config ALLOW_ADMIN_EMAIL_LOGIN and implement password-less SOGo login admins
2019-02-23 17:59:18 +01:00
Aaron Larisch
5cae935485
Fix empty maildir_gc.sh
2019-02-12 17:11:04 +01:00
andryyy
c7c1422095
[Dovecot] Add quota_notify script
...
[Dovecot] Some minor changes to quarantine notification script to catch more errors
2019-02-05 00:00:22 +01:00
andryyy
f493d3a957
[Dovecot] Simplify Docker image
...
[Dovecot] Set Dovecot plugins dynamically via file and exclude Solr if not enabled
[Dovecot] Add new quarantine notification script
2019-01-29 00:11:12 +01:00
Markus Heberling
9750ec5bec
Merge branch 'master' into master
2019-01-01 14:20:22 +01:00
andryyy
b7c9af5e75
[Dovecot] Give master user a uid and gid, fixes #2093
2018-12-13 19:52:50 +01:00
Markus Heberling
4755bb323b
Allow setting ACL_ANYONE in the configuration
2018-12-11 11:32:36 +01:00
andryyy
5153623539
[Dovecot] Add master user to userdb (to be used in SOGo)
...
[SOGo] Use sieve.creds to authenticate against Dovecot and send email reminders
2018-12-10 23:23:56 +01:00
andryyy
2a6320b86e
[Netfilter] Disable aborted login without auth as fail2ban trigger
...
[Dovecot] passdb query ignored active attribute in mailbox table
[PHP-FPM] Add default release format for spam
2018-12-06 16:49:28 +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
b3518b0749
[Dovecot] Remove dedicated index (wip)
...
[SOGo] Fix sogo_view
2018-11-12 20:59:39 +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
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é
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é
ad63552951
[Dovecot] Check file size of mail crypt key pair, fixes #1859
...
[Compose] New Dovecot image
2018-10-07 15:10:17 +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é
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
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é
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é
1115b826f9
[Dovecot] Various fixes for imapsync_cron, new imapsync version
2018-07-27 22:19:14 +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é
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é
4a403e9323
[Dovecot] Imapsync: Set is_running = 0 on restart
2018-06-03 19:22:44 +02:00
André Peters
bf5b6732cf
[Dovecot] Fix passdb query
2018-02-27 20:55:12 +01:00
André Peters
39f289fc3c
[Web, Dovecot, Postfix] Fix JSON attribute for login
2018-02-19 10:17:29 +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é
b32e5adcc5
[Dovecot] sieve_before/after maps in sql, changed dict names
2017-11-03 20:25:38 +01: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
93046dea45
Fixes #261
2017-05-09 21:29:51 +02:00
andryyy
dfee8efa97
Fix DBUSER in entrypoint
2017-04-28 12:24:14 +02:00
andryyy
13cd5e0b1d
Run sievec after adding keys, use fixed IDs for users
2017-04-05 22:25:16 +02:00
andryyy
58d86dadce
Rebase Dovecot on Stretch slim, build from stable source with latest stable Pigeonhole for antispam replacement
2017-04-03 20:06:49 +02:00
andryyy
276e370989
Rspamd tag check for non-spam only (post-filter), remove sql files from repository"
2017-03-08 17:58:00 +01:00
andryyy
c283c85d51
Update Postfix and Dovecot, add ignore
2017-03-06 10:33:44 +01:00
andryyy
d891bc8894
Docs
2017-03-02 11:23:23 +01:00
andryyy
5f7fb2e7c2
Deployed dfc88cc with MkDocs version: 0.16.1
2017-03-02 11:21:46 +01:00
andryyy
2c04a77e17
Revert change, directory is already created
2017-01-25 19:10:31 +01:00
André Peters
f392a0da81
Merge pull request #20 from psi-4ward/dovecot-volume-fix
...
Fixed: Dovecot depend on sogo volumes
2017-01-23 23:22:46 +01:00
andryyy
c403933017
Add imapsync tool to Dovecot and change container layout
2017-01-12 20:16:37 +01:00
Christoph Wiechert
32f1b672fc
Fixed: Dovecot depend on sogo volumes
...
Volume mount from sogo should be optional
2017-01-11 19:59:46 +01:00
andryyy
b0db732e87
Needs lowercase master user with SHA1
2016-12-23 07:07:50 +01:00
andryyy
de36fe1571
Be more compatible...
2016-12-21 09:38:19 +01:00
andryyy
5aa3ede06e
Typo...
2016-12-21 09:34:08 +01:00
andryyy
eef81c58ae
Add random created master at each startup to handle SOGo features
2016-12-21 08:25:47 +01:00
andryyy
60fca24d1b
Create sieve_after handler
2016-12-19 15:19:35 +01:00
andryyy
7ef70e4c81
Move dkim data, vmail and dbs to volumes, changed README
2016-12-17 20:31:59 +01:00
andryyy
9ce260fbe0
Use entrypoint to sed some vars
2016-12-15 10:07:09 +01:00