Добавлена конфигурация для почты
This commit is contained in:
3
dovecot/conf.d/10-auth.conf
Normal file
3
dovecot/conf.d/10-auth.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
disable_plaintext_auth = no
|
||||
auth_mechanisms = plain login
|
||||
!include auth-passwdfile.conf.ext
|
||||
9
dovecot/conf.d/auth-passwdfile.conf.ext
Normal file
9
dovecot/conf.d/auth-passwdfile.conf.ext
Normal file
@@ -0,0 +1,9 @@
|
||||
passdb {
|
||||
driver = passwd-file
|
||||
args = scheme=PLAIN username_format=%u /etc/dovecot/users
|
||||
}
|
||||
|
||||
userdb {
|
||||
driver = passwd-file
|
||||
args = username_format=%u /etc/dovecot/users
|
||||
}
|
||||
1
dovecot/users
Normal file
1
dovecot/users
Normal file
@@ -0,0 +1 @@
|
||||
user@yourdomain.com:{PLAIN}password
|
||||
Reference in New Issue
Block a user