.dotfiles/linux/.mbsyncrc
2024-11-09 16:38:27 +01:00

59 lines
1.5 KiB
Text

IMAPAccount gmail
Host imap.gmail.com
Port 993
User foozzione@gmail.com
PassCmd "gpg -dq --for-your-eyes-only --no-tty ~/.config/mutt/gmail_isync.gpg"
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
AuthMechs LOGIN
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
Subfolders Verbatim
Path ~/.local/share/email/foozzione_gmail/
INBOX ~/.local/share/email/foozzione_gmail/INBOX
Flatten .
Channel gmail
Far :gmail-remote:
Near :gmail-local:
Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Sync the movement of messages between folders and deletions, add after making sure the sync works
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *
MaxMessages 0
IMAPAccount posteo-remote
Host posteo.de
Port 993
User fz0x1@posteo.net
PassCmd "gpg -dq --for-your-eyes-only --no-tty ~/.config/mutt/posteo_isync.gpg"
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore posteo-remote
Account posteo-remote
MaildirStore posteo-local
Subfolders Verbatim
Path ~/.local/share/email/fz0x1_posteo/
INBOX ~/.local/share/email/fz0x1_posteo/INBOX
Flatten .
Channel posteo
Far :posteo-remote:
Near :posteo-local:
Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Sync the movement of messages between folders and deletions, add after making sure the sync works
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *
MaxMessages 0