ambevar-dotfiles/.mbsyncrc

63 lines
1.2 KiB
Plaintext

# -*- mode: conf-space; -*-
IMAPAccount mail
Host mail.gandi.net
User mail@ambrevar.xyz
PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/login mail@ambrevar.xyz/ {print $(NF); exit}'"
SSLType IMAPS
IMAPStore mail-remote
Account mail
MaildirStore mail-local
# The trailing "/" is important
Path ~/.cache/mail/mail/
Inbox ~/.cache/mail/mail/inbox
Channel mail-all
Master :mail-remote:
Slave :mail-local:
Patterns * "!Sent"
Create Both
Expunge Both
SyncState *
Channel mail-sent
Master :mail-remote:
Slave :mail-local:
Patterns !* "Sent"
Create Both
Expunge Both
SyncState *
################################################################################
IMAPAccount atlas
Host mail.gandi.net
User pierre@atlas.engineer
PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/login pierre@atlas.engineer/ {print $(NF); exit}'"
SSLType IMAPS
IMAPStore atlas-remote
Account atlas
MaildirStore atlas-local
# The trailing "/" is important
Path ~/.cache/mail/atlas/
Inbox ~/.cache/mail/atlas/inbox
Channel atlas-all
Master :atlas-remote:
Slave :atlas-local:
Patterns * "!Sent"
Create Both
Expunge Both
SyncState *
Channel atlas-sent
Master :atlas-remote:
Slave :atlas-local:
Patterns !* "Sent"
Create Both
Expunge Both
SyncState *