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

View File

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

View File

@@ -19,7 +19,7 @@ export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/go/bin:$HOME/.local/bin:$PA
# Aliases # Aliases
alias e="emacsclient -t -a \"\"" alias e="emacsclient -t -a \"\""
alias mbsync="mbsync -a" alias mailsync="mbsync -a"
alias calsync="vdirsyncer sync" alias calsync="vdirsyncer sync"
alias c="clear" alias c="clear"
alias cat="bat --paging=never --style=plain" alias cat="bat --paging=never --style=plain"