Computer Tips - Fedora: Changes to dovecot config file for Fedora 43

Date: 2025oct29 OS: Linux Distro: Fedora Product: Dovecot 2.4.x Q. Fedora: Changes to dovecot config file for Fedora 43 A. Fedora 43 bumped the version of Dovecot to 2.4.x and that required a lot of changes to the config file. Here I show the /etc/dovecot/dovecot.conf.rpmnew that came with that release and the updates I made to it to make it work for my basic needs. For example, I changed the mail format from maildir to mbox (single file). Original config file: ## Dovecot configuration file # Dovecot configuration version. This must be the first setting in the # configuration file. It specifies the configuration syntax, the used setting # names and the expected default values. dovecot_config_version = 2.4.1 # Dovecot storage file format version. It specifies the oldest Dovecot version # that must be able to read files written by this Dovecot instance. The # intention is that when upgrading Dovecot cluster, this setting is first kept # as the old Dovecot version. Once the cluster is fully upgraded to a new # version and there is no intention to rollback to the old version anymore, # this version number can be increased. dovecot_storage_version = 2.4.1 # The configuration below is a minimal configuration file using system user authentication. # See https://doc.dovecot.org/configuration_manual/quick_configuration/ !include_try conf.d/*.conf # Enable wanted protocols: protocols { imap = yes lmtp = yes } mail_home = /home/%{user} mail_driver = maildir mail_path = ~/mail # By default first_valid_uid is 1000. If your vmail user's UID is smaller, # you need to modify this: first_valid_uid = 1000 namespace inbox { inbox = yes separator = / } # Authenticate as system users: passdb pam { } userdb passwd { } ssl = required ssl_cipher_list = PROFILE=SYSTEM ssl_server { cert_file = /etc/pki/dovecot/certs/dovecot.pem key_file = /etc/pki/dovecot/private/dovecot.pem } Updated to (my changes are marked with "davekb"): ## Dovecot configuration file # Dovecot configuration version. This must be the first setting in the # configuration file. It specifies the configuration syntax, the used setting # names and the expected default values. dovecot_config_version = 2.4.1 # Dovecot storage file format version. It specifies the oldest Dovecot version # that must be able to read files written by this Dovecot instance. The # intention is that when upgrading Dovecot cluster, this setting is first kept # as the old Dovecot version. Once the cluster is fully upgraded to a new # version and there is no intention to rollback to the old version anymore, # this version number can be increased. dovecot_storage_version = 2.4.1 # The configuration below is a minimal configuration file using system user authentication. # See https://doc.dovecot.org/configuration_manual/quick_configuration/ !include_try conf.d/*.conf # Enable wanted protocols: protocols { imap = yes lmtp = yes } # # Mail location # mail_home = /home/%{user} # mail_driver = maildir # davekb changed to: mail_driver = mbox mail_path = ~/mail # davekb added these 2 lines: mail_inbox_path = /var/mail/%{user} mail_privileged_group = mail # # # # By default first_valid_uid is 1000. If your vmail user's UID is smaller, # you need to modify this: first_valid_uid = 1000 namespace inbox { inbox = yes separator = / } # Authenticate as system users: passdb pam { } userdb passwd { } # davekb added: auth_allow_cleartext = yes # davekb temporarily added: # mail_debug = yes # ssl = required # davekb changed SSL to yes from required so its supported by optional ssl = yes ssl_cipher_list = PROFILE=SYSTEM ssl_server { cert_file = /etc/pki/dovecot/certs/dovecot.pem key_file = /etc/pki/dovecot/private/dovecot.pem # davelb added these 2 lines to make it less strict on my LAN only: require_crl = no request_client_cert = no }