J'ai profité de ce sujet pour tester ça sur ma machine. Squirrelmail est impeccable mais j'ai eu le même message d'erreur que toi concernant l'accès IMAP ... tout simplement parce que je n'avais pas installé Dovecot et que je n'avais pas lancé le daemon. Vérifie si il est bien lancé chez toi, c'est le seul conseil que je peux te donner 😉
Postfix + dovecot + squirrelmail
ERROR: Error connecting to IMAP server "localhost:143".Server error: (13) Permission denied
On pense à faire ce qu'il faut avec son firewall... comme par exemple ouvrir le port 143.Evidement on pense à lancer le serveur imap et smtp (mais bon... j'ose considérer que c'est sous-entendu)
C'est vous qui voyez mais c'est bizarre, sur ma machine c'était le port 141 dont il était question :-? . Le firewall est sûrement la bonne piste 🙂
Le port 141 ?
Mea Culpa : port 143 et error 111.
J'ai réellement besoin de sommeil à mon avis 😐
Bonne nuit et à dans 3 jours :hammer:
J'ai réellement besoin de sommeil à mon avis 😐
Bonne nuit et à dans 3 jours :hammer:
merci pour toute ces reponse. mais sela ne fonctionne toujours pas.
voila se que j'ai fait apres avoir installer.
[root@localhost ~]# iptables -F
[root@localhost ~]# service dovecot start
[root@localhost ~]# /etc/init.d/postfix restart
mais toujours la meme chose
voila se que j'ai fait apres avoir installer.
[root@localhost ~]# iptables -F
[root@localhost ~]# service dovecot start
[root@localhost ~]# /etc/init.d/postfix restart
mais toujours la meme chose
Checking IMAP service....
ERROR: Error connecting to IMAP server "localhost:143".Server error: (13) Permission de
lsof -i
Regardes si tu as quelque chose sur le port 143.
Regardes si tu as quelque chose sur le port 143.
je ne vois rien avec le port 143 mais il y a des ligne avec imap
voila le resultat de la comande:
voila le resultat de la comande:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
portmap 1664 rpc 3u IPv4 5576 UDP *:sunrpc
portmap 1664 rpc 4u IPv4 5577 TCP *:sunrpc (LISTEN)
rpc.statd 1683 rpcuser 3u IPv4 5638 UDP *:filenet-nch
rpc.statd 1683 rpcuser 6u IPv4 5608 UDP *:1011
rpc.statd 1683 rpcuser 7u IPv4 5641 TCP *:49993 (LISTEN)
hpiod 1908 root 0u IPv4 6057 TCP localhost.localdomain:50000 (LISTEN)
hpiod 1908 root 2u IPv4 6069 TCP localhost.localdomain:50000- >localhost.localdomain:59386 (ESTABLISHED)
python 1913 root 4u IPv4 6073 TCP localhost.localdomain:50002 (LISTEN)
python 1913 root 7u IPv4 6078 TCP localhost.localdomain:59386- >localhost.localdomain:50000 (ESTABLISHED)
cupsd 1925 root 0u IPv4 6182 TCP localhost.localdomain:ipp (L ISTEN)
cupsd 1925 root 2u IPv4 6183 UDP *:ipp
sshd 1954 root 3u IPv6 6208 TCP *:ssh (LISTEN)
mysqld 2051 mysql 10u IPv4 6319 TCP *:mysql (LISTEN)
proftpd 2140 nobody 0u IPv6 6651 TCP *:ftp (LISTEN)
avahi-dae 2291 avahi 13u IPv4 7054 UDP *:mdns
avahi-dae 2291 avahi 14u IPv4 7055 UDP *:filenet-rmi
avahi-dae 2291 avahi 15u IPv6 7056 UDP *:filenet-pa
dovecot 2782 root 5u IPv6 10197 TCP *:imap (LISTEN)
dovecot 2782 root 6u IPv6 10198 TCP *:imaps (LISTEN)
dovecot 2782 root 7u IPv6 10199 TCP *:pop3 (LISTEN)
dovecot 2782 root 8u IPv6 10200 TCP *:pop3s (LISTEN)
pop3-logi 2788 dovecot 0u IPv6 10199 TCP *:pop3 (LISTEN)
pop3-logi 2788 dovecot 1u IPv6 10200 TCP *:pop3s (LISTEN)
imap-logi 2789 dovecot 0u IPv6 10197 TCP *:imap (LISTEN)
imap-logi 2789 dovecot 1u IPv6 10198 TCP *:imaps (LISTEN)
imap-logi 2790 dovecot 0u IPv6 10197 TCP *:imap (LISTEN)
imap-logi 2790 dovecot 1u IPv6 10198 TCP *:imaps (LISTEN)
imap-logi 2791 dovecot 0u IPv6 10197 TCP *:imap (LISTEN)
imap-logi 2791 dovecot 1u IPv6 10198 TCP *:imaps (LISTEN)
master 2848 root 11u IPv4 10434 TCP localhost.localdomain:smtp ( LISTEN)
pop3-logi 2905 dovecot 0u IPv6 10199 TCP *:pop3 (LISTEN)
pop3-logi 2905 dovecot 1u IPv6 10200 TCP *:pop3s (LISTEN)
pop3-logi 2908 dovecot 0u IPv6 10199 TCP *:pop3 (LISTEN)
pop3-logi 2908 dovecot 1u IPv6 10200 TCP *:pop3s (LISTEN)
named 5100 named 20u IPv4 15832 UDP localhost.localdomain:domain
named 5100 named 21u IPv4 15833 TCP localhost.localdomain:domain (LISTEN)
named 5100 named 22u IPv4 15834 UDP 192.168.1.50:domain
named 5100 named 23u IPv4 15835 TCP 192.168.1.50:domain (LISTEN)
named 5100 named 24u IPv4 15836 UDP *:32788
named 5100 named 25u IPv6 15837 UDP *:32789
named 5100 named 26u IPv4 15838 TCP localhost.localdomain:rndc ( LISTEN)
httpd 5128 root 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5130 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5131 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5132 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5133 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5134 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5135 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5136 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5137 apache 3u IPv6 15875 TCP *:http (LISTEN)
[root@localhost ~]# lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
portmap 1664 rpc 3u IPv4 5576 UDP *:sunrpc
portmap 1664 rpc 4u IPv4 5577 TCP *:sunrpc (LISTEN)
rpc.statd 1683 rpcuser 3u IPv4 5638 UDP *:filenet-nch
rpc.statd 1683 rpcuser 6u IPv4 5608 UDP *:1011
rpc.statd 1683 rpcuser 7u IPv4 5641 TCP *:49993 (LISTEN)
hpiod 1908 root 0u IPv4 6057 TCP localhost.localdomain:50000 (LISTEN)
hpiod 1908 root 2u IPv4 6069 TCP localhost.localdomain:50000->localhost.localdomain:59386 (ESTABLISHED)
python 1913 root 4u IPv4 6073 TCP localhost.localdomain:50002 (LISTEN)
python 1913 root 7u IPv4 6078 TCP localhost.localdomain:59386->localhost.localdomain:50000 (ESTABLISHED)
cupsd 1925 root 0u IPv4 6182 TCP localhost.localdomain:ipp (LISTEN)
cupsd 1925 root 2u IPv4 6183 UDP *:ipp
sshd 1954 root 3u IPv6 6208 TCP *:ssh (LISTEN)
mysqld 2051 mysql 10u IPv4 6319 TCP *:mysql (LISTEN)
proftpd 2140 nobody 0u IPv6 6651 TCP *:ftp (LISTEN)
avahi-dae 2291 avahi 13u IPv4 7054 UDP *:mdns
avahi-dae 2291 avahi 14u IPv4 7055 UDP *:filenet-rmi
avahi-dae 2291 avahi 15u IPv6 7056 UDP *:filenet-pa
dovecot 2782 root 5u IPv6 10197 TCP *:imap (LISTEN)
dovecot 2782 root 6u IPv6 10198 TCP *:imaps (LISTEN)
dovecot 2782 root 7u IPv6 10199 TCP *:pop3 (LISTEN)
dovecot 2782 root 8u IPv6 10200 TCP *:pop3s (LISTEN)
pop3-logi 2788 dovecot 0u IPv6 10199 TCP *:pop3 (LISTEN)
pop3-logi 2788 dovecot 1u IPv6 10200 TCP *:pop3s (LISTEN)
imap-logi 2789 dovecot 0u IPv6 10197 TCP *:imap (LISTEN)
imap-logi 2789 dovecot 1u IPv6 10198 TCP *:imaps (LISTEN)
imap-logi 2790 dovecot 0u IPv6 10197 TCP *:imap (LISTEN)
imap-logi 2790 dovecot 1u IPv6 10198 TCP *:imaps (LISTEN)
imap-logi 2791 dovecot 0u IPv6 10197 TCP *:imap (LISTEN)
imap-logi 2791 dovecot 1u IPv6 10198 TCP *:imaps (LISTEN)
master 2848 root 11u IPv4 10434 TCP localhost.localdomain:smtp (LISTEN)
pop3-logi 2905 dovecot 0u IPv6 10199 TCP *:pop3 (LISTEN)
pop3-logi 2905 dovecot 1u IPv6 10200 TCP *:pop3s (LISTEN)
pop3-logi 2908 dovecot 0u IPv6 10199 TCP *:pop3 (LISTEN)
pop3-logi 2908 dovecot 1u IPv6 10200 TCP *:pop3s (LISTEN)
named 5100 named 20u IPv4 15832 UDP localhost.localdomain:domain
named 5100 named 21u IPv4 15833 TCP localhost.localdomain:domain (LISTEN)
named 5100 named 22u IPv4 15834 UDP 192.168.1.50:domain
named 5100 named 23u IPv4 15835 TCP 192.168.1.50:domain (LISTEN)
named 5100 named 24u IPv4 15836 UDP *:32788
named 5100 named 25u IPv6 15837 UDP *:32789
named 5100 named 26u IPv4 15838 TCP localhost.localdomain:rndc (LISTEN)
httpd 5128 root 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5130 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5131 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5132 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5133 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5134 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5135 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5136 apache 3u IPv6 15875 TCP *:http (LISTEN)
httpd 5137 apache 3u IPv6 15875 TCP *:http (LISTEN)
Dovecot est bien lancé. Tu obtiens ce message a quel moment ?
SELinux?
je vois pas se que tu veux dire.SELinux?
lorsque je vais sur l'adresse :http://www.mondomaine.fr/webmail/src/configtest.phpDovecot est bien lancé. Tu obtiens ce message a quel moment ?
ou si je veux me connecter via: http://www.ehennuy.be/webmail/src/login.php
je met: root et le password. et la j'ai le msg :
ERROR
Error connecting to IMAP server: localhost.
13 : Permission denied
apres avoir fait qql recherche sur SELinux
je suis tomber sur se site: http://squirrelmail.org/wiki/FedoraSELinux
j'ai alors taper cette commande a tous hazard 😃 : setenforce 0
et je n'ai plus le meme msg. le probleme c que je ne sais pas si je recule ou si j'avence dans mon probleme...
new msg:
je suis tomber sur se site: http://squirrelmail.org/wiki/FedoraSELinux
j'ai alors taper cette commande a tous hazard 😃 : setenforce 0
et je n'ai plus le meme msg. le probleme c que je ne sais pas si je recule ou si j'avence dans mon probleme...
new msg:
ERROR: Connection dropped by IMAP server.
et lors que config test je n'ai plus d'erreur:
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.8-4.fc5
Config file version: 1.4.0
Config file last modified: 13 June 2007 15:50:35
Checking PHP configuration...
PHP version 5.2.0 OK.
PHP extensions OK.
Checking paths...
Data dir OK.
Attachment dir OK.
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: http://www.ehennuy.be/webmail/src (location base autodetected)
Checking outgoing mail service....
SMTP server OK (220 localhost.localdomain ESMTP Postfix)
Checking IMAP service....
IMAP server ready (* OK Dovecot ready.)
Capabilities: * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS AUTH=PLAIN
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!
mais je c toujours pas me connecter...Testes avec un autre client IMAP.
Comment as-tu installé squirrelmail ?
Comment as-tu installé squirrelmail ?
- Modifié
Testes avec un autre client IMAP.
Comment as-tu installé squirrelmail ?
installation de squirrelmail: yum install squirrelmail
je viens de tester avec un autre user. et la je c me connecter mais il y a encore des problemes....
je tombe sur une page avec deux frame et donc deux msg d'erreur:
ha une autre question: comment on fait par dire que tel utilisateur doit avoir une boite mail?
Comment as-tu installé squirrelmail ?
installation de squirrelmail: yum install squirrelmail
je viens de tester avec un autre user. et la je c me connecter mais il y a encore des problemes....
je tombe sur une page avec deux frame et donc deux msg d'erreur:
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Internal error occurred. Refer to server log for more information. [2007-06-13 16:29:31]
etERROR: Could not complete request.
Query: CREATE "Sent"
Reason Given: Internal error occurred. Refer to server log for more information. [2007-06-13 16:29:31]
une idéé?ha une autre question: comment on fait par dire que tel utilisateur doit avoir une boite mail?
Vérifies avec Thunderbird que l'IMAP fonctionne bien.
Dès que tu fais un utilisateur il a une boite mailha une autre question: comment on fait par dire que tel utilisateur doit avoir une boite mail?
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Internal error occurred. Refer to server log for more information. [2007-06-13 16:29:31]
personne n'a d'idee pour cette erreur lors de ma connexion au webmail?
et les log de squirrelmail il se trouve ou?
Query: SELECT "INBOX"
Reason Given: Internal error occurred. Refer to server log for more information. [2007-06-13 16:29:31]
personne n'a d'idee pour cette erreur lors de ma connexion au webmail?
et les log de squirrelmail il se trouve ou?
Avant de tester le webmail, est-ce que l'IMAP fonctionne bien avec thunderbird par exemple ?
- Modifié
comment je peut connaitre les option a mettre?
genre:
adresse email du compte?
adresse imap et pop?
j'ai trouver ca dans le fichier de log:
une idee?
sous thunderbird il me mes la meme erreur.
edit:
je viens de cree un compte avec comme dossier personnel /home/machin et la ca fonctionne....
ou je peut changer dans la config pour que sela fonctionne avec mes utilisateurs qui on /ftp/leur_nom
edit2:
j'ai trouver... 😃
dans le fichier: /etc/dovecot.conf
ligne: default_mail_env = maildir:/ftp/%u/Courriel
il me reste plus qu'a trouver pour ne plus avoir utilisateur1@local.localhost si qql a une idéé 😃
genre:
adresse email du compte?
adresse imap et pop?
j'ai trouver ca dans le fichier de log:
Jun 15 16:40:15 localhost dovecot: imap-login: Login: user=<Utilisateur1>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Jun 15 16:40:15 localhost dovecot: IMAP(Utilisateur1): mkdir(/home/Utilisateur1/Courriel/.Sent) failed: Permission denied
Jun 15 16:40:15 localhost dovecot: IMAP(Utilisateur1): Disconnected
le truc c que le dossier personnel de l'utilisateur1 se trouve pas dans /home mais dans /ftp/utilisateur1une idee?
sous thunderbird il me mes la meme erreur.
edit:
je viens de cree un compte avec comme dossier personnel /home/machin et la ca fonctionne....
ou je peut changer dans la config pour que sela fonctionne avec mes utilisateurs qui on /ftp/leur_nom
edit2:
j'ai trouver... 😃
dans le fichier: /etc/dovecot.conf
ligne: default_mail_env = maildir:/ftp/%u/Courriel
il me reste plus qu'a trouver pour ne plus avoir utilisateur1@local.localhost si qql a une idéé 😃
Ce ne serait pas le paramètre mydestination ?
oui c'etait bien ca.
merci.
dans le fichier /etc/postfix/main.cf
myhostname = domaine.be
mydomain = domaine.be
myorigin = $mydomain
faut juste faire attantion que domaine.be dois etre enregistre sur un DNS.
je crois que je n'ai plus d'autres question.
merci.
dans le fichier /etc/postfix/main.cf
myhostname = domaine.be
mydomain = domaine.be
myorigin = $mydomain
faut juste faire attantion que domaine.be dois etre enregistre sur un DNS.
je crois que je n'ai plus d'autres question.