Bon je suis passé à travers moi aussi, c'est tout en bas
https://wiki2.dovecot.org/Upgrading/2.3 mais ce n'est pas bloquant sous F30 semble-t-il malgré les erreurs.
Du coup j'ai créé un fichier
/etc/dovecot/conf.d/25-stats.conf contenant la partie de la documentation
Dovecot
service stats {
client_limit = 10000 # make this large enough so all Dovecot processes (especially imap, pop3, lmtp) can connect to it
unix_listener stats-writer {
user = vmail
#mode = 0666 # Use only if nothing else works. It's a bit insecure, since it allows any user in the system to mess up with the statistics.
}
}
Puis redémarrage du service
dovecot.
J'obtiens désormais
# ll /var/run/dovecot/
total 8
srw-------. 1 root root 0 27 nov. 08:47 anvil
srw-------. 1 root root 0 27 nov. 08:47 anvil-auth-penalty
srw-------. 1 dovecot root 0 27 nov. 08:47 auth-client
srw-------. 1 dovecot root 0 27 nov. 08:47 auth-login
srw-------. 1 root root 0 27 nov. 08:47 auth-master
-rw-------. 1 root root 32 15 nov. 02:02 auth-token-secret.dat
srw-------. 1 vmail root 0 27 nov. 08:47 auth-userdb
srw-------. 1 dovecot root 0 27 nov. 08:47 auth-worker
srw-------. 1 root root 0 27 nov. 08:47 config
srw-rw----. 1 root dovecot 0 27 nov. 08:47 dict
srw-rw----. 1 root dovecot 0 27 nov. 08:47 dict-async
srw-------. 1 root root 0 27 nov. 08:47 director-admin
srw-------. 1 root root 0 27 nov. 08:47 director-userdb
srw-rw-rw-. 1 root root 0 27 nov. 08:47 dns-client
srw-------. 1 root root 0 27 nov. 08:47 doveadm-server
lrwxrwxrwx. 1 root root 25 27 nov. 08:47 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x. 2 root root 40 15 nov. 01:58 empty
srw-rw----. 1 root dovecot 0 27 nov. 08:47 imap-hibernate
srw-------. 1 root root 0 27 nov. 08:47 imap-master
srw-rw-rw-. 1 root root 0 27 nov. 08:47 imap-urlauth
srw-------. 1 dovecot root 0 27 nov. 08:47 imap-urlauth-worker
srw-rw-rw-. 1 root root 0 27 nov. 08:47 indexer
srw-------. 1 dovecot root 0 27 nov. 08:47 indexer-worker
srw-------. 1 dovecot root 0 27 nov. 08:47 ipc
srw-rw-rw-. 1 root root 0 27 nov. 08:47 lmtp
srw-------. 1 root root 0 27 nov. 08:47 log-errors
drwxr-x---. 2 root dovenull 140 27 nov. 08:47 login
srw-------. 1 root root 0 27 nov. 08:47 master
-rw-------. 1 root root 6 27 nov. 08:47 master.pid
srw-------. 1 root root 0 27 nov. 08:47 old-stats
prw-------. 1 root root 0 27 nov. 08:47 old-stats-mail
prw-------. 1 root root 0 27 nov. 08:47 old-stats-user
srw-------. 1 root root 0 27 nov. 08:47 replication-notify
prw-------. 1 root root 0 27 nov. 08:47 replication-notify-fifo
srw-------. 1 dovecot root 0 27 nov. 08:47 replicator
srw-------. 1 root root 0 27 nov. 08:47 stats-reader
srw-rw----. 1 vmail dovecot 0 27 nov. 08:47 stats-writer
drwxr-x---. 2 root dovenull 80 27 nov. 08:47 token-login
Le fichier
stats-writer a bien évolué dans ses appartenances
srw-rw----. 1 vmail dovecot 0 27 nov. 08:47 stats-writer
au lieu d'avant
srw-rw----. 1 root dovecot 0 15 nov. 01:58 stats-writer
Le retour de
dovecot -a me donne bien désormais
service stats {
chroot = empty
client_limit = 10000
drop_priv_before_exec = no
executable = stats
extra_groups =
group =
idle_kill = 4294967295 secs
privileged_group =
process_limit = 1
process_min_avail = 0
protocol =
service_count = 0
type =
unix_listener stats-reader {
group =
mode = 0600
user =
}
unix_listener stats-writer {
group = $default_internal_group
mode = 0660
user = vmail
}
user = $default_internal_user
vsz_limit = 18446744073709551615 B
}
Par ailleurs concernant les fichiers de configuration j'ai toujours les droits et propriétaires suivants
# ll /etc/dovecot/conf.d/
total 152
-rw-r--r--. 1 root root 5295 6 juil. 2016 10-auth.conf
-rw-r--r--. 1 root root 1781 26 août 12:36 10-director.conf
-rw-r--r--. 1 root root 4073 26 août 12:36 10-logging.conf
-rw-r--r--. 1 root root 17757 29 août 11:06 10-mail.conf
-rw-r--r--. 1 root root 3782 25 nov. 2018 10-master.conf
-rw-r--r--. 1 root root 3422 10 juin 06:56 10-ssl.conf
-rw-r--r--. 1 root root 1721 27 nov. 2018 15-lda.conf
-rw-r--r--. 1 root root 2808 26 août 12:36 15-mailboxes.conf
-rw-r--r--. 1 root root 4508 26 août 12:36 20-imap.conf
-rw-r--r--. 1 root root 936 26 août 12:36 20-lmtp.conf
-rw-r--r--. 1 root root 2952 3 avril 2018 20-managesieve.conf
-rw-r--r--. 1 root root 4066 26 août 12:36 20-pop3.conf
-rw-r--r--. 1 root root 4299 26 août 12:36 20-submission.conf
-rw-r--r--. 1 root root 1577 27 nov. 08:47 25-stats.conf
-rw-r--r--. 1 root root 676 26 août 12:36 90-acl.conf
-rw-r--r--. 1 root root 292 26 août 12:36 90-plugin.conf
-rw-r--r--. 1 root root 2596 26 août 12:36 90-quota.conf
-rw-r--r--. 1 root root 10258 26 août 12:38 90-sieve.conf
-rw-r--r--. 1 root root 1829 26 août 12:38 90-sieve-extprograms.conf
-rw-r--r--. 1 root root 499 26 août 12:36 auth-checkpassword.conf.ext
-rw-r--r--. 1 root root 489 26 août 12:36 auth-deny.conf.ext
-rw-r--r--. 1 root root 343 26 août 12:36 auth-dict.conf.ext
-rw-r--r--. 1 root root 924 26 août 12:36 auth-ldap.conf.ext
-rw-r--r--. 1 root root 561 26 août 12:36 auth-master.conf.ext
-rw-r--r--. 1 root root 515 26 août 12:36 auth-passwdfile.conf.ext
-rw-r--r--. 1 root root 788 26 août 12:36 auth-sql.conf.ext
-rw-r--r--. 1 root root 611 26 août 12:36 auth-static.conf.ext
-rw-r--r--. 1 root root 2182 26 août 12:36 auth-system.conf.ext
-rw-r--r--. 1 root root 330 26 août 12:36 auth-vpopmail.conf.ext
Je vais continuer à suivre les logs, mais suite à un essai je n'ai plus l'erreur suivante
postfix/pipe[23927]: A65783832: to=<admin@xxx.xx>, relay=dovecot, delay=0.23, delays=0.04/0.01/0/0.18, dsn=2.0.0, status=sent (delivered via dovecot service (lda(admin@xxx.xxr): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied))
La ligne est désormais
postfix/pipe[16182]: EC88B11DFA: to=<admin@xxx.xx>, relay=dovecot, delay=0.19, delays=0.03/0.01/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot service)