Comment faire pour démarrer dovecot?

Je suis en train de construire un serveur web pour héberger plusieurs sites web. J'ai tout fonctionne sauf le serveur de messagerie. Je suis en utilisant linode pour héberger mon vps et j'ai suivi leurs tutoriels. Pour info, je suis sous Ubuntu 11.10.

Voici le lien que j'ai été suivant, http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid. J'en suis arrivé à la partie où il me dit de redémarrer dovecot, j'ai donc essayé de "service dovecot restart". Mais puis-je obtenir cette "restart: Inconnu exemple:". Je suis connecté en tant que root, donc je ne suis pas en utilisant sudo.

Depuis cela ne fonctionne pas j'ai essayé le "/etc/init.d/dovecot restart" et j'obtiens un "pigeonnier de début/d'exécution, processus de 4760". J'ai donc essayer de "/etc/init.d/dovecot statut de" et je suis "dovecot stop/waiting".

J'ai donc essayé de "service dovecot démarrer" et j'obtiens un "pigeonnier de début/d'exécution, processus 4781". J'ai donc essayé d'obtenir le statut, donc je fatigué "service dovecot état" et a obtenu "dovecot stop/waiting"

Puis-je fatigué "/etc/init.d/dovecot démarrer" et j'obtiens un "pigeonnier de début/d'exécution, processus de 4794". J'ai donc fatigué pour obtenir le statut, donc je fatigué "/etc/init.d/dovecot état" et a obtenu "dovecot stop/waiting"

Juste pour le plaisir et des rires, je fatigué de tuer le processus, j'ai utilisé le PID que j'ai eu quand j'ai fait "service dovecot start", c'était la commande "kill -9 4444" et je reçois ce "bash: tuer: (4805) - Pas de tels processus"

Je fais quelque chose de mal?

--EDIT 1--

Les éléments suivants sont les journaux qui ont été trouvés dans /var/log/syslog qui a impliqué dovecot

dovecot: master: Dovecot v2.0.13 starting up (core dumps disabled)
dovecot: ssl-params: Generating SSL parameters
dovecot: ssl-params: SSL parameters regeneration completed
dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
dovecot: config: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
dovecot: anvil: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
kernel: init: dovecot main process (10276) terminated with status 89
kernel: init: dovecot main process (10289) terminated with status 89
kernel: init: dovecot main process (10452) terminated with status 89
kernel: init: dovecot main process (2275) terminated with status 89
kernel: init: dovecot main process (3028) terminated with status 89
kernel: init: dovecot main process (3216) terminated with status 89
kernel: init: dovecot main process (3230) terminated with status 89
kernel: init: dovecot main process (3254) terminated with status 89
kernel: init: dovecot main process (3813) terminated with status 89
kernel: init: dovecot main process (3845) terminated with status 89
kernel: init: dovecot main process (4664) terminated with status 89
kernel: init: dovecot main process (4760) terminated with status 89
kernel: init: dovecot main process (4781) terminated with status 89
kernel: init: dovecot main process (4794) terminated with status 89
kernel: init: dovecot main process (4805) terminated with status 89

--Edit 2 (/etc/dovecot/dovecot.conf)--

Voici le pigeonnier.fichier conf

protocols = imap imaps pop3 pop3s
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%d/%n/Maildir

ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem

namespace private {
    separator = .
    prefix = INBOX.
    inbox = yes
}

protocol lda {
    log_path = /home/vmail/dovecot-deliver.log
    auth_socket_path = /var/run/dovecot/auth-master
    postmaster_address = postmaster@[mydomainname.com]
    mail_plugins = sieve
    global_script_path = /home/vmail/globalsieverc
}

protocol pop3 {
    pop3_uidl_format = %08Xu%08Xv
}

auth default {
    user = root

    passdb sql {
        args = /etc/dovecot/dovecot-sql.conf
    }

    userdb static {
        args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
    }

    socket listen {
        master {
            path = /var/run/dovecot/auth-master
            mode = 0600
            user = vmail
        }

        client {
            path = /var/spool/postfix/private/auth
            mode = 0660
            user = postfix
            group = postfix
        }
    }
}

-- Edit 3 (/var/log/mail.journal) --

La suivante est ce qui est dans /var/log/mail.journal

dovecot: master: Dovecot v2.0.13 starting up (core dumps disabled)
dovecot: ssl-params: Generating SSL parameters
postfix/master[9917]: daemon started -- version 2.8.5, configuration /etc/postfix
dovecot: ssl-params: SSL parameters regeneration completed
postfix/master[9917]: terminating on signal 15
postfix/master[10196]: daemon started -- version 2.8.5, configuration /etc/postfix
dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
dovecot: config: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
dovecot: anvil: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
postfix/master[2435]: daemon started -- version 2.8.5, configuration /etc/postfix
postfix/master[2435]: terminating on signal 15
postfix/master[2965]: daemon started -- version 2.8.5, configuration /etc/postfix
J'ai suivi le même tuto, et j'ai le même problème, avez vous trouvé une solution ?
Mais je me demande aussi... dans le tuto ils parlent de la dovecot-sql.conf mais il n'est qu'un dovecot-sql.conf.ext (est-ce un exemple de fichier ou le nouveau lieu de mettre les lignes de configuration?)
Et qu'est-ce que avez à faire avec la programmation?

OriginalL'auteur samwell | 2011-11-29