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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -19,7 +19,7 @@ export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/go/bin:$HOME/.local/bin:$PA
|
||||
|
||||
# Aliases
|
||||
alias e="emacsclient -t -a \"\""
|
||||
alias mbsync="mbsync -a"
|
||||
alias mailsync="mbsync -a"
|
||||
alias calsync="vdirsyncer sync"
|
||||
alias c="clear"
|
||||
alias cat="bat --paging=never --style=plain"
|
||||
|
||||
Reference in New Issue
Block a user