Wiki » Historique » Version 41
Patrice Nadeau, 2014-07-12 19:11
| 1 | 14 | Patrice Nadeau | %{font-size:18pt}Installation d'un serveur openSUSE% |
|---|---|---|---|
| 2 | 1 | Patrice Nadeau | |
| 3 | 15 | Patrice Nadeau | *Le guide PDF n'as pas encore transférée dans cette section* |
| 4 | |||
| 5 | 13 | Patrice Nadeau | ___ |
| 6 | 14 | Patrice Nadeau | |
| 7 | 1 | Patrice Nadeau | |
| 8 | 5 | Patrice Nadeau | {{toc}} |
| 9 | 1 | Patrice Nadeau | |
| 10 | 20 | Patrice Nadeau | h1. openSUSE |
| 11 | |||
| 12 | 19 | Patrice Nadeau | h1. Postfix |
| 13 | |||
| 14 | *En cours de documentation* |
||
| 15 | 1 | Patrice Nadeau | |
| 16 | 27 | Patrice Nadeau | Serveur de de courriel électronique (SMTP) |
| 17 | 24 | Patrice Nadeau | |
| 18 | http://www.postfix.org |
||
| 19 | |||
| 20 | Les fichiers de configuration sont : |
||
| 21 | * /etc/postfix/master.cf |
||
| 22 | * /etc/postfix/main.cf |
||
| 23 | |||
| 24 | 21 | Patrice Nadeau | h2. Entrés DNS |
| 25 | |||
| 26 | h3. A record |
||
| 27 | |||
| 28 | h3. MX record |
||
| 29 | |||
| 30 | h3. SPF record |
||
| 31 | |||
| 32 | 23 | Patrice Nadeau | Ajouter ceux du fournisseur internet (le fournisseur et et tous ses abonnées pourront "se faire passer" pour le domaine) |
| 33 | |||
| 34 | 20 | Patrice Nadeau | h2. Test SPF |
| 35 | 19 | Patrice Nadeau | |
| 36 | 22 | Patrice Nadeau | Envoyer un courriel à une des adresses suivantes : |
| 37 | * check-auth@verifier.port25.com |
||
| 38 | * check-auth2@verifier.port25.com |
||
| 39 | 19 | Patrice Nadeau | |
| 40 | 25 | Patrice Nadeau | h1. Dovecot |
| 41 | |||
| 42 | *En cours de documentation* |
||
| 43 | |||
| 44 | 26 | Patrice Nadeau | http://www.dovecot.org/ |
| 45 | |||
| 46 | Serveur de courriel électronique (POP & IMAP) |
||
| 47 | |||
| 48 | 25 | Patrice Nadeau | Les fichiers de configuration sont : |
| 49 | * /etc/dovecot/dovecot.conf |
||
| 50 | |||
| 51 | 11 | Patrice Nadeau | h1. SquirrelMail |
| 52 | 5 | Patrice Nadeau | |
| 53 | *En cours de documentation* |
||
| 54 | |||
| 55 | 1 | Patrice Nadeau | http://squirrelmail.org/ |
| 56 | 2 | Patrice Nadeau | |
| 57 | Interface web pour l’accès au courrier électronique en IMAP |
||
| 58 | 1 | Patrice Nadeau | |
| 59 | 11 | Patrice Nadeau | h2. Installation |
| 60 | |||
| 61 | 1 | Patrice Nadeau | _Installation sans base de donnée_ |
| 62 | 3 | Patrice Nadeau | |
| 63 | 1 | Patrice Nadeau | Modules PHP obligatoire |
| 64 | <pre><code class="bash"> |
||
| 65 | # PHP modules |
||
| 66 | 2 | Patrice Nadeau | zypper install php5-gettext php5-mbstring # php XML extension |
| 67 | # Perl |
||
| 68 | zypper install perl |
||
| 69 | # Correcteur ortographique |
||
| 70 | zypper install ispell-french ispell-american |
||
| 71 | 1 | Patrice Nadeau | </code></pre> |
| 72 | |||
| 73 | 36 | Patrice Nadeau | La version beta incluse avec openSUSE (1.5.2) n'as pas de calendrier et brise la compatibilité de plusieurs plugins. |
| 74 | 37 | Patrice Nadeau | De toute façon, elle est considérée comme une version de développement. |
| 75 | 36 | Patrice Nadeau | |
| 76 | 37 | Patrice Nadeau | Téléchargement de la version 1.4.22 |
| 77 | 36 | Patrice Nadeau | <pre><code class="bash"> |
| 78 | cd /srv/www/htdocs |
||
| 79 | wget http://sourceforge.net/projects/squirrelmail/files/stable/1.4.22/squirrelmail-webmail-1.4.22.tar.gz |
||
| 80 | tar xf squirrelmail-webmail-1.4.22.tar.gz |
||
| 81 | mv squirrelmail-webmail-1.4.22.tar.gz squirrelmail-webmail |
||
| 82 | mkdir -p /var/local/squirrelmail/data |
||
| 83 | mkdir -p /var/local/squirrelmail/attach |
||
| 84 | chown wwwrun:root /var/local/squirrelmail/data/ |
||
| 85 | chown wwwrun:root /var/local/squirrelmail/attach/ |
||
| 86 | chmod 0720 /var/local/squirrelmail/attach/ |
||
| 87 | </code></pre> |
||
| 88 | |||
| 89 | 1 | Patrice Nadeau | La «racine» de SquirrelMail est */srv/www/htdocs/squirrelmail*. |
| 90 | |||
| 91 | 11 | Patrice Nadeau | h2. Configuration |
| 92 | |||
| 93 | 8 | Patrice Nadeau | <pre><code class="bash"> |
| 94 | 11 | Patrice Nadeau | config/conf.pl |
| 95 | 1 | Patrice Nadeau | </pre></code> |
| 96 | |||
| 97 | Au minimum : |
||
| 98 | * _2. Server Settings_ |
||
| 99 | ** 1. _Domain_ : |
||
| 100 | ** A. _Update ImapSettings_ : *dovecot* |
||
| 101 | 11 | Patrice Nadeau | |
| 102 | |||
| 103 | 29 | Patrice Nadeau | h2. Personnalisation |
| 104 | |||
| 105 | 31 | Patrice Nadeau | Copier une logo (PNG) dans *images/* |
| 106 | 29 | Patrice Nadeau | <pre><code class="bash"> |
| 107 | config/conf.pl |
||
| 108 | 38 | Patrice Nadeau | </code></pre> |
| 109 | 29 | Patrice Nadeau | * _1. Organization Preferences_ |
| 110 | ** _1. Organization Name_ |
||
| 111 | ** _2. Organization Logo_ |
||
| 112 | ** _4. Organization Title_ |
||
| 113 | 34 | Patrice Nadeau | * _4. General Options_ |
| 114 | ** _7. Hide SM attributions_ : *true* |
||
| 115 | 29 | Patrice Nadeau | |
| 116 | 35 | Patrice Nadeau | > Le plugin _Administator_ ne devrait pas être utilisé. Toutes les options sont déjà dans le script Perl. |
| 117 | > Il demande de changer les droits sur le fichier _config.php_ pour un autre usager que root (root ne peux se loguer avec Dovecot) |
||
| 118 | |||
| 119 | 1 | Patrice Nadeau | h2. Plugin supplémentaires |
| 120 | 39 | Patrice Nadeau | |
| 121 | Le plugin inclus _Calendar_ permet un agenda de base. |
||
| 122 | |||
| 123 | Il existe un plugin qui permet le partage des agendas. |
||
| 124 | > Il remplace le dossier _calendar_ fournis par le plugin intégrée. |
||
| 125 | 32 | Patrice Nadeau | |
| 126 | http://squirrelmail.org/plugin_view.php?id=105 |
||
| 127 | |||
| 128 | 30 | Patrice Nadeau | <pre><code class="bash"> |
| 129 | cd plugins |
||
| 130 | # Calendriers partagés |
||
| 131 | wget http://www.squirrelmail.org/plugins/compatibility-2.0.16-1.0.tar.gz |
||
| 132 | 1 | Patrice Nadeau | wget http://www.squirrelmail.org/plugins/shared_calendars-2.0.1-1.4.0.tar.gz |
| 133 | wget http://www.squirrelmail.org/plugins/calendar_file_backend-1.0-2.0.tar.gz |
||
| 134 | 32 | Patrice Nadeau | wget http://www.squirrelmail.org/plugins/calendar_sql_backend-1.1-2.0.tar.gz |
| 135 | 33 | Patrice Nadeau | </pre></code> |
| 136 | 11 | Patrice Nadeau | |
| 137 | h2. Dépannage |
||
| 138 | 9 | Patrice Nadeau | |
| 139 | 1 | Patrice Nadeau | Avec un navigateur, se rendre a http://_server_FQDN/squirrelmail/config/src/configtest.php |