summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/aerc/accounts.conf7
-rw-r--r--.mbsyncrc21
2 files changed, 24 insertions, 4 deletions
diff --git a/.config/aerc/accounts.conf b/.config/aerc/accounts.conf
index c7d4e1c..332d25c 100644
--- a/.config/aerc/accounts.conf
+++ b/.config/aerc/accounts.conf
@@ -1,8 +1,7 @@
-[default]
-source = imaps://sam%40samnystrom.dev@imap.migadu.com:993
+[migadu]
+source = maildir://~/mail
outgoing = smtps+plain://sam%40samnystrom.dev@smtp.migadu.com:465
-outgoing-cred-cmd = hiq -d -F password proto=smtp user=sam@samnystrom.dev
-source-cred-cmd = hiq -d -F password proto=imap user=sam@samnystrom.dev
from = Sam Nystrom <sam@samnystrom.dev>
default = INBOX
copy-to = Sent
+outgoing-cred-cmd = hiq -d -F password proto=smtp user=sam@samnystrom.dev
diff --git a/.mbsyncrc b/.mbsyncrc
new file mode 100644
index 0000000..6fd7b42
--- /dev/null
+++ b/.mbsyncrc
@@ -0,0 +1,21 @@
+IMAPAccount migadu
+Host imap.migadu.com
+SSLType IMAPS
+User sam@samnystrom.dev
+PassCmd "hiq -d -F password proto=imap user=sam@samnystrom.dev"
+
+IMAPStore migadu
+Account migadu
+
+MaildirStore local
+Path ~/mail/
+Inbox ~/mail/INBOX
+SubFolders Verbatim
+
+Channel primary
+Far :migadu:
+Near :local:
+Patterns INBOX *
+Create Both
+Remove Both
+Expunge Both