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
web_интерфейс_к_почте [2024/05/01 15:44]
val [Roundcube]
web_интерфейс_к_почте [2025/10/26 08:14] (current)
val
Line 23: Line 23:
 ... ...
 //​https://​treeone.ru/​roundcube-smtp-error-code-1-connection-failed-after-upgrade-debian/​ //​https://​treeone.ru/​roundcube-smtp-error-code-1-connection-failed-after-upgrade-debian/​
 +//or add port 587 to mta
 $config['​smtp_server'​] = '​localhost:​25';  ​ $config['​smtp_server'​] = '​localhost:​25';  ​
 ... ...
Line 148: Line 149:
  
   * Сервер dovecot [[Сервер dovecot#​OAuth аутентификация]]   * Сервер dovecot [[Сервер dovecot#​OAuth аутентификация]]
 +
 +=== Roundcube PGP Enigma ===
 +<​code>​
 +# apt install roundcube-plugins php-crypt-gpg
 +
 +# find /​var/​lib/​roundcube/​plugins/​enigma/​
 +
 +# cat /​var/​lib/​roundcube/​config/​config.inc.php
 +...
 +$config['​plugins'​] = array(
 +'​enigma'​
 +);
 +$config['​enigma_pgp_homedir'​]='/​tmp/' ​  ???
 +...
 +
 +# tail -f /​var/​log/​roundcube/​errors.log
 +
 +
 +# gpg --output public.pgp --armor --export user1@corp13.un
 +
 +# gpg --output private.pgp --armor --export-secret-key user1@corp13.un
 +
 +# cat public.pgp private.pgp > /​disk2/​samba/​user1.pubpriv
 +</​code>​
  
 ===== Дополнительные материалы ===== ===== Дополнительные материалы =====
  
 +==== В новой версии 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 ====
  
web_интерфейс_к_почте.1714567490.txt.gz · Last modified: 2024/05/01 15:44 by val