2025-06-24 18:43:51 +07:00

56 lines
1.4 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 *
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
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/INBOX
Channel gmail
Far :gmail.remote:
Near :gmail.local:
# Only sync the folders you've checked in IMAP
Patterns "INBOX" "[Gmail]/Sent Mail" "[Gmail]/Drafts" "[Gmail]/Trash"
Sync All
Create Both
Remove Both
Expunge Both
SyncState *
Group all
Channel ferano.io
Channel gmail