This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервер_dovecot [2023/03/19 16:11] val |
сервер_dovecot [2024/02/05 12:06] val [OAuth аутентификация] |
||
---|---|---|---|
Line 4: | Line 4: | ||
* [[http://ru.wikipedia.org/wiki/IMAP]] | * [[http://ru.wikipedia.org/wiki/IMAP]] | ||
* [[http://ru.wikipedia.org/wiki/Dovecot]] | * [[http://ru.wikipedia.org/wiki/Dovecot]] | ||
- | * [[http://lehan604.blogspot.com/2008/12/dovecot-imaps-pop3s.html]] | ||
- | * [[http://tuupic.org.ru/perenos-pochty-s-mbox-na-maildirsendmaildovecot/]] | ||
- | |||
===== Установка ===== | ===== Установка ===== | ||
Line 181: | Line 178: | ||
... | ... | ||
</code><code> | </code><code> | ||
- | debian10_11# chmod +r /etc/krb5.keytab | + | debian10/11/12# chmod +r /etc/krb5.keytab |
gate# mail user1 | gate# mail user1 | ||
Line 188: | Line 185: | ||
* Thunderbird - [[Thunderbird#Настройка на использование GSSAPI]] | * Thunderbird - [[Thunderbird#Настройка на использование GSSAPI]] | ||
- | ==== Настройка dovecot на использование OAuth2 ==== | ||
- | * [[https://doc.dovecot.org/configuration_manual/authentication/oauth2/|Open Authentication v2.0 database]] | ||
===== Аутентификация для postfix ===== | ===== Аутентификация для postfix ===== | ||
Line 263: | Line 258: | ||
auth_mechanisms = EXTERNAL | auth_mechanisms = EXTERNAL | ||
... | ... | ||
- | </code><code> | + | </code> |
+ | |||
+ | ===== OAuth аутентификация ===== | ||
+ | |||
+ | * [[https://doc.dovecot.org/configuration_manual/authentication/oauth2/|Open Authentication v2.0 database]] | ||
+ | |||
+ | <code> | ||
+ | # cat /etc/dovecot/conf.d/10-auth.conf | ||
+ | ... | ||
+ | auth_mechanisms = xoauth2 oauthbearer | ||
+ | ... | ||
+ | </code> | ||
+ | |||
+ | ===== Авторизация без пароля, на основе аутентификации ===== | ||
+ | <code> | ||
# cat /etc/dovecot/conf.d/auth-system.conf.ext | # cat /etc/dovecot/conf.d/auth-system.conf.ext | ||
... | ... |