dovecot_extra_fields: option to add extra data to dovecot passwd entries

Version 1.61.5

Feature
Finished

There might be cases where you want to append each /etc/virtual/domain.com/passwd entry for a given domain with, for example: userdb_mail=maildir:~/Maildir:UTF-8 This change lets you do this. At the moment, it's only available at the back-end for manual addition to: /usr/local/directadmin/data/users/USERNAME/domains/DOMAIN.COM.conf as: dovecot_extra_fields=userdb_mail=maildir:~/Maildir:UTF-8 and when the domain's passwd file is rewritten, this will be appended to the end. =========== DIRECTADMIN.CONF The new internal default is: dovecot_extra_fields=1 where, you can disable the domain.com.conf check by setting: /usr/local/directadmin/directadmin set dovecot_extra_fields 0 service directadmin restart =========== REWRITE Once a domain's conf file has the setting, you can issue an /etc/virtual/domain.com/passwd rewrite, by running: echo "action=rewrite&value=email_passwd" >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d2000 ==== T30736

Interested to try DirectAdmin? Get a 30-day Free Trial!