Fix Outlook Inbox IMAP conflict, add PipelineDepth 1

Outlook IMAP lists 'Inbox' as a folder AND uses INBOX as the special inbox,
causing mbsync to fail with 'cannot use unqualified Inbox'. Excluding 'Inbox'
from Patterns lets the MaildirStore Inbox directive handle it correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-20 15:12:50 -04:00
parent 0f0ee16ebd
commit 661f5e002c
3 changed files with 4 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ AuthMechs XOAUTH2
PassCmd "python3 /usr/share/neomutt/oauth2/mutt_oauth2.py ~/.config/neomutt/outlook.tokens --decryption-pipe 'gpg --decrypt'"
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-bundle.crt
PipelineDepth 1
IMAPStore outlook-remote
Account outlook
@@ -18,7 +19,7 @@ Inbox ~/mail/outlook/Inbox/
Channel outlook
Far :outlook-remote:
Near :outlook-local:
Patterns * !Junk !Deleted
Patterns * !Inbox !Junk
Create Near
Sync All
Expunge Near

View File

@@ -5,7 +5,7 @@ set mbox_type = Maildir
set folder = ~/mail/outlook
set spoolfile = +Inbox
set postponed = +Drafts
set trash = +Trash
set trash = +Deleted
set signature = ~/.config/neomutt/signature
set sendmail = "/usr/bin/msmtp -a outlook"