You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-08-07 19:10:00

dmfc
Member
Registered: 2023-08-04
Posts: 5

GLPI 10 Invalid configuration for refused folder in receiver

Hi everyone, I just installed GLPI version 10.0.9 to test out, and it seems there is an issue when it comes to importing emails. I created new folders for rejected and accepted emails, but I keep getting the follow error.

[2023-08-07 17:01:50] glpiphplog.NOTICE:   *** PHP User Notice (1024): Invalid configuration for refused folder in receiver Default inbox in /var/www/vhosts/glpi/src/MailCollector.php at line 1852
Backtrace :
src/MailCollector.php:1852                         trigger_error()
src/MailCollector.php:960                          MailCollector->deleteMails()
front/mailcollector.form.php:103                   MailCollector->collect()
public/index.php:82                                require()

I selected the folders from the list provided then I click the button next to the fields in the receivers configuration. It also doesn't help that I have no idea why emails are being rejected in the first place. I would expect if I haven't sent in an email from that address before that a customer account would be created and a ticket from said email, but that might be another support topic all together.

Offline

#2 2023-08-15 00:35:12

dmfc
Member
Registered: 2023-08-04
Posts: 5

Re: GLPI 10 Invalid configuration for refused folder in receiver

I thought I solved this by fixed another issue where email wasn't being imported to tickets. The interesting this is, emails are still being deleted instead of either marked as read, or moving to the Accepted or Rejected folders. I'm enabled debug mode and I can no longer get this error to show up, and yet it is still a problem.

Offline

#3 2023-08-15 14:48:50

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: GLPI 10 Invalid configuration for refused folder in receiver

Hello,

Emails are only deleted if:
1. The connection is POP instead of IMAP.
2. The connection is IMAP, but the accepted/rejected folder is not configured.
3. The connection is IMAP, but an error occured during the move operation. In this case, you would see an error like you did previously.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#4 2023-08-15 18:29:55

dmfc
Member
Registered: 2023-08-04
Posts: 5

Re: GLPI 10 Invalid configuration for refused folder in receiver

Thanks for the reply. I'm setup as IMAP and both the accepted/rejected folders are configured. Since I'm not getting any errors I'm not sure what the problem it. My mail server (postfix and dovecot are what I'm using during this testing phase) are not reporting any issues. The logs do show that the emails are being marked for deletion. Perhaps there is another way to configure the accepted/rejected folders that I'm not aware of?

Offline

Board footer

Powered by FluxBB