home · contact · privacy
Change default mail server domain.
[config] / buster / home_files / user / .mbsyncrc
1 IMAPAccount plom
2 # Address to connect to
3 Host mail.plomlompom.com
4 User plom
5 # For some reason, mbsync doesn't accept a PassCmd output beyond 79 chars,
6 # therefore the pw in ~/.authinfo should not be longer than that.
7 PassCmd "cat ~/.authinfo | cut -d' ' -f8-"
8 SSLType IMAPS
9 AuthMechs LOGIN
10
11 IMAPStore core-remote
12 Account plom
13
14 MaildirStore core-local
15 # The trailing "/" is important
16 Path ~/mail/maildir/
17 Inbox ~/mail/inbox/
18
19 Channel core
20 Master :core-remote:
21 Slave :core-local:
22 Patterns *
23 # Automatically create missing mailboxes, both locally and on the server
24 Create Both
25 # Save the synchronization state files in the relevant directory
26 SyncState *
27 # If a mail is marked T ("Trashed") or deleted, remove it for real everywhere
28 Expunge Both