User Tools

Site Tools


web_интерфейс_к_почте

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
web_интерфейс_к_почте [2021/10/12 17:04]
val [roundcube]
web_интерфейс_к_почте [2022/10/06 13:25]
val [roundcube]
Line 7: Line 7:
   * [[https://​github.com/​roundcube/​roundcubemail/​blob/​master/​config/​defaults.inc.php|roundcubemail/​config/​defaults.inc.php]]   * [[https://​github.com/​roundcube/​roundcubemail/​blob/​master/​config/​defaults.inc.php|roundcubemail/​config/​defaults.inc.php]]
   * [[https://​unix.stackexchange.com/​questions/​108611/​how-to-set-the-default-domain-for-a-new-roundcube-webmail-user|How to set the default domain for a new Roundcube webmail user?]]   * [[https://​unix.stackexchange.com/​questions/​108611/​how-to-set-the-default-domain-for-a-new-roundcube-webmail-user|How to set the default domain for a new Roundcube webmail user?]]
 +
 +=== Базовая конфигурация ===
 +
   * [[Сервис MySQL]]   * [[Сервис MySQL]]
   * [[Сервис MTA#​Настройка MTA на релеинг почты на основе аутентификации]]   * [[Сервис MTA#​Настройка MTA на релеинг почты на основе аутентификации]]
Line 25: Line 28:
      Alias /mail /​var/​lib/​roundcube      Alias /mail /​var/​lib/​roundcube
 ... ...
-</​code><​code>​+</​code>​ 
 + 
 +=== Roundcube LDAP Addressbook === 
 + 
 +  * [[http://​www.productionmonkeys.net/​guides/​qmail-server/​addons/​ldap-addressbook/​roundcube-ldap-addressbook|Roundcube LDAP Addressbook]] 
 + 
 +<​code>​
 # apt install php-net-ldap3 # apt install php-net-ldap3
  
Line 33: Line 42:
 $config['​ldap_public'​]['​ldap'​] = array( $config['​ldap_public'​]['​ldap'​] = array(
   '​name' ​         => '​Global Addresses',​   '​name' ​         => '​Global Addresses',​
-  '​hosts' ​        => array('​server.corp13.un'),+  '​hosts' ​        => array('​server.corpX.un'),
   '​port' ​         => 389,   '​port' ​         => 389,
   '​use_tls' ​      => false,   '​use_tls' ​      => false,
Line 39: Line 48:
   '​network_timeout'​ => 10,    // The timeout (in seconds) for connect + bind arrempts. This is only supported in PHP >= 5.3.0 with OpenLDAP 2.x   '​network_timeout'​ => 10,    // The timeout (in seconds) for connect + bind arrempts. This is only supported in PHP >= 5.3.0 with OpenLDAP 2.x
   '​user_specific'​ => false, ​  // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login.   '​user_specific'​ => false, ​  // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login.
-  ​'​base_dn' ​      => '​ou=People,​dc=corp13,​dc=un',​+ 
 +  ​'​base_dn' ​      => '​ou=People,​dc=corpX,​dc=un',​ 
 + 
 +//  '​base_dn' ​      => '​cn=Users,​dc=corpX,​dc=un',​ 
 +//  '​bind_dn' ​      => '​cn=Administrator,​cn=Users,​dc=corpX,​dc=un',​ 
 +//  '​bind_pass' ​    => '​Pa$$w0rd',​ 
   '​search_filter' ​ => '', ​  // e.g. '​(&​(objectClass=posixAccount)(uid=%u))'​   '​search_filter' ​ => '', ​  // e.g. '​(&​(objectClass=posixAccount)(uid=%u))'​
   '​fieldmap'​ => array(   '​fieldmap'​ => array(
Line 70: Line 85:
   '​sort' ​          => '​cn', ​        // The field to sort the listing by.   '​sort' ​          => '​cn', ​        // The field to sort the listing by.
   '​scope' ​         => '​sub', ​       // search mode: sub|base|list   '​scope' ​         => '​sub', ​       // search mode: sub|base|list
-  '​filter' ​        => '(objectClass=inetOrgPerson)', ​     // used for basic listing (if not empty) and will be &'​d with search queries. example: status=act+  '​filter' ​        => '(mail=*)', ​     // used for basic listing (if not empty) and will be &'​d with search queries. example: status=act
   '​fuzzy_search' ​  => true,         // server allows wildcard search   '​fuzzy_search' ​  => true,         // server allows wildcard search
   '​vlv' ​           => false, ​       // Enable Virtual List View to more efficiently fetch paginated data (if server supports it)   '​vlv' ​           => false, ​       // Enable Virtual List View to more efficiently fetch paginated data (if server supports it)
Line 85: Line 100:
  
 </​code>​ </​code>​
 +
 +=== OAuth2 аутентификация ===
 +
 +  * [[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://​github-wiki-see.page/​m/​roundcube/​roundcubemail/​wiki/​Configuration:​-OAuth2|Configuration:​ OAuth2 - roundcube/​roundcubemail Wiki]]
 +  * [[https://​github.com/​roundcube/​roundcubemail/​wiki/​Configuration:​-OAuth2|Configuration:​ OAuth2]]
  
 ==== squirrelmail ==== ==== squirrelmail ====
web_интерфейс_к_почте.txt · Last modified: 2024/05/04 05:09 by val