# -------------------------------------------------------------------------- # Please create a file "extra.conf" for persistent overrides to dovecot.conf # -------------------------------------------------------------------------- # To extend mail_plugins, you have two options: # # Option 1 (Recommended): Use the extra plugin files directly # Create/edit data/conf/dovecot/mail_plugins_extra (for global plugins) # Create/edit data/conf/dovecot/mail_plugins_imap_extra (for IMAP-specific plugins) # Create/edit data/conf/dovecot/mail_plugins_lmtp_extra (for LMTP-specific plugins) # Note: These paths are on the host. Inside the container they are /etc/dovecot/mail_plugins_* # Example to add the virtual plugin for IMAP: # echo -n ' virtual' > data/conf/dovecot/mail_plugins_imap_extra # docker-compose restart dovecot-mailcow # # Option 2: Override protocol sections in extra.conf # Create data/conf/dovecot/extra.conf with protocol-specific overrides: # protocol imap { # mail_plugins = $mail_plugins virtual # } # Note: This requires redefining the entire protocol block and may override # other settings. Option 1 is simpler and less prone to conflicts. # -------------------------------------------------------------------------- # LDAP example: #passdb { # args = /etc/dovecot/ldap/passdb.conf # driver = ldap #} auth_mechanisms = plain login #mail_debug = yes #auth_debug = yes #log_debug = category=fts-flatcurve # Activate Logging for Flatcurve FTS Searchings log_path = syslog disable_plaintext_auth = yes # Uncomment on NFS share #mmap_disable = yes #mail_fsync = always #mail_nfs_index = yes #mail_nfs_storage = yes login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k" mail_home = /var/vmail/%d/%n mail_location = maildir:~/ mail_plugins = !include_try /etc/dovecot/sni.conf !include_try /etc/dovecot/sogo_trusted_ip.conf !include_try /etc/dovecot/extra.conf !include_try /etc/dovecot/shared_namespace.conf !include_try /etc/dovecot/conf.d/fts.conf # default_client_limit = 10400 default_vsz_limit = 1024 M