TUXANANTES
Formations
+ Initiation
+ Internet et Messagerie
+ Linux
+ Reseau
+ Windows XP
Articles techniques

Squirrelmail


Installation et mise en oeuvre de Squirrelmail



Les pré-requis :

Un serveur SMTP ( Postfix )

Un serveur pop3/imap ( uw-imapd, courier-imap, cyrus-imap )

Un serveur apache et php



Environnement logiciel mis en oeuvre pour cette présentation :

Système : Linux debian 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux

Postfix : 2.3.8-2+b1

Cyrus : 2.2.13-10

Squirrelmail : 1.4.9a-2



Installation :

debian:~# apt-get install squirrelmail

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances... Fait

Paquets suggérés :

squirrelmail-decode imapproxy php4-pear php-pear php4-ldap php5-ldap

Paquets recommandés :

squirrelmail-locales

Les NOUVEAUX paquets suivants seront installés :

squirrelmail

0 mis à jour, 1 nouvellement installés, 0 à enlever et 5 non mis à jour.

Il est nécessaire de prendre 0o/593ko dans les archives.

Après dépaquetage, 3633ko d'espace disque supplémentaires seront utilisés.

Sélection du paquet squirrelmail précédemment désélectionné.

(Lecture de la base de données... 25667 fichiers et répertoires déjà installés.)

Dépaquetage de squirrelmail (à partir de .../squirrelmail_2%3a1.4.9a-2_all.deb) ...

Paramétrage de squirrelmail (1.4.9a-2) ...

Installing default squirrelmail config.

Run /usr/sbin/squirrelmail-configure as root to configure/upgrade config.



debian:~#



On verifie et on enregistre la configuration proposée pas défaut :

debian:~# usr/sbin/squirrelmail-configure













Squirrelmail_html_m1f8fb48f.png


Squirrelmail_html_682c9412.png


Data saved in config.php



Exiting conf.pl.

You might want to test your configuration by browsing to

http://your-squirrelmail-location/src/configtest.php

Happy SquirrelMailing!



debian:~#

Prise en charge de Squirrelmail par Apache :

debian:~# ls -l /etc/squirrelmail/

total 72

-rw-r--r-- 1 root root 1230 2007-05-10 11:59 apache.conf

-rw-r--r-- 1 root root 30482 2007-05-10 11:59 config_default.php

-rw-r--r-- 1 root root 473 2007-05-10 11:59 config_local.php

-rw-r--r-- 1 root root 8512 2008-05-30 18:06 config.php

lrwxrwxrwx 1 root root 32 2008-05-30 18:04 conf.pl -> /usr/sbin/squirrelmail-configure

-rw-r--r-- 1 root root 48 2007-05-10 11:59 default_pref

-rw-r--r-- 1 root root 6589 2007-05-10 11:59 filters_setup.php

-rw-r--r-- 1 root root 492 2007-05-10 11:59 index.php

-rw-r--r-- 1 root root 1901 2007-05-10 11:59 sqspell_config.php

debian:~#



Le fichier /etc/squirrelmail/apache.conf contient entre autre l'alias :

Alias /squirrelmail /usr/share/squirrelmail

Dans ce fichier, modifier éventuellement la directive allow :

order deny,allow

deny from all

allow from 127.0.0.1 -------------> adresse IP du client Web à partir duquel sera lancé configtest







debian:~# vi /etc/apache2/apache2.conf

A la fin du fichier on ajoute la ligne :

Include /etc/squirrelmail/apache.conf



Relancer le service Apache :

debian:~# /etc/init.d/apache2 restart

Forcing reload of web server (apache2)... waiting .

debian:~#



A partir d'un client Web autorisé :

On vérifie la configuration Squirrelmail et on corrige les erreurs qui seraient notifiées dans ce rapport :

Squirrelmail_html_mb1e2f78.png


SquirrelMail configtest

This script will try to check some aspects of your SquirrelMail configuration and point you to errors whereever it can find them. You need to go run conf.pl in the config/ directory first before you run this script.

SquirrelMail version:

1.4.9a

Config file version:

1.4.0

Config file last modified:

29 May 2008 13:18:15

Checking PHP configuration...
PHP version 4.4.4-8+etch6 OK.
PHP extensions OK.
Checking paths...
Data dir OK.
Attachment dir OK.
Plugins are not enabled in config.
Themes OK.
Default language OK.
Base URL detected as: http://192.168.0.3/squirrelmail/src (location base autodetected)
Checking outgoing mail service....
SMTP server OK (220 debian.exemple.com ESMTP Postfix (Debian/GNU))
Checking IMAP service....
IMAP server ready (* OK debian Cyrus IMAP4 v2.2.13-Debian-2.2.13-10 server ready)
Capabilities: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=NTLM SASL-IR
Checking internationalization (i18n) settings...

gettext - Gettext functions are available. You must have appropriate system locales compiled.
mbstring - Mbstring functions are available.
recode - Recode functions are unavailable.
iconv - Iconv functions are available.
timezone - Webmail users can change their time zone settings.
Checking database functions...
not using database functionality.

Congratulations, your SquirrelMail setup looks fine to me!

Login now



Lancement de l'interface Squirrelmail :

A partir de l'écran précédent , on clique sur Login now :

ou on saisie directement l'adresse de l'alias Squirrelmail :

Squirrelmail_html_m774f9b1d.png


Squirrelmail_html_m2a778737.png
Squirrelmail_html_5e0569d5.png


2 Remarques :

    1) un message d'erreur :

ERROR: Could not complete request.
Query: CREATE "INBOX.Sent"
Reason Given: Permission denied


Ce message d'erreur est lié à l'utiliation de Cyrus en tant que serveur IMAP



    2) L'interface n'est pas en français



Correction du message d'erreur :

debian:~# /usr/sbin/squirrelmail-configure

3. Folder Defaults

Command >> 3

1. Default Folder Prefix :

Command >> 1

Some IMAP servers (UW, for example) store mail and folders in

your user space in a separate subdirectory. This is where you

specify what that directory is.



EXAMPLE: mail/

NOTE: If you use Cyrus, or some server that would not use this

option, you must set this to 'none'.



[.]: none

Meme modification pour :

3. Trash Folder : none

4. Sent Folder : none

5. Drafts Folder : none



On sauvegarde les modifications .

Plus de messages d'erreurs :



Squirrelmail_html_m5627d956.png


On « francise » l'interface de Squirrelmail :

debian:~# apt-get install squirrelmail-locales

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances... Fait

Les NOUVEAUX paquets suivants seront installés :

squirrelmail-locales

0 mis à jour, 1 nouvellement installés, 0 à enlever et 5 non mis à jour.

Il est nécessaire de prendre 0o/2262ko dans les archives.

Après dépaquetage, 7873ko d'espace disque supplémentaires seront utilisés.

Sélection du paquet squirrelmail-locales précédemment désélectionné.

(Lecture de la base de données... 26116 fichiers et répertoires déjà installés.)

Dépaquetage de squirrelmail-locales (à partir de .../squirrelmail-locales_1.4.9-20070106-1_all.deb) ...

Paramétrage de squirrelmail-locales (1.4.9-20070106-1) ...

debian:~#

On relance al configuration de Squirrelmail :

debian:~# /usr/sbin/squirrelmail-configure

10. Languages

Command >> 10

1. Default Language : en_US



Command >> 1

SquirrelMail attempts to set the language in many ways. If it

can not figure it out in another way, it will default to this

language. Please use the code for the desired language.



[en_US]: fr_FR

On enregistre la modification .



On verifie que la commande « locale » :

renvoie bien :

debian:~# locale

LANG=fr_FR

LC_CTYPE="fr_FR"

LC_NUMERIC="fr_FR"

LC_TIME="fr_FR"

LC_COLLATE="fr_FR"

LC_MONETARY="fr_FR"

LC_MESSAGES="fr_FR"

LC_PAPER="fr_FR"

LC_NAME="fr_FR"

LC_ADDRESS="fr_FR"

LC_TELEPHONE="fr_FR"

LC_MEASUREMENT="fr_FR"

LC_IDENTIFICATION="fr_FR"

LC_ALL=

debian:~#



Si ce n'est pas le cas

debian:~# dpkg-reconfigure locales

Squirrelmail_html_52ff65a9.png


Squirrelmail_html_4d0986f.png


Generating locales (this might take a while)...

fr_FR.ISO-8859-1... done

Generation complete.

debian:~#



L'interface est maintenant en français :

Squirrelmail_html_m6c71349a.png


Envoi d'un mail :

Squirrelmail_html_bf11a6d.png


Squirrelmail_html_7d23667a.png


Squirrelmail_html_736f31a3.png



Date de création : 29/05/2008 @ 12:39
Dernière modification : 30/05/2008 @ 17:31
Catégorie :
Page lue 10343 fois


Prévisualiser la page Prévisualiser la page     Imprimer la page Imprimer la page

Réactions à cet article


Réaction n°5 

par CoachFactoryOutlet le 06/12/2012 @ 08:56

The room went kind of quiet,

Coach Factory Stores

” Pat told me. “There

Louis Vuitton Belts

was like this skipped heartbeat. And then the waiting

Coach Factory Outlet Online

started all

Coach Outlet Online

over again.” Some people may be looking forward to leaving

Coach Outlet

Thanksgiving dinner before

Coach Outlet Store

the pie is served to join the Black Friday rush, which will begin during

Coach Outlet

dinnertime Thursday, earlier than ever, at stores like Sears, Walmart and Lord &

Coach Factory Online

Taylor.Enlarge This Imageoupon sites and apps like RetailMeNot can also help

Coach Outlet

find a discount.But for those who prefer to stay for the pie course, avoid

Coach Outlet Store Online

the lines and freezing temperatures and shop from the comfort of their homes,

Coach Factory Online

there are just as many deals to be found online this year, especially for

Hermes Belts

smart shoppers. Last year, online shoppers spent $­816 million on Black

Coach Factory Online

Friday, an increase of 26 percent from the year before, and an

Coach Outlet Online

additional $­2.3 billion over Thanksgiving weekend and Cyber Monday,

Coach Factory Online

according to comScore. It expects online spending to rise this year. Online, there is no commute, no parking and no

Coach Online Outlet

crowds — and shopping can be done in bed or at the Thanksgiving

Coach Outlet Online

dinner table. Still, you cannot try clothes on, you have to wait for your

Coach Factory Outlet

purchase to arrive and there is always the nagging feeling that

Coach Outlet Store Online

a better price is just one more click away.To find your way

Coach Factory Outlet

around those problems, here are some tips from online shopping pros,

Gucci Belt

retailers and shopping bloggers.BARGAINS START EARLY “Cyber Monday is passé,”

Coach Outlet Online

said Fiona Dias, chief strategy officer for ShopRunner.com, a network of e-commerce sites.


Réaction n°4 

par guanyuyu le 07/07/2012 @ 02:52

The Christian Louboutin UK with surface area texture carries a gentle really feel on-­e you touch. Designer Christian Louboutin Outlet UK is famous and admirable due to Louboutin UK stylish designs, stylish look and impressive quality. Christian Louboutin Sale UK offer all the Louboutin have been worked by a craftsman and finished by hand.


Réaction n°3 

par guanyuyu le 07/07/2012 @ 02:51

This kind of Sac Longchamp really worth of our love. Simple style but also have brilliance. Sac Hobo Longchamp with simple style reveal fashion, see it at first sight, you will love this Longchamp. If you are willing to carry Sac à Main Longchamp, I believe that you will draw people's eyes without doubt, Longchamp Pas Cher will be your best choice!


Réaction n°2 

par uk le 31/10/2011 @ 03:59

Moncler UK Moncler Sale Moncler Outlet Moncler Jackets cheap moncler jackets Beats By Dre Canada Beats By Dr.Dre Monster Beats By Dre Dr.Dre Headphones New Style Beats By Dr.Dre Beats By Dr.Dre Pro Tour iBeats Heartbeats Diddybeats Powerbeats beats by dre Cuffie Monster Beats Dr Dre Beats Beats By Dr Dre Cuffie Cuffie Dr Dre Nuovo Stile Beats Cuffie Dr Dre Justbeats Cuffie Dr Dre Justbeats Dr Dre Beats Studio Cuffie Dr Dre Studio Dr Dre Beats Pro Cuffie Dr Dre Pro Dr Dre Beats Solo Cuffie beats by dre beats by dre australia beats by dre outlet discount beats by dre Discount Beats By Dr Dre Beats By Dre UK Dr Dre Headphones UK Beats By Dre Online Store New Arrival Beats By Dr.Dre UK Discount Beats By Dr Dre Studio Headphones UK Discount Beats By Dr.Dre Pro Discount Dr Dre Beats Solo Headphones dre solo HD Headphones dre beats Justbeats Headphones Beats By Dr.Dre In-Ear headphones Discount Beats by Dre


Réaction n°1 

par Casqu le 04/08/2011 @ 05:51

Casque beats by dr dre Casque beats by dre écouteurs beats by dre Casque beats Casque dr dre beats Casque beats studio Casque écouteurs beats solo Casque écouteurs beats pro Casque Beats By dre Nouveau Style Casque dr dre Beats Casque Beats By dre En France monster Beats édition limitée Casque beats by dre studio Noir/Jaune casque beats by dre studio Noir/Jaune casque beats studio Noir/Jaune Beats Studio Noir/Jaune casque Beats by Dre Studio Lamborghini casque Beats Studio Lamborghini Beats Studio Lamborghini Dr.Dre Studio casque Lamborghini édition Beats by Dre Studio James 23 Beats studio James 23 édition casque Beats by Dre Studio James 23 Dre Studio LeBron James casque beats Studio James édition casque beats studio Diamant Rouge casque beats by dre studio Diamant casque beats studio édition limitée dr dre beats studio Diamant Rouge beats by dre pro casque dr dre beats pro casque beats by dre pro beats pro casque monster beats pro Beats by Dre Pro Detox
DébutPrécédent10 pages precédentes [ 11 12 13 14 15 16 17 18 19 20 ] SuivantFin

Calendrier

Recherche




Spécial !
www.portail44.org

L'ouvre-Boites 44.jpg
^ Haut ^


Promouvoir et soutenir le logiciel libre


GuppY - http://www.freeguppy.org/    Site créé avec GuppY v4.5.16 © 2004-2005 - Licence Libre CeCILL   GuppY - http://www.freeguppy.org/

Document généré en 0.63 seconde