Hi,

Mine is a very simple, personal installation of dovecot-2.3.21.1_1 running on 
FreeBSD 14.2.  However, while my current config works as intended, I'm far 
from being an expert.

I've been through my current dovecot.conf looking for things that need to be 
changed 
for a future upgrade to 2.4.  Some things appear to be relatively painless.  

For example: 
    Change all occurrences of %u to %{user}

    Replace "disable_plaintext_auth = no" with "auth_allow_cleartext = yes"

    userdb and passdb being given names - e.g., 
    from:
           userdb {
                  args = username_format=%u /usr/local/etc/dovecot/users
                  driver = passwd-file
           }
    to:
    userdb users {
           args = auth_username_format=%{user} /usr/local/etc/dovecot/users
           driver = passwd-file
           }

Where I'm confused is the replacement of mail_location. Currently this is:

mail_location = maildir:/var/mail/users/%u

Should this be changed to:

mail_driver = maildir
mail_path = /var/mail/users/%{user}

Hope I have given enough information.  Thanks for any help provided.


BTW, while researching, I think I found a small typo here:
  
https://doc.dovecot.org/2.4.0/core/config/users/virtual.html#usernames-and-domains
Second para:
       "domain%{user}ser"

-- 
Best regards,
PhilB

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to