summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-30 21:48:22 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-30 21:48:22 +0100
commit9f0ad95684f9e67464ad7d2b0e7bc83222a52da7 (patch)
tree817c1c1a021a3327e32aa813c79b849df641ad00
parentb482d00f38dcfec70194ac88f201cf5d763111e8 (diff)
mbsync, mutt: Add <edu@alejandro-colomar.es>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--home/.config/mutt/account/migadu/edu/account.muttrc4
-rw-r--r--home/.config/mutt/account/migadu/edu/folder.muttrc1
-rw-r--r--home/.config/mutt/account/migadu/edu/smtp.muttrc5
-rw-r--r--home/.config/mutt/accounts.muttrc16
-rw-r--r--home/.mbsyncrc25
5 files changed, 44 insertions, 7 deletions
diff --git a/home/.config/mutt/account/migadu/edu/account.muttrc b/home/.config/mutt/account/migadu/edu/account.muttrc
new file mode 100644
index 0000000..978366a
--- /dev/null
+++ b/home/.config/mutt/account/migadu/edu/account.muttrc
@@ -0,0 +1,4 @@
+source ~/.config/mutt/account/migadu/edu/smtp.muttrc
+source ~/.config/mutt/account/migadu/edu/folder.muttrc
+source ~/.config/mutt/account/maildir/migadu.muttrc
+source ~/.config/mutt/crypt/auto.muttrc
diff --git a/home/.config/mutt/account/migadu/edu/folder.muttrc b/home/.config/mutt/account/migadu/edu/folder.muttrc
new file mode 100644
index 0000000..26ef7d9
--- /dev/null
+++ b/home/.config/mutt/account/migadu/edu/folder.muttrc
@@ -0,0 +1 @@
+set folder = "~/mail/migadu/edu/"
diff --git a/home/.config/mutt/account/migadu/edu/smtp.muttrc b/home/.config/mutt/account/migadu/edu/smtp.muttrc
new file mode 100644
index 0000000..0bba4bf
--- /dev/null
+++ b/home/.config/mutt/account/migadu/edu/smtp.muttrc
@@ -0,0 +1,5 @@
+set from = "edu@alejandro-colomar.es"
+set realname = "Alejandro Colomar"
+
+set smtp_url = "smtps://edu@alejandro-colomar.es@smtp.migadu.com:465/"
+set smtp_pass = $my_migadu_pass
diff --git a/home/.config/mutt/accounts.muttrc b/home/.config/mutt/accounts.muttrc
index 803e266..a4b9afb 100644
--- a/home/.config/mutt/accounts.muttrc
+++ b/home/.config/mutt/accounts.muttrc
@@ -1,4 +1,5 @@
source ~/.config/mutt/account/migadu/alx/account.muttrc
+source ~/.config/mutt/account/migadu/edu/account.muttrc
source ~/.config/mutt/account/migadu/foss/account.muttrc
source ~/.config/mutt/account/migadu/gov/account.muttrc
source ~/.config/mutt/account/migadu/legal/account.muttrc
@@ -14,12 +15,13 @@ source ~/.config/mutt/account/migadu/foss/account.muttrc
bind index,compose,pager <F2> noop
macro index,compose,pager <F2>0 '<enter-command>source ~/.config/mutt/account/migadu/admin/account.muttrc<enter>'
macro index,compose,pager <F2>1 '<enter-command>source ~/.config/mutt/account/migadu/alx/account.muttrc<enter>'
-macro index,compose,pager <F2>2 '<enter-command>source ~/.config/mutt/account/migadu/foss/account.muttrc<enter>'
-macro index,compose,pager <F2>3 '<enter-command>source ~/.config/mutt/account/migadu/gov/account.muttrc<enter>'
-macro index,compose,pager <F2>4 '<enter-command>source ~/.config/mutt/account/migadu/legal/account.muttrc<enter>'
-macro index,compose,pager <F2>5 '<enter-command>source ~/.config/mutt/account/migadu/llum/account.muttrc<enter>'
-macro index,compose,pager <F2>6 '<enter-command>source ~/.config/mutt/account/migadu/spam/account.muttrc<enter>'
-macro index,compose,pager <F2>7 '<enter-command>source ~/.config/mutt/account/migadu/tlf/account.muttrc<enter>'
-macro index,compose,pager <F2>8 '<enter-command>source ~/.config/mutt/account/migadu/travel/account.muttrc<enter>'
+macro index,compose,pager <F2>2 '<enter-command>source ~/.config/mutt/account/migadu/edu/account.muttrc<enter>'
+macro index,compose,pager <F2>3 '<enter-command>source ~/.config/mutt/account/migadu/foss/account.muttrc<enter>'
+macro index,compose,pager <F2>4 '<enter-command>source ~/.config/mutt/account/migadu/gov/account.muttrc<enter>'
+macro index,compose,pager <F2>5 '<enter-command>source ~/.config/mutt/account/migadu/legal/account.muttrc<enter>'
+macro index,compose,pager <F2>6 '<enter-command>source ~/.config/mutt/account/migadu/llum/account.muttrc<enter>'
+macro index,compose,pager <F2>7 '<enter-command>source ~/.config/mutt/account/migadu/spam/account.muttrc<enter>'
+macro index,compose,pager <F2>8 '<enter-command>source ~/.config/mutt/account/migadu/tlf/account.muttrc<enter>'
+macro index,compose,pager <F2>9 '<enter-command>source ~/.config/mutt/account/migadu/travel/account.muttrc<enter>'
bind index,compose,pager <F3> noop
macro index,compose,pager <F3>2 '<enter-command>source ~/.config/mutt/account/gmail/alx/account.muttrc<enter>'
diff --git a/home/.mbsyncrc b/home/.mbsyncrc
index 6b0c00a..89c9929 100644
--- a/home/.mbsyncrc
+++ b/home/.mbsyncrc
@@ -48,6 +48,31 @@ Patterns *
SyncState *
+IMAPAccount migadu-edu-imap
+Host imap.migadu.com
+Port 993
+User edu@alejandro-colomar.es
+PassCmd "pass show email/migadu/alx/mailbox/alx/pass"
+SSLType IMAPS
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore migadu-edu-remote
+Account migadu-edu-imap
+
+MaildirStore migadu-edu-local
+Path ~/mail/migadu/edu/
+Inbox ~/mail/migadu/edu/Inbox
+SubFolders Verbatim
+
+Channel migadu-edu
+Far :migadu-edu-remote:
+Near :migadu-edu-local:
+Create Both
+Expunge Both
+Patterns *
+SyncState *
+
+
IMAPAccount migadu-foss-imap
Host imap.migadu.com
Port 993