Single account file with email address as the username
This commit is contained in:
5
templates/Fedora/35/etc/dovecot/accounts
Normal file
5
templates/Fedora/35/etc/dovecot/accounts
Normal file
@@ -0,0 +1,5 @@
|
||||
{% if defined dovecot_users and dovecot_users is iterable %}
|
||||
{% foreach user in dovecot_users %}
|
||||
{{ user.email }}:{{ user.password | password_hash('sha512') }}::::::
|
||||
{% endfor %}
|
||||
{% %}
|
@@ -14,7 +14,7 @@ mail_home = /var/spool/mail/%d/%u
|
||||
|
||||
passdb {
|
||||
driver = passwd-file
|
||||
args = username_format=%n scheme=SHA512-CRYPT /etc/dovecot/accounts/%d/etc/passwd
|
||||
args = username_format=%n scheme=SHA512-CRYPT /etc/dovecot/accounts
|
||||
}
|
||||
userdb {
|
||||
driver = static
|
||||
|
Reference in New Issue
Block a user