mail
mail copied to clipboard
Nextcloud Mail not fetching Mails by iCloud
Expected behavior
Tell us what should happen
- Connecting Nextcloud Mail to iCloud ([email protected], [email protected])
- E-Mails are listed in Nextlcoud Mail
Actual behavior
Tell us what happens instead
- Connection is working (Folders from iCloud are shown), but no E-Mail is shown in Nextcloud Mail
Log:
{"reqId":"LQjGHVd1IQl434tJ783x","level":3,"time":"2020-07-26T14:39:42+00:00","remoteAddr":"***","user“:“username“,“app":"PHP","method":"POST","url":"/nextcloud/index.php/apps/mail/api/accounts/3/folders/RGVsZXRlZCBNZXNzYWdlcw%3D%3D/sync","message":"A non-numeric value encountered at /var/www/vhosts/***/httpdocs/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php#317","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15","version":"18.0.7.1","id":"5f1d9ac79ba83"}
see also: #2967 PHP encounters a non-numeric value at /var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php#317
Mail app
Mail app version: (see apps admin page, e.g. 0.5.3) 1.4.1
Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...) iCloud ([email protected], [email protected])
Server configuration
Operating system: (e.g. Debian 8)
Web server: (e.g. Apache, Nginx,...)
Database: (e.g. MariaDB, SQLite or PostgreSQL) mysql MariaDB
PHP version: (e.g. 7.0) 7.4.8
Nextcloud Version: (see admin page, e.g. 13.0.2)
Client configuration
Browser: (e.g. Firefox 48)
Operating system: (e.g. Arch Linux)
I can confirm the issue. Even if the problem is fixed with a cast, the iCloud mail bodies were still not displayed:
https://github.com/nextcloud/mail/issues/2967#issuecomment-618380288
Yes, somehow issues with icloud occur from time to time, yet I don't know why. https://github.com/nextcloud/mail/issues?q=is%3Aissue+icloud+is%3Aclosed
Right now we do not have any account we could test/verify this bug with.
@ChristophWurst Since iCloud is one of the most used mail providers, it would be great if the issue could be solved.
An iCloud mail account can be created without any cost the same way like using Gmail, GMX or Web.de: https://support.apple.com/de-de/HT204316#web
@ChristophWurst Since iCloud is one of the most used mail providers, it would be great if the issue could be solved.
Believe it or not, but we've heard the same reasoning for pretty much every bug. There is always a person to whom a particular bug is the most important one to fix.
We'll look into it when time allows or if a customer runs into the issue. Until then, I would be very grateful for debugging help. I can give you pointers and everything on how to get started.
Hello, finally someone found how to resolve the bug ? Thank you for your help !
nope, we're lacking the resources to check such specific setup. if you want to help move this forward dive into this yourself if you're a developer, ask a friend or hire someone who can help :)
Nextcloud is so complex but it’s so wonderful ! I think it’s the better soft I ever seen so I can wait !
De : Christoph Wurst [email protected] Répondre à : nextcloud/mail [email protected] Date : jeudi 26 novembre 2020 à 09:47 À : nextcloud/mail [email protected] Cc : cyriltouboul [email protected], Comment [email protected] Objet : Re: [nextcloud/mail] Nextcloud Mail not fetching Mails by iCloud (#3401)
nope, we're lacking the resources to check such specific setup. if you want to help move this forward dive into this yourself if you're a developer, ask a friend or hire someone who can help :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I have this issue as well, what’s confusing is it is able to show the number of emails in a particular folder, but shows all folders as empty when selected.
The number in the sidebar is a direct query to the STATUS of the IMAP mailbox. The contents displayed go through a caching layer. That explains the difference.
Thanks for clearing that up for me. If I knew how to code, I would for sure help out with the nextcloud project. You guys do great work.
No problem. Appreciate good bug reports just as much :)
And on a side note we're not just guys :wink:
Hi,
I have the same problem, I use nextcloud (which I love) within a docker environment, latest nextcloud:apache
image in a docker swarm stack.
It is just for personal use, so is do not mind if I have to break things in order to provide useful log/debug .. How can I help? Is there any log that you may need, or debug statement I can put in the nextcloud src code? I May I be your guinea pig, but I need some guidance as I am not that great coding in PHP.
Same problem. Any news in respect to this bug? Still seeing it in the latest version. It does login, and does list the correct folders, but no messages are downloaded.
Logs:
{"reqId":"RRUa6nK23bM38hk6pErq","level":3,"time":"2021-03-05T07:48:19+00:00","remoteAddr":"10.0.0.1","user":"xxx","app":"PHP","method":"POST","url":"/apps/mail/api/mailboxes/2/sync","message":{"Exception":"Error","Message":"A non-numeric value encountered at /config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php#317","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php","line":317,"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php","line":144,"function":"_toSequenceString","class":"Horde_Imap_Client_Ids","type":"->"},{"file":"/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php","line":256,"function":"__get","class":"Horde_Imap_Client_Ids","type":"->"},{"file":"/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php","line":3085,"function":"split","class":"Horde_Imap_Client_Ids","type":"->"},{"file":"/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php","line":2832,"function":"_fetchCmd","class":"Horde_Imap_Client_Socket","type":"->"},{"file":"/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php","line":2584,"function":"_fetch","class":"Horde_Imap_Client_Socket","type":"->"},{"file":"/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php","line":2478,"function":"_fetchWrapper","class":"Horde_Imap_Client_Base","type":"->"},{"file":"/config/www/nextcloud/apps/mail/lib/IMAP/MessageMapper.php","line":148,"function":"fetch","class":"Horde_Imap_Client_Base","type":"->"},{"file":"/config/www/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php","line":283,"function":"findAll","class":"OCA\Mail\IMAP\MessageMapper","type":"->"},{"file":"/config/www/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php","line":218,"function":"runInitialSync","class":"OCA\Mail\Service\Sync\ImapToDbSynchronizer","type":"->"},{"file":"/config/www/nextcloud/apps/mail/lib/Service/Sync/SyncService.php","line":121,"function":"sync","class":"OCA\Mail\Service\Sync\ImapToDbSynchronizer","type":"->"},{"file":"/config/www/nextcloud/apps/mail/lib/Controller/MailboxesController.php","line":161,"function":"syncMailbox","class":"OCA\Mail\Service\Sync\SyncService","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"sync","class":"OCA\Mail\Controller\MailboxesController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"20.0.7.1","id":"6041e3bb4d01e"}
{"reqId":"4gyvybvcxS2MIzy9J2fM","level":3,"time":"2021-03-05T07:48:43+00:00","remoteAddr":"10.0.0.1","user":"xxx","app":"index","method":"GET","url":"/apps/mail/api/accounts/1/quota","message":{"Exception":"Exception","Message":"Argument 1 passed to OCA\Mail\Service\Quota::__construct() must be of the type int, float given, called in /config/www/nextcloud/apps/mail/lib/Service/MailManager.php on line 468","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to OCA\Mail\Service\Quota::__construct() must be of the type int, float given, called in /config/www/nextcloud/apps/mail/lib/Service/MailManager.php on line 468","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/mail/lib/Service/MailManager.php","line":468,"function":"__construct","class":"OCA\Mail\Service\Quota","type":"->"},{"file":"/config/www/nextcloud/apps/mail/lib/Controller/AccountsController.php","line":493,"function":"getQuota","class":"OCA\Mail\Service\MailManager","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"getQuota","class":"OCA\Mail\Controller\AccountsController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/mail/lib/Service/Quota.php","Line":38},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"20.0.7.1","id":"6041e3bb4cd1a"}
{"reqId":"4gyvybvcxS2MIzy9J2fM","level":3,"time":"2021-03-05T07:48:43+00:00","remoteAddr":"10.0.0.1","user":"xxx","app":"index","method":"GET","url":"/apps/mail/api/accounts/1/quota","message":{"Exception":"Exception","Message":"Argument 1 passed to OCA\Mail\Service\Quota::__construct() must be of the type int, float given, called in /config/www/nextcloud/apps/mail/lib/Service/MailManager.php on line 468","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to OCA\Mail\Service\Quota::__construct() must be of the type int, float given, called in /config/www/nextcloud/apps/mail/lib/Service/MailManager.php on line 468","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/mail/lib/Service/MailManager.php","line":468,"function":"__construct","class":"OCA\Mail\Service\Quota","type":"->"},{"file":"/config/www/nextcloud/apps/mail/lib/Controller/AccountsController.php","line":493,"function":"getQuota","class":"OCA\Mail\Service\MailManager","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"getQuota","class":"OCA\Mail\Controller\AccountsController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/mail/lib/Service/Quota.php","Line":38},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"20.0.7.1","id":"6041e3bb4cd1a"}
Any news in respect to this bug?
Nope, we didn't have time to look into icloud specifically.
Same issue, not complaining, just commenting to track. @ChristophWurst thanks for all that youre doing for the Mail App. Im using Nextcloud container on Unraid via SpaceInvadersOnes setup instructions. Everything is working great, outside of this app.
SMTP sends work fine, IMAP connects and pulls the number of emails read/unread, but fails to pull back any of the email specifics.
This is a container that sits behind a reverse proxy (SWAG), I'll look into seeing if there is a configurations step that could be blocking? Again, not a dev, just enough to be stupid. :)
Error: A non-numeric value encountered at /config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php#317 /config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php - line 317:
OC\Log\ErrorHandler::onError()
/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php - line 144:
Horde_Imap_Client_Ids->_toSequenceString()
/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php - line 256:
Horde_Imap_Client_Ids->__get()
/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 3085:
Horde_Imap_Client_Ids->split()
/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 2832:
Horde_Imap_Client_Socket->_fetchCmd()
/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 2584:
Horde_Imap_Client_Socket->_fetch()
/config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 2478:
Horde_Imap_Client_Base->_fetchWrapper()
/config/www/nextcloud/apps/mail/lib/IMAP/MessageMapper.php - line 148:
Horde_Imap_Client_Base->fetch()
/config/www/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php - line 283:
OCA\Mail\IMAP\MessageMapper->findAll()
/config/www/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php - line 218:
OCA\Mail\Service\Sync\ImapToDbSynchronizer->runInitialSync()
/config/www/nextcloud/apps/mail/lib/Service/Sync/SyncService.php - line 121:
OCA\Mail\Service\Sync\ImapToDbSynchronizer->sync()
/config/www/nextcloud/apps/mail/lib/Controller/MailboxesController.php - line 161:
OCA\Mail\Service\Sync\SyncService->syncMailbox()
/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 218:
OCA\Mail\Controller\MailboxesController->sync()
/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 127:
OC\AppFramework\Http\Dispatcher->executeController()
/config/www/nextcloud/lib/private/AppFramework/App.php - line 157:
OC\AppFramework\Http\Dispatcher->dispatch()
/config/www/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/config/www/nextcloud/lib/base.php - line 993:
OC\Route\Router->match()
/config/www/nextcloud/index.php - line 37:
OC::handleRequest()
A non-numeric value encountered at /config/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Ids.php#317
I'd like to see your IMAP logs for this error. IDs are supposed to be numeric. https://github.com/nextcloud/mail/blob/master/doc/admin.md#logging
Thanks - to recap, I can send emails and all folders are visible with accurate counts, just no actual content. The IMAP handshake seems fine.
This is from horde_imap.log and I've also included horde_smtp.log at the bottom of this post.
Connection to: imap://imap.mail.me.com:993/ Server connection took 0.0597 seconds. S: * OK [CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] (2109B29-d3afe4d5aba6) pv33p00im-iscream021.me.com C: 1 AUTHENTICATE PLAIN [INITIAL CLIENT RESPONSE (username: notmyemail)] S: 1 OK user notmyemail authenticated Command 1 took 0.1213 seconds. C: 2 CAPABILITY S: * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 CONDSTORE ENABLE QRESYNC QUOTA NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES METADATA ID XMSEARCH X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP XUM1 MULTISEARCH IDLE LIST-STATUS S: 2 OK Completed Command 2 took 0.0129 seconds. CACHE: Using the OCA\Mail\Cache\Cache storage driver. C: 3 ENABLE QRESYNC C: 4 NAMESPACE S: 3 OK ENABLE completed Command 3 took 0.0138 seconds. S: * NAMESPACE (("" "/")) NIL NIL S: 4 OK NAMESPACE completed (took 0 ms) Command 4 took 0.1076 seconds. C: 5 LSUB "" * S: * LSUB () "/" "Gmail Imported" S: * LSUB () "/" "MSB" S: 5 OK LSUB completed (took 178 ms) Command 5 took 0.2688 seconds. C: 6 LIST "" * S: * LIST (\Noinferiors) "/" "INBOX" S: * LIST () "/" "Archive" S: * LIST () "/" "Deleted Messages" S: * LIST () "/" "Drafts" S: * LIST () "/" "Junk" S: * LIST () "/" "Notes" S: * LIST () "/" "Sent Messages" S: * LIST () "/" "Gmail Imported" S: * LIST () "/" "MSB" S: 6 OK LIST completed (took 23 ms) Command 6 took 0.1145 seconds. C: 7 STATUS INBOX (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "INBOX" (MESSAGES 23020 RECENT 0 UIDNEXT 29662 UIDVALIDITY 1353860510 UNSEEN 120) S: 7 OK STATUS completed (took 97 ms) Command 7 took 0.1882 seconds. C: 8 STATUS Archive (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "Archive" (MESSAGES 29 RECENT 0 UIDNEXT 33 UIDVALIDITY 1355005006 UNSEEN 0) S: 8 OK STATUS completed (took 93 ms) Command 8 took 0.1837 seconds. C: 9 STATUS "Deleted Messages" (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "Deleted Messages" (MESSAGES 42 RECENT 0 UIDNEXT 6689 UIDVALIDITY 1355005006 UNSEEN 0) S: 9 OK STATUS completed (took 103 ms) Command 9 took 0.1952 seconds. C: 10 STATUS Drafts (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "Drafts" (MESSAGES 3 RECENT 0 UIDNEXT 367 UIDVALIDITY 1355005006 UNSEEN 0) S: 10 OK STATUS completed (took 101 ms) Command 10 took 0.1918 seconds. C: 11 STATUS Junk (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "Junk" (MESSAGES 129 RECENT 0 UIDNEXT 790 UIDVALIDITY 4 UNSEEN 55) S: 11 OK STATUS completed (took 99 ms) Command 11 took 0.19 seconds. C: 12 STATUS Notes (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "Notes" (MESSAGES 0 RECENT 0 UIDNEXT 28 UIDVALIDITY 1355079554 UNSEEN 0) S: 12 OK STATUS completed (took 342 ms) Command 12 took 0.4325 seconds. C: 13 STATUS "Sent Messages" (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "Sent Messages" (MESSAGES 250 RECENT 0 UIDNEXT 257 UIDVALIDITY 1355005006 UNSEEN 0) S: 13 OK STATUS completed (took 97 ms) Command 13 took 0.188 seconds. C: 14 STATUS "Gmail Imported" (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "Gmail Imported" (MESSAGES 112729 RECENT 0 UIDNEXT 113327 UIDVALIDITY 1539253019 UNSEEN 41354) S: 14 OK STATUS completed (took 214 ms) Command 14 took 0.3052 seconds. C: 15 STATUS MSB (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN) S: * STATUS "MSB" (MESSAGES 1 RECENT 0 UIDNEXT 2 UIDVALIDITY 1561499685 UNSEEN 0) S: 15 OK STATUS completed (took 95 ms) Command 15 took 0.1859 seconds. C: 16 LIST "" INBOX RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 17 LIST "" Archive RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 18 LIST "" "Deleted Messages" RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 19 LIST "" Drafts RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 20 LIST "" Junk RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 21 LIST "" Notes RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 22 LIST "" "Sent Messages" RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 23 LIST "" "Gmail Imported" RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) C: 24 LIST "" MSB RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) S: * LIST (\Noinferiors) "/" "INBOX" S: * STATUS "INBOX" (UNSEEN 120 UIDNEXT 29662 MESSAGES 23020 RECENT 0 UIDVALIDITY 1353860510) S: 16 OK LIST completed (took 68 ms) Command 16 took 0.1591 seconds. S: * LIST () "/" "Archive" S: * STATUS "Archive" (UNSEEN 0 UIDNEXT 33 MESSAGES 29 RECENT 0 UIDVALIDITY 1355005006) S: 17 OK LIST completed (took 60 ms) Command 17 took 0.2955 seconds. S: * LIST () "/" "Deleted Messages" S: * STATUS "Deleted Messages" (UNSEEN 0 UIDNEXT 6689 MESSAGES 42 RECENT 0 UIDVALIDITY 1355005006) S: 18 OK LIST completed (took 52 ms) Command 18 took 0.4238 seconds. S: * LIST () "/" "Drafts" S: * STATUS "Drafts" (UNSEEN 0 UIDNEXT 367 MESSAGES 3 RECENT 0 UIDVALIDITY 1355005006) S: 19 OK LIST completed (took 43 ms) Command 19 took 0.5436 seconds. S: * LIST () "/" "Junk" S: * STATUS "Junk" (UNSEEN 55 UIDNEXT 790 MESSAGES 129 RECENT 0 UIDVALIDITY 4) S: 20 OK LIST completed (took 53 ms) Command 20 took 0.6743 seconds. S: * LIST () "/" "Notes" S: * STATUS "Notes" (UNSEEN 0 UIDNEXT 28 MESSAGES 0 RECENT 0 UIDVALIDITY 1355079554) S: 21 OK LIST completed (took 66 ms) Command 21 took 0.817 seconds. S: * LIST () "/" "Sent Messages" S: * STATUS "Sent Messages" (UNSEEN 0 UIDNEXT 257 MESSAGES 250 RECENT 0 UIDVALIDITY 1355005006) S: 22 OK LIST completed (took 47 ms) Command 22 took 0.9404 seconds. S: * LIST () "/" "Gmail Imported" S: * STATUS "Gmail Imported" (UNSEEN 41354 UIDNEXT 113327 MESSAGES 112729 RECENT 0 UIDVALIDITY 1539253019) S: 23 OK LIST completed (took 48 ms) Command 23 took 1.0656 seconds. S: * LIST () "/" "MSB" S: * STATUS "MSB" (UNSEEN 0 UIDNEXT 2 MESSAGES 1 RECENT 0 UIDVALIDITY 1561499685) S: 24 OK LIST completed (took 43 ms) Command 24 took 1.185 seconds. C: 25 STATUS INBOX (MESSAGES UIDNEXT UIDVALIDITY HIGHESTMODSEQ) S: * STATUS "INBOX" (MESSAGES 23020 UIDNEXT 29662 UIDVALIDITY 1353860510 HIGHESTMODSEQ 413310480243251) S: 25 OK STATUS completed (took 29 ms) Command 25 took 0.1192 seconds. C: 26 EXAMINE INBOX S: * 23020 EXISTS S: * OK [UNSEEN 22654] S: * OK [UIDVALIDITY 1353860510] S: * OK [UIDNEXT 29662] S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen \Recent $MailFlagBit0 $MailFlagBit1 $MailFlagBit2 $Forwarded Redirected $NotJunk NotJunk) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \Recent $MailFlagBit0 $MailFlagBit1 $MailFlagBit2 $Forwarded Redirected $NotJunk NotJunk *)] S: * OK [HIGHESTMODSEQ 413310480243251] S: 26 OK [READ-WRITE] EXAMINE completed (took 26 ms) Command 26 took 0.1172 seconds. CACHE: Stored metadata (_m,uidvalid [INBOX]) SEARCH: Expired from cache [INBOX] C: 27 UID SEARCH RETURN (ALL COUNT) UID 29661:29662 S: * ESEARCH (TAG "27") UID COUNT 1 S: 27 OK SEARCH completed (took 9 ms) Command 27 took 0.0983 seconds. CACHE: Stored metadata (_s,_i [INBOX]) SEARCH: Saved search to cache (306ae892ef6e9a0289fd3102f072b82e [INBOX]) C: 28 LOGOUT S: * BYE S: 28 OK !! Command 28 took 0.0913 seconds.
--- End of horde_imap.log
I've replaced tokens and PII data with similar format without sharing the specifics.
Thu, 20 May 2021 05:08:58 +0000 Connection to: smtp://smtp.mail.me.com:587 S: 220 iCloud SMTP - lkjljlk-ztbu10011701.me.com 3.5.0 (2110B52-99b59219c71b) C: EHLO my.domain S: 250-lkljijk-ztbu10011701.me.com S: 250-PIPELINING S: 250-SIZE 28311552 S: 250-ETRN S: 250-STARTTLS S: 250-ENHANCEDSTATUSCODES S: 250-8BITMIME S: 250-DSN S: 250 CHUNKING C: STARTTLS S: 220 2.0.0 Ready to start TLS Successfully completed TLS negotiation. C: EHLO mydomainname.com S: 250-lkjljlk-ztbu10011701.me.com S: 250-PIPELINING S: 250-SIZE 28311552 S: 250-ETRN S: 250-AUTH LOGIN PLAIN ATOKEN S: 250-ENHANCEDSTATUSCODES S: 250-8BITMIME S: 250-DSN S: 250 CHUNKING C: AUTH LOGIN S: 334 klkkVXNlcm5hbWU C: lkjljkamxhbmVmY0BpY2xvdWQuY29t S: 334 kjlkUGFzc3dvcmQ6 [AUTH Command - method: LOGIN; username: [email protected]] S: 235 2.7.0 Authentication successful (CKUSER) C: QUIT S: 221 2.0.0 Bye
Found this in the /log/nginx/error.log
2021/05/19 08:59:54 [error] 394#394: *1607 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 165.225.50.111, server: _, request: "POST /apps/mail/api/accounts HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomain.com 2021/05/19 14:00:22 [error] 394#394: *7032 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 192.168.1.1, server: _, request: "POST /apps/mail/api/accounts HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomain.com"
You could try increase the timeout(s) https://github.com/nextcloud/mail/blob/master/doc/admin.md#timeouts
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
You've got all the logs you've asked for. I think there's simply no interest in solving this issue, maybe since no one is using the app. Regardless, this experience was enough for me to move off Nextcloud to other solutions. Thanks for your effort.
Thanks for your passive aggressive response.
We do not have time to look into every bug report indeed. I tried my best helping you for free. Your last feedback indicated timeout issues, I suggested experimenting with increased timeouts and never got a reply.
Well, what can I do :shrug:
Have a good one.
Free? This is an open source project and like many, I use for fun and contribute where I can. As much as I love tweaking and solving problems myself, I've noticed that the NextCloud ecosystem really has this remarkably unapproachable not our problem attitude. That's fine but if you put something out there maybe don't be surprised people use it, and don't be surprised people ran into problems, and report back. Which helps you improve your app, which you might want to charge for from people that use it and need formal support. I doubt it if hobbyists like myself are in this category. I've seen this bug reported on one of the forums almost 3 years ago now.
@ChristophWurst Could you please tell me, where to put the timeout values? I've added them to config.php, but to me it looks like it did not change anything.
Your help is very much appreciated!
Best, Markus
@crdxfire It doesn't work. I've tried over couple of versions. That option goes into the config.php file as an item in the array. I've moved off NextCloud since then and currently using Synchthing for files and CalDAV, CardDav directly to iCloud. NextCloud is becoming an "enterprise" app. For me it seems bloated, slow and most of the features redundant. I don't think they're really targeting casual users. Reminds me of the path Drupal took. One thing I didn't check is OwnCloud. Might be more user oriented?
As far as I can tell this han't been fixed yet.
Have same issue. Commenting to follow and subscribe and see if any info is needed from me to investigate.
Nextcloud running in docker on unRaid.
I can confirm this bug.
Running nextcloud on docker, IMAP count is okay but no messages. If it helps iCloud IMAP seems to work with my K-9 Mail client on my phone.
Also having this same issue...
Same issue here - was using linuxserver nextcloud container; recently migrated to nextcloud aio container - issues still persists.
This one has been open since July 2020. I'm trying to understand the prioritization around Apple products, specifically the support of their email services. Doing some light discovery, Apple has nearly 4k companies using iCloud, most often found in the United States. Apple iCloud is most often used by companies with >10000 employees and >1000M dollars in revenue. Its also the highest adopted email client, which infers an incredibly high degree of .icloud.com specific email address. So even if Nextcloud was going the enterprise route, Apple would still be on the radar.
With the recent addition of adding your personal domain and other email related features, its hard to not look at look at apple as one of the top 10 email service provider.
I know Apple services provide unique challenges, so hoping we can objectively look at the market to help prioritize discovery in this space.
Thanks for hearing me out and never underestimate the work you all do day-in and day-out.
Best,
JK