From 35c85a76f19c90ce07fbbb59829b99e6ab86d850 Mon Sep 17 00:00:00 2001 From: abenmiloud Date: Tue, 8 Sep 2020 17:46:50 +0200 Subject: [PATCH] =?UTF-8?q?Ajouter=20car=20Probl=C3=A8me=20d=E2=80=99envoi?= =?UTF-8?q?=20de=20pi=C3=A8ce=20jointe=20apr=C3=A8s=20upgarde?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoMail/Roundcube.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/HowtoMail/Roundcube.md b/HowtoMail/Roundcube.md index f6688e9e..687bd046 100644 --- a/HowtoMail/Roundcube.md +++ b/HowtoMail/Roundcube.md @@ -87,3 +87,21 @@ Les messages d'erreurs seronts dans le log /var/log/syslog ## Import de contacts en CSV + +## FAQ + +### Après une upgrade + +#### Problème d’envoi de pièce jointe + +On a des erreurs de ce genre dans les logs de Roundcube `/var/log/roundcube/errors` lorsqu’on essaye d’envoyer une pièce jointe dans un e-mail. + +``` +[01-Jan-2020 00:00:00 +0200]: PHP Error: compte@domaine.com can't read /tmp/rcmAttmntQ2clsS (not in temp_dir) in /usr/share/roundcube/plugins/filesystem_attachments/filesystem_attachments.php on line 216 (POST /?_task=mail&_unlock=loading1599225495530&_lang=undefined&_framed=1&_action=send) +``` + +C’est probablement le `tempdir` qui a changé de propriétaire au moment de l’upgrade. + +``` +# chown www-roundcube:roundcube /var/lib/roundcube/temp +``` \ No newline at end of file