Hello together,
We have built a Nextcloud for our school newspaper. Everything works as desired, only the emails cause problems. Setting up an email inbox often doesn’t work at first go, but then it works as desired.
After some time (several days), however, older messages disappear from the mailbox, they are not deleted but are simply no longer displayed. This problem has occurred both on our old Gmail mailbox and on our new Strato mailbox.
The logging overview also spits out a bunch of error messages related to the mail app (I post them at the bottom of the post, unfortunately I don’t know how to create collapsible quotes). All other error messages I have attached as a screenshot. By the way, the error messages always appear when I open the mail app.
About the hardware:
The whole instance runs on a Raspberry PI 3b+ in a case with HDD and fan, sufficient power supply etc.
NextcloudPi v1.31.0 runs on it
The Nextcloud version itself is 19.0.4
The problem with the mail app has always been with me, even after countless updates of Nextcloud and NextcloudPi.
I hope my error description is enough for you, if you need or want more detailed information about the hardware, please let me know, I am an absolute beginner.
Thanks for your help!
If you have any questions or need more detailed information, please contact me.
[mail] Error: OCA\Mail\Exception\ServiceException: IMAP errorAuthentication failed. at <>
OCA\Mail\Exception\ServiceException: IMAP errorAuthentication failed.
/var/www/nextcloud/apps/mail/lib/BackgroundJob/SyncJob.php - line 91:
OCA\Mail\IMAP\MailboxSync->sync(OCA\Mail\Account {}, true)
/var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 80:
OCA\Mail\BackgroundJob\SyncJob->run({ accountId: 1})
/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php - line 61:
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
/var/www/nextcloud/cron.php - line 126:
OCP\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
Verursacht durchHorde_Imap_Client_Exception: Authentication failed.
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 4566:
Horde_Imap_Client_Socket->_responseCode(Horde_Imap_C ... }}, Horde_Imap_C ... }})
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 4314:
Horde_Imap_Client_Socket->_getLine(Horde_Imap_C ... }})
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 4242:
Horde_Imap_Client_Socket->_sendCmdChunk(Horde_Imap_C ... }}, [ Horde_Imap ... }])
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 849:
Horde_Imap_Client_Socket->_sendCmd(Horde_Imap_C ... }})
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 512:
Horde_Imap_Client_Socket->_tryLogin("*** sensiti ... *")
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 838:
Horde_Imap_Client_Socket->_login("*** sensiti ... *")
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 1389:
Horde_Imap_Client_Base->login("*** sensiti ... *")
/var/www/nextcloud/apps/mail/lib/IMAP/FolderMapper.php - line 60:
Horde_Imap_Client_Base->listMailboxes("*", 5, { delimiter: ... e})
/var/www/nextcloud/apps/mail/lib/IMAP/MailboxSync.php - line 85:
OCA\Mail\IMAP\FolderMapper->getFolders(OCA\Mail\Account {}, Horde_Imap_C ... e})
/var/www/nextcloud/apps/mail/lib/BackgroundJob/SyncJob.php - line 91:
OCA\Mail\IMAP\MailboxSync->sync(OCA\Mail\Account {}, true)
/var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 80:
OCA\Mail\BackgroundJob\SyncJob->run({ accountId: 1})
/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php - line 61:
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
/var/www/nextcloud/cron.php - line 126:
OCP\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})