Inbound messages task doesn't find tobeconfirmed mailbox

Inbound messages task doesn't find tobeconfirmed mailbox

by Aru Baito -
Number of replies: 1

I've set up my Moodle (3.0.2+ (Build: 20160121) Version 2015111602.03 Stable) to pick up incoming mails to the forum, and the first time I tested it, it worked. But now, the pickup task doesn't run successfully anymore. When I run it on the command line, I get the following output:

Execute scheduled task: Eingehende E-Mail-Abholung (tool_messageinbound\task\pickup_task)
Connecting to ***:993 as ***@***...
Connection established.
Unable to find the 'tobeconfirmed' mailbox - creating it.
Unable to connect to IMAP server. Failed with 'The object could not be created because it already exists.'
... used 0 dbqueries
... used 0.46028208732605 seconds
Scheduled task complete: Eingehende E-Mail-Abholung (tool_messageinbound\task\pickup_task)

When I login to that mail account manually, the 'tobeconfirmed' mailbox does indeed exist. When I delete it manually, the next time the task runs, it creates it again and picks up incoming mails successfully, then the next time after that I get the above error again. I can't manually delete that mailbox every time the task runs. Anyone got an idea what's the problem here?

Thanks in advance for any help!

Average of ratings: -