Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 18/11/2014, à 00:53

BioSs

[RESOLU] Problème de configuration DoveCot

Bonjour,

Après plusieurs jours de recherche infructueuse, je me suis décidé à poster sur ce forum afin que quelqu'un puisse m'aider à localiser mon erreur.

En effet, j'ai suivi un Tutorial afin d'installer postfix+postfixadmin+dovecot, avant cela j'avais déjà openDKIM. Voici le tuto : http://doc.ubuntu-fr.org/utilisateurs/m … stfixadmin

Malheureusement, je n'arrive pas à trouver l'erreur qui empêche mon dovecot de se lancer correctement, en effet, d'après mes logs :

Nov 17 23:28:28 sd-39790 kernel: [ 2052.041530] init: dovecot respawning too fast, stopped
Nov 17 23:44:35 sd-39790 kernel: [ 3019.373275] init: dovecot main process (2736) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.373307] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.407745] init: dovecot main process (2739) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.407775] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.442165] init: dovecot main process (2742) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.442195] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.476520] init: dovecot main process (2745) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.476552] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.510764] init: dovecot main process (2748) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.510793] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.545203] init: dovecot main process (2751) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.545233] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.579400] init: dovecot main process (2754) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.579430] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.613689] init: dovecot main process (2757) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.613718] init: dovecot main process ended, respawning
Nov 17 23:44:35 sd-39790 kernel: [ 3019.648659] init: dovecot main process (2760) terminated with status 89
Nov 17 23:44:35 sd-39790 kernel: [ 3019.648689] init: dovecot main process ended, respawning
Nov 17 23:44:36 sd-39790 kernel: [ 3019.682759] init: dovecot main process (2763) terminated with status 89
Nov 17 23:44:36 sd-39790 kernel: [ 3019.682788] init: dovecot main process ended, respawning
Nov 17 23:44:36 sd-39790 kernel: [ 3019.717125] init: dovecot main process (2766) terminated with status 89
Nov 17 23:44:36 sd-39790 kernel: [ 3019.717154] init: dovecot respawning too fast, stopped

Voici ma conf DoveCot (dovecot -n)

 sudo dovecot -n
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.13.0-39-generic x86_64 Ubuntu 14.04.1 LTS ext4
auth_mechanisms = plain login
first_valid_uid = 150
info_log_path = /var/log/dovecot.info.log
last_valid_uid = 150
log_path = /var/log/dovecot.log
mail_gid = mail
mail_location = maildir:/home/vmail/%d/%n
mail_uid = vmail
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocols = " imap pop3"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-userdb {
    group = mail
    mode = 0600
    user = vmail
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}

Pour plus d'infos, voici la conf complète ici : http://www.bioss.fr/test
D'avance, merci.
Cordialement,
BioSs.

Dernière modification par BioSs (Le 19/11/2014, à 00:00)

Hors ligne

#2 Le 18/11/2014, à 23:42

src

Re : [RESOLU] Problème de configuration DoveCot

Salut
Effectivement cela semble être un problème avec la conf de dovecot.
J'ai vu à tout hasard ces deux points :

  prefix = 

Il n'y a rien, peut-être qu'il n'aime pas.
Et :

protocols = " imap pop3"

Essaie de retirer l'espace en trop...

Mais bon si tu parts sur du postfix avec un backend mysql et postfix admin, tu vas te créer une usine à gaz hmm C'est pas forcément évident à mettre en place. En as-tu vraiment besoin ? Si c'est pour usage perso tu peux très bien te passer de la base de données et utiliser ton compte utilisateur local, c'est mille fois plus simple...


Actuellement sur Manjaro Xfce (amd64)

Hors ligne

#3 Le 19/11/2014, à 00:00

BioSs

Re : [RESOLU] Problème de configuration DoveCot

Tout d'abord, merci de ta réponse.
J'ai trouvé mon problème grace à la commande dovecot -f qui permet d'afficher les erreurs de configurations.
Il s'agissant d'une mauvaise génération d'un certificat SSL.
smile

Hors ligne