Menu

#80 Unable to retrieve inbox mail from Yahoo Mail

1.5.0
fixed
None
1.5.1
5
2024-11-02
2024-10-08
No

Since the release of version 1.5.0, I have been unable to retrieve mail from my Yahoo Mail account's inbox. Every time I try to sync my mail, I receive the following error:

IMAP error: cannot use unqualified 'Inbox'. Did you mean INBOX?Error: channel (EMAIL)@yahoo.com: far side box Inbox cannot be opened.

Below is the output of mbsync -V (EMAIL)@yahoo.com:

Reading configuration file /home/(USER)/.mbsyncrc
Notice: SSLType is deprecated. Use TLSType instead.
Channel (EMAIL)@yahoo.com
Opening far side store (EMAIL)@yahoo.com-remote...
Resolving export.imap.mail.yahoo.com...
Opening near side store (EMAIL)@yahoo.com-local...
Connecting to export.imap.mail.yahoo.com (67.195.176.151:993)... 
Connection is now encrypted
Logging in...
Opening far side box Archive...
Opening near side box Archive...
Loading far side box...
far side: 0 messages, 0 recent
Loading near side box...
near side: 0 messages, 0 recent
Synchronizing...
Opening far side box Bulk...
Opening near side box Bulk...
Loading far side box...
far side: 0 messages, 0 recent
Loading near side box...
near side: 0 messages, 0 recent
Synchronizing...
Opening far side box (NAME)...
Opening near side box (NAME)...
Loading far side box...
Loading near side box...
near side: 101 messages, 0 recent
far side: 101 messages, 0 recent
Synchronizing...
Opening far side box Draft...
Opening near side box Draft...
Loading far side box...
Loading near side box...
near side: 33 messages, 0 recent
far side: 33 messages, 0 recent
Synchronizing...
Opening far side box Drafts...
Opening near side box Drafts...
Error: channel (EMAIL)@yahoo.com: far side box Drafts cannot be opened.
Opening far side box Inbox...
IMAP error: cannot use unqualified 'Inbox'. Did you mean INBOX?Error: channel (EMAIL)@yahoo.com: far side box Inbox cannot be opened.
Opening far side box Notes...
Opening near side box Notes...
Loading far side box...
Loading near side box...
near side: 4 messages, 0 recent
far side: 4 messages, 0 recent
Synchronizing...
Opening far side box Realarchive...
Opening near side box Realarchive...
Loading far side box...
Loading near side box...
near side: 10284 messages, 451 recent
far side: 10284 messages, 0 recent
Synchronizing...
Opening far side box Sent...
Opening near side box Sent...
Loading far side box...
Loading near side box...
near side: 661 messages, 0 recent
far side: 661 messages, 0 recent
Synchronizing...
Opening far side box Trash...
Opening near side box Trash...
Loading far side box...
far side: 0 messages, 0 recent
Loading near side box...
near side: 0 messages, 0 recent
Synchronizing...
Processed 10 box(es) in 1 channel(s),
pulled 0 new message(s) and 0 flag update(s),
expunged 0 message(s) from near side,
pushed 0 new message(s) and 0 flag update(s),
expunged 0 message(s) from far side.

The relevant lines from my .mbsyncrc are shown below:

IMAPStore (EMAIL)@yahoo.com-remote
Host export.imap.mail.yahoo.com
Port 993 
User (EMAIL)@yahoo.com
PassCmd "pass (EMAIL)@yahoo.com"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
PipelineDepth 9

MaildirStore (EMAIL)@yahoo.com-local
Subfolders Verbatim
Path /home/(USER)/.local/share/mail/(EMAIL)@yahoo.com/
Inbox /home/(USER)/.local/share/mail/(EMAIL)@yahoo.com/INBOX

Channel (EMAIL)@yahoo.com
Expunge Both
Far :(EMAIL)@yahoo.com-remote:
Near :(EMAIL)@yahoo.com-local:
Patterns * !"[Gmail]/All Mail"
Create Both
SyncState *
MaxMessages 0
ExpireUnread no

I have tried changing the Inbox option to use (EMAIL)@yahoo.com/Inbox and (EMAIL)@yahoo.com/INBOX and resyncing all of my email with both Inbox options, but they all result in the same error.

I did not have this issue with version 1.4.4. I believe commit d54c22 may be relevant, but I'm not certain. It may be the case that Yahoo Mail stores the inbox mailbox internally as Inbox, instead of INBOX.

I am using Artix Linux.

Any help with this issue would be greatly appreciated! If any further information is needed, please let me know.

Discussion

  • Oswald Buddenhagen

    well, yes, that commit does seem very pertinent. so do you see a difference between 1.5.0 and git master?

     
  • Tursunjan Aldaruly

    Apologies for the delay.

    I've tested git master today (November 1, 2024) with commit [3c4b5f]. It successfully retrieved mail from Yahoo.

     
  • Oswald Buddenhagen

    • status: reported --> fixed
    • assigned_to: Oswald Buddenhagen
    • Fixed In: unknown --> 1.5.1
     
  • Oswald Buddenhagen

    excellent!

     

Log in to post a comment.

Auth0 Logo