87 lines
1.7 KiB
Plaintext

IMAPAccount ferano.io
Host mail.gandi.net
UserCmd "age --decrypt -i ~/.local/credentials/personal ~/.local/credentials/authinfo.age | awk -F ' ' '/mail.gandi.net/ { print $(NF-2);exit; }'"
PassCmd "age --decrypt -i ~/.local/credentials/personal ~/.local/credentials/authinfo.age | awk -F ' ' '/mail.gandi.net/ { print $(NF);exit; }'"
SSLType IMAPS
IMAPStore ferano.io.remote
Account ferano.io
MaildirStore ferano.io.local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/ferano.io/
Inbox ~/.mail/ferano.io/Inbox
Channel ferano.io
Far :ferano.io.remote:
Near :ferano.io.local:
# Include everything
Patterns *
Sync All
Create Both
Remove Both
Expunge Both
SyncState *
Channel ferano.io.inbox
Far :ferano.io.remote:
Near :ferano.io.local:
Patterns INBOX
Sync All
Create Both
Remove Both
Expunge Both
SyncState *
IMAPAccount gmail
Host imap.gmail.com
UserCmd "age --decrypt -i ~/.local/credentials/personal ~/.local/credentials/authinfo.age | awk -F ' ' '/mail.gmail.com/ { print $(NF-2);exit; }'"
PassCmd "age --decrypt -i ~/.local/credentials/personal ~/.local/credentials/authinfo.age | awk -F ' ' '/mail.gmail.com/ { print $(NF);exit; }'"
SSLType IMAPS
IMAPStore gmail.remote
Account gmail
MaildirStore gmail.local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox
Channel gmail
Far :gmail.remote:
Near :gmail.local:
# Include everything
Patterns *
Sync All
Create Both
Remove Both
Expunge Both
SyncState *
Channel gmail.inbox
Far :gmail.remote:
Near :gmail.local:
Patterns INBOX
Sync All
Create Both
Remove Both
Expunge Both
SyncState *
Channel gmail.allmail
Far :gmail.remote:
Near :gmail.local:
Patterns *All*
Sync All
Create Both
Remove Both
Expunge Both
SyncState *
Group all
Channel ferano.io
Channel gmail