dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit a523e9098f0ad3c62c7487fc3e81e64186afc620 (patch)
parent 0888107f07270c1d4a9650f2cc7171fa78e18538
Author: Alex Karle <alex@alexkarle.com>
Date:   Mon, 10 Jan 2022 21:44:02 -0500

mbsync: Add FastMail config

This is a great example of how remaking it from scratch is a win!
I read the man page and realized that the default SSL was not
necessarily the newest version!

Diffstat:
A.mbsyncrc | 38++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+), 0 deletions(-)

diff --git a/.mbsyncrc b/.mbsyncrc @@ -0,0 +1,38 @@ +# .mbsyncrc -- local IMAP configuration for FastMail +# +# INSTALL: +# +# 1. Get an "Application Password" from FastMail +# 2. Put it in /etc/mail/imap-pass (make sure readable only by your user!) +# recommend only giving IMAP permission (no SMTP) +# +# echo "password" | doas tee /etc/mail/imap-pass +# doas chmod 400 /etc/mail/imap-pass +# doas chown user:user /etc/mail/imap-pass +# +# 3. Cron it up! +# +# crontab -e +# mbsync -a -q -c /path/to/this/file +# +IMAPStore fastmail +Host imap.fastmail.com +Port 993 +User alex@alexkarle.com +PassCmd "cat /etc/mail/imap-pass" +SSLType IMAPS +SSLVersions TLSv1.3 + +MaildirStore local +Path ~/mail/ +Inbox ~/mail/INBOX +Flatten . + +Channel fullsync +Far :fastmail: +Near :local: +Patterns * +Sync All +Create Both +SyncState * +CopyArrivalDate yes