Problème dovecot imap pleins de processus

, ,

J’ai eu un souci aujourd’hui, le serveur imap n’était plus accessible. Et un systemctl status me donnait un truc comme ça :

   │ ├─dovecot.service
   │ │ ├─8048 /usr/sbin/dovecot -F
   │ │ ├─8051 dovecot/anvil
   │ │ ├─8052 dovecot/log
   │ │ ├─8055 dovecot/config
   │ │ ├─8092 dovecot/imap-login
   │ │ ├─8093 dovecot/imap
   │ │ ├─8094 dovecot/imap-login
   │ │ ├─8096 dovecot/imap
   │ │ ├─8116 dovecot/imap-login
   │ │ ├─8117 dovecot/imap
   │ │ ├─8120 dovecot/imap-login
   │ │ ├─8121 dovecot/imap
   │ │ ├─8148 dovecot/imap-login
   │ │ ├─8151 dovecot/imap
   │ │ ├─8155 dovecot/imap-login
   │ │ ├─8156 dovecot/imap
   │ │ ├─8161 dovecot/imap-login
   │ │ ├─8162 dovecot/imap
   │ │ ├─8320 dovecot/imap-login
   │ │ ├─8321 dovecot/auth
   │ │ ├─8322 dovecot/ssl-params
   │ │ └─8323 dovecot/imap

Mais avec beaucoup plus de lignes d’imap. Est-ce quelqu’un a déjà vu ça ? J’ai simplement redémarrer dovecot, et ça a réglé le problème, mais ça risque probablement de se reproduire ?

Ça s’est reproduit, personne n’a d’idée ?

Ca donne l’impression que ton serveur se fait tester plein de fois sur le login non ? Vérifie que fail2ban est bien fonctionnel.

Tu peux éventuellement configurer un cron pour restart dovecot mais on est d’accord c’est de la bricole.

Après tests, à priori fail2ban fonctionne bien.
Par contre, j’ai trouvé ça dans /var/log/mail.err :

Mar 21 00:50:16 machine dovecot: lda(user@domaine.tld: Error: sieve: execution of script /var/mail/sievescript/user/.dovecot.sieve;name=main script failed with unsuccessful implicit keep (user logfile /var/mail/sievescript/user/.dovecot.sieve.log may reveal additional details)
Mar 21 14:48:12 machine dovecot: doveadm: Error: This is Dovecot's error log (1521640091)
Mar 21 14:48:12 machine dovecot: doveadm: Fatal: This is Dovecot's fatal log (1521640091)
Mar 21 14:48:19 machine dovecot: doveadm: Error: This is Dovecot's error log (1521640098)
Mar 21 14:48:19 machine dovecot: doveadm: Fatal: This is Dovecot's fatal log (1521640098)

Dans /var/mail/sievescript/user/.dovecot.sieve.log, j’ai quelque chose comme ça :

sieve: info: started log at Mar 06 17:20:57.
error: msgid=<opn2-7N-TaSmVA_pQU3_Pg@ismtpd0004p1lon1.sendgrid.net>: failed to store into mailbox 'bluebees': Mailbox doesn't exist: bluebees.
sieve: info: started log at Mar 06 17:23:07.
error: msgid=<339fmVF5S22_bJ9gyMK0kg@ismtpd0002p1lon1.sendgrid.net>: failed to store into mailbox 'bluebees': Mailbox doesn't exist: bluebees.
sieve: info: started log at Mar 06 17:23:07.
error: msgid=<_WBj0Z0AS-S3Bti3qIThoQ@ismtpd0006p1lon1.sendgrid.net>: failed to store into mailbox 'bluebees': Mailbox doesn't exist: bluebees.
sieve: info: started log at Mar 07 23:18:34.
sieve: info: started log at Mar 07 23:18:34.
error: msgid=<CAJf9Xj8RaPChytw5__jd4tO8YAp+bFgWMJZ67no1fqaHxtv8aA@mail.gmail.com>: failed to store into mailbox 'Courrier entrant': Mailbox doesn't exist: Courrier entrant.
error: msgid=<CAJf9Xj8RaPChytw5__jd4tO8YAp+bFgWMJZ67no1fqaHxtv8aA@mail.gmail.com>: failed to store into mailbox 'Courrier entrant': Mailbox doesn't exist: Courrier entrant.
sieve: info: started log at Mar 07 23:19:36.
error: msgid=<CAJf9Xj8RaPChytw5__jd4tO8YAp+bFgWMJZ67no1fqaHxtv8aA@mail.gmail.com>: failed to store into mailbox 'Courrier entrant': Mailbox doesn't exist: Courrier entrant.
sieve: info: started log at Mar 12 16:40:07.
error: msgid=<27ddf8c6ffb4108a0e4395f1db7855ad@le-crestois.fr>: failed to store into mailbox 'lecrestois': Mailbox doesn't exist: lecrestois.
sieve: info: started log at Mar 12 17:06:48.
error: msgid=<a6ad96855ae90fa556ec7cb2046fdd57@le-crestois.fr>: failed to store into mailbox 'lecrestois': Mailbox doesn't exist: lecrestois.
sieve: info: started log at Mar 12 17:09:08.
error: msgid=<1520870918.11864@paypal.com>: failed to store into mailbox 'paypal': Mailbox doesn't exist: paypal.
sieve: info: started log at Mar 16 01:40:03.
error: msgid=<3bc74fa20ddd561c7948c02c76cfe922@ipetitions.com>: failed to store into mailbox 'ipetitions': Mailbox doesn't exist: ipetitions.
sieve: info: started log at Mar 17 02:00:35.
error: msgid=<ca3bbc72b5ad143622be09f6af442494@www.ipetitions.com>: failed to store into mailbox 'ipetitions': Mailbox doesn't exist: ipetitions.
sieve: info: started log at Mar 19 10:39:38.
error: msgid=<d4dc84e8b38c3ff06b8005f8e98623ec@gresille.org>: failed to store into mailbox 'Courrier entrant': Mailbox doesn't exist: Courrier entrant.
sieve: info: started log at Mar 21 00:50:16.
error: msgid=<5ab19e3218d4e_1b2b02ed364f50409b7@shopify.com>: failed to store into mailbox 'simba': Mailbox doesn't exist: simba.

Je ne vois pas à quoi ça correspond.
Et je n’arrive plus à me connecter à Sieve depuis thunderbird, alors que les filtres fonctionnent.