This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
web_интерфейс_к_почте [2024/02/16 10:13] val [Roundcube] |
web_интерфейс_к_почте [2025/03/12 06:31] (current) val [Дополнительные материалы] |
||
---|---|---|---|
Line 21: | Line 21: | ||
$config['default_host'] = 'localhost'; | $config['default_host'] = 'localhost'; | ||
$rcmail_config['mail_domain'] = 'corpX.un'; | $rcmail_config['mail_domain'] = 'corpX.un'; | ||
+ | ... | ||
+ | //https://treeone.ru/roundcube-smtp-error-code-1-connection-failed-after-upgrade-debian/ | ||
+ | //or add port 587 to mta | ||
+ | $config['smtp_server'] = 'localhost:25'; | ||
... | ... | ||
</code><code> | </code><code> | ||
Line 104: | Line 108: | ||
</code> | </code> | ||
- | === OAuth2 аутентификация === | + | === OpenID аутентификация === |
* [[https://goauthentik.io/integrations/services/roundcube/|This integration describes how to use Roundcube's oauth support with authentik to automatically sign into an email account]] | * [[https://goauthentik.io/integrations/services/roundcube/|This integration describes how to use Roundcube's oauth support with authentik to automatically sign into an email account]] | ||
Line 148: | Line 152: | ||
===== Дополнительные материалы ===== | ===== Дополнительные материалы ===== | ||
+ | ==== В новой версии roundcube может понадобиться ==== | ||
+ | <code> | ||
+ | 1. права доступа к директории /var/lib/roundcube: | ||
+ | |||
+ | chown -R www-data:www-data /var/lib/roundcube | ||
+ | chmod -R 755 /var/lib/roundcube | ||
+ | |||
+ | |||
+ | 2. в конфигурационном файле `/etc/apache2/conf-enabled/roundcube.conf` добавить | ||
+ | Alias /mail /var/lib/roundcube | ||
+ | |||
+ | <Directory /var/lib/roundcube> | ||
+ | Options Indexes FollowSymLinks MultiViews | ||
+ | AllowOverride All | ||
+ | Require all granted | ||
+ | </Directory> | ||
+ | |||
+ | 3. проверить, что модуль Apache `mod_alias` включен: | ||
+ | sudo a2enmod alias | ||
+ | |||
+ | 4. Проверить в /etc/apache2/apache2.conf наличие правил для `/var/lib/roundcube`. | ||
+ | |||
+ | <Directory /var/lib/roundcube> | ||
+ | Options Indexes FollowSymLinks | ||
+ | AllowOverride None | ||
+ | Require all granted | ||
+ | </Directory> | ||
+ | |||
+ | 5. systemctl restart apache2 | ||
+ | </code> | ||
==== squirrelmail ==== | ==== squirrelmail ==== | ||