IMAPAccount outlook
Host outlook.office365.com
Port 993
User robharbaugh@outlook.com
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

MaildirStore outlook-local
SubFolders Verbatim
Path ~/mail/outlook/
Inbox ~/mail/outlook/Inbox/

Channel outlook
Far :outlook-remote:
Near :outlook-local:
Patterns * !Inbox !Junk
Create Near
Sync All
Expunge Near
SyncState *

##

IMAPAccount fastmail
Host imap.fastmail.com
Port 993
User rob@rharbaugh.com
PassCmd "rbw get fastmail-app-password"
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-bundle.crt

IMAPStore fastmail-remote
Account fastmail

MaildirStore fastmail-local
SubFolders Verbatim
Path ~/mail/fastmail/
Inbox ~/mail/fastmail/Inbox/

Channel fastmail
Far :fastmail-remote:
Near :fastmail-local:
Patterns * !Inbox !Spam
Create Near
Sync All
Expunge Near
SyncState *
