mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Update instructions for Dovecot 2.4
This commit is contained in:
parent
dea7f4d1d8
commit
a9b89fd7b3
1 changed files with 10 additions and 11 deletions
|
|
@ -29,26 +29,25 @@ This concludes the setup of SnappyMail.
|
|||
|
||||
In Dovecot, you need to enable Master User.
|
||||
Enable ```!include auth-master.conf.ext``` in /etc/dovecot/conf.d/10-auth.conf.
|
||||
The file /etc/dovecot/conf.d/auth-master.conf.ext should contain:
|
||||
In Dovecot 2.3, the file /etc/dovecot/conf.d/auth-master.conf.ext should contain:
|
||||
```
|
||||
# Authentication for master users. Included from auth.conf.
|
||||
|
||||
# By adding master=yes setting inside a passdb you make the passdb a list
|
||||
# of "master users", who can log in as anyone else.
|
||||
# <doc/wiki/Authentication.MasterUsers.txt>
|
||||
|
||||
# Example master user passdb using passwd-file. You can use any passdb though.
|
||||
passdb {
|
||||
driver = passwd-file
|
||||
master = yes
|
||||
args = /etc/dovecot/master-users
|
||||
|
||||
# Unless you're using PAM, you probably still want the destination user to
|
||||
# be looked up from passdb that it really exists. pass=yes does that.
|
||||
pass = yes
|
||||
}
|
||||
```
|
||||
|
||||
In Dovecot 2.4, the file /etc/dovecot/conf.d/auth-master.conf.ext should contain:
|
||||
```
|
||||
passdb passwd-file {
|
||||
master = yes
|
||||
passwd_file_path = /etc/dovecot/master-users
|
||||
result_success = continue
|
||||
}
|
||||
```
|
||||
|
||||
You then need to create a master user in /etc/dovecot/master-users:
|
||||
```
|
||||
admin:PASSWORD::::::allow_nets=local,172.17.0.0/16
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue