From 94d2bd126860ef6c658c3d1a6a58632d195400d5 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Wed, 11 Feb 2026 06:25:47 +0300 Subject: add mail --- dot_config/.isyncrc-extra.gpg | Bin 0 -> 848 bytes dot_config/isyncrc.tmpl | 50 +++++++++++++++++++++++++++++++++++++ dot_config/l2md/config | 4 +++ dot_config/msmtp/.config-extra.gpg | Bin 0 -> 356 bytes dot_config/msmtp/config.tmpl | 13 ++++++++++ 5 files changed, 67 insertions(+) create mode 100644 dot_config/.isyncrc-extra.gpg create mode 100644 dot_config/isyncrc.tmpl create mode 100644 dot_config/l2md/config create mode 100644 dot_config/msmtp/.config-extra.gpg create mode 100644 dot_config/msmtp/config.tmpl diff --git a/dot_config/.isyncrc-extra.gpg b/dot_config/.isyncrc-extra.gpg new file mode 100644 index 0000000..d54eea1 Binary files /dev/null and b/dot_config/.isyncrc-extra.gpg differ diff --git a/dot_config/isyncrc.tmpl b/dot_config/isyncrc.tmpl new file mode 100644 index 0000000..8b111d8 --- /dev/null +++ b/dot_config/isyncrc.tmpl @@ -0,0 +1,50 @@ +# isyncrc -*- Conf -*- + +Create Both +Expunge Both +SyncState * + +# Account 'professional starts here +IMAPAccount professional +Host "mail.michalec.dev" +User "martin@michalec.dev" +PassCmd "pass show mail/martin@michalec.dev" +TLSType IMAPS +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore professional-remote +Account professional + +MaildirStore professional-local +SubFolders Verbatim +Path "/home/cmmm/mail/accounts/professional/" +Inbox "/home/cmmm/mail/accounts/professional/inbox" + +Channel professional-inbox +Near ":professional-local:inbox" +Far ":professional-remote:INBOX" + +Channel professional-sent +Near ":professional-local:sent" +Far ":professional-remote:Sent" + +Channel professional-drafts +Near ":professional-local:drafts" +Far ":professional-remote:Drafts" + +Channel professional-archive +Near ":professional-local:archive" +Far ":professional-remote:Archive" + +Channel professional-junk +Near ":professional-local:junk" +Far ":professional-remote:Junk" + +Group professional +Channel professional-inbox +Channel professional-sent +Channel professional-drafts +Channel professional-archive +Channel professional-junk + +{{ joinPath .chezmoi.sourceDir "dot_config/.isyncrc-extra.gpg" | include | decrypt -}} diff --git a/dot_config/l2md/config b/dot_config/l2md/config new file mode 100644 index 0000000..d25a156 --- /dev/null +++ b/dot_config/l2md/config @@ -0,0 +1,4 @@ +[general] + period = 180 + oneshot = 1 + base = ${XDG_STATE_HOME:-$HOME}/l2md diff --git a/dot_config/msmtp/.config-extra.gpg b/dot_config/msmtp/.config-extra.gpg new file mode 100644 index 0000000..1206b45 Binary files /dev/null and b/dot_config/msmtp/.config-extra.gpg differ diff --git a/dot_config/msmtp/config.tmpl b/dot_config/msmtp/config.tmpl new file mode 100644 index 0000000..9e263e5 --- /dev/null +++ b/dot_config/msmtp/config.tmpl @@ -0,0 +1,13 @@ +defaults +tls on +auth on +logfile /home/cmmm/.local/var/log/msmtp.log + +account professional-martin@michalec.dev +from martin@michalec.dev +user martin@michalec.dev +passwordeval pass show mail/martin@michalec.dev +tls_starttls off +host mail.michalec.dev + +{{ joinPath .chezmoi.sourceDir "dot_config/msmtp/.config-extra.gpg" | include | decrypt -}} -- cgit v1.3