infrastructure:serveur_mail:partie_3:horde
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
infrastructure:serveur_mail:partie_3:horde [2015/10/13 11:45] – [Finish and tuning] ghusson | infrastructure:serveur_mail:partie_3:horde [2019/01/10 15:31] (Version actuelle) – [Horde install] rguyader | ||
---|---|---|---|
Ligne 12: | Ligne 12: | ||
IMAP_SERVER=" | IMAP_SERVER=" | ||
SMTP_SERVER=" | SMTP_SERVER=" | ||
- | ADMIN_MAIL=" | + | ADMIN_MAIL=" |
CONTACT_MAIL=" | CONTACT_MAIL=" | ||
INSTALL_PATH="/ | INSTALL_PATH="/ | ||
Ligne 714: | Ligne 714: | ||
Type your choice []: mysql | Type your choice []: mysql | ||
- | Username to connect to the database as* [] u_horde | + | Username to connect to the database as* [] hordeuser |
Password to connect with | Password to connect with | ||
How should we connect to the database? | How should we connect to the database? | ||
Ligne 724: | Ligne 724: | ||
Location of UNIX socket [] / | Location of UNIX socket [] / | ||
- | Database name to use* [] db_horde | + | Database name to use* [] hordedb |
Internally used charset* [utf-8] | Internally used charset* [utf-8] | ||
Ligne 838: | Ligne 838: | ||
/* horde mailer */ | /* horde mailer */ | ||
$conf[' | $conf[' | ||
- | $conf[' | + | $conf[' |
$conf[' | $conf[' | ||
$conf[' | $conf[' | ||
- | $conf[' | + | $conf[' |
- | $conf[' | + | $conf[' |
- | $conf[' | + | $conf[' |
$conf[' | $conf[' | ||
$conf[' | $conf[' | ||
Ligne 948: | Ligne 948: | ||
</ | </ | ||
- | If SSL, please add the same to the config file XXX | + | If SSL, please add the same to the config file, and tune SSL allowed ciphers |
<code bash> | <code bash> | ||
Ligne 1015: | Ligne 1015: | ||
' | ' | ||
' | ' | ||
- | ’realm’ => | + | ’realm’ => ’__DEFAULT_MAIL_DOMAIN’, |
' | ' | ||
' | ' | ||
Ligne 1052: | Ligne 1052: | ||
chmod 640 $INSTALL_PATH/ | chmod 640 $INSTALL_PATH/ | ||
chown www-data: | chown www-data: | ||
+ | </ | ||
+ | |||
+ | ===== Ingo - managesieve == | ||
+ | In order to use server site filters and action over incoming email in Horde, you need to install ingo. | ||
+ | <code bash> | ||
+ | pear install -a -B horde/ingo | ||
+ | </ | ||
+ | Then goto the Horde administration pannel, clieck on "SQL DB schema is out of date." at right of Ingo application. | ||
+ | And at last, create the configuration files : | ||
+ | <code bash> | ||
+ | cat << " | ||
+ | <?php | ||
+ | /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */ | ||
+ | // $Id: 48142d13ef06c07f56427fe5b43981631bdbfdb0 $ | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */ | ||
+ | EOF | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | cat << " | ||
+ | <?php | ||
+ | /* Sieve local */ | ||
+ | $backends[' | ||
+ | $backends[' | ||
+ | $backends[' | ||
+ | $backends[' | ||
+ | $backends[' | ||
+ | EOF | ||
+ | sed -i " | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | cat << " | ||
+ | <?php | ||
+ | class Ingo_Hooks | ||
+ | { | ||
+ | public function transport_auth($driver) | ||
+ | { | ||
+ | switch ($driver) { | ||
+ | case ' | ||
+ | $full_user = $GLOBALS[' | ||
+ | return array( | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | EOF | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | cat << " | ||
+ | <?php | ||
+ | $_prefs[' | ||
+ | EOF | ||
</ | </ | ||
Ligne 1074: | Ligne 1135: | ||
cat << ' | cat << ' | ||
# Horde Alarms | # Horde Alarms | ||
- | */5 * * * * | + | */5 * * * * |
EOF | EOF | ||
pear config-set -c horde horde_dir / | pear config-set -c horde horde_dir / | ||
Ligne 1080: | Ligne 1141: | ||
service cron start | service cron start | ||
</ | </ | ||
- | |||
- | Add www-data alias | ||
- | <code bash> | ||
- | echo " | ||
- | newaliases | ||
- | </ | ||
- | |||
Theme : see http:// | Theme : see http:// | ||
===== Android activesync ===== | ===== Android activesync ===== | ||
+ | |||
+ | In french (sorry) | ||
A cause de bugs dans la version 5, suivre cette procédure (effacera toutes les données mail, agenda, contacts) : | A cause de bugs dans la version 5, suivre cette procédure (effacera toutes les données mail, agenda, contacts) : | ||
* aller dans configuration -> comptes et désactiver la synchronisation sur tous les comptes | * aller dans configuration -> comptes et désactiver la synchronisation sur tous les comptes | ||
Ligne 1100: | Ligne 1156: | ||
* ajouter compte exchange | * ajouter compte exchange | ||
+ | If after android accounts and apps data purge, you still have problems : | ||
+ | - install F-Droid | ||
+ | - install Tasks (tasks sync works !) | ||
+ | - install DAVdroid | ||
+ | - add your caldav/ | ||
Ligne 1110: | Ligne 1171: | ||
- | aller sur : http:// | + | ===== OTHER/TODO ===== |
- | http:// | + | |
- | Configurer horde, avec authentification IMAP, sauvegarder la config | ||
- | vi / | ||
- | $conf[' | ||
- | |||
- | https:// | ||
- | " | ||
- | |||
- | |||
- | |||
- | http:// | ||
- | |||
- | |||
- | |||
- | |||
- | #howto pour AD : https:// | ||
- | |||
- | |||
- | |||
- | apt-get install dbconfig-common | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | cat << " | ||
- | <?php | ||
- | /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */ | ||
- | // $Id: e93c23a84c830cda12393f7a254c20d3800efd86 $ | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */ | ||
- | EOF | ||
- | |||
- | |||
- | |||
- | |||
- | ===== AUTRE ===== | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | $backends[' | ||
- | $backends[' | ||
- | $backends[' | ||
- | $backends[' | ||
- | $backends[' | ||
- | $backends[' | ||
- | echo '<? | ||
- | class Ingo_Hooks | ||
- | { | ||
- | public function transport_auth($driver) | ||
- | { | ||
- | switch($driver) | ||
- | { | ||
- | case " | ||
- | return array( | ||
- | " | ||
- | " | ||
- | ); | ||
- | |||
- | default: | ||
- | return true; | ||
- | } | ||
- | } | ||
- | }' \ | ||
- | > " | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ========================== | ||
- | Afficher en ligne les messages HTML | ||
- | |||
- | |||
- | ============================ | ||
$_prefs[' | $_prefs[' | ||
\$_prefs[' | \$_prefs[' | ||
Ligne 1215: | Ligne 1180: | ||
https:// | https:// | ||
- | + | # if error : Class ' | |
- | = | + | |
- | + | ||
- | + | ||
- | # si erreur | + | |
apt-get install php-sabre-dav php-sabre-vobject | apt-get install php-sabre-dav php-sabre-vobject | ||
- | # couleur | + | TODO : users default presets |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
infrastructure/serveur_mail/partie_3/horde.1444736751.txt.gz · Dernière modification : 2015/10/13 11:45 de ghusson