diff --git a/.gitignore b/.gitignore index 6de2558..5f59ebe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,6 @@ # Ignore the yazi packages and only store the commit in the dotfiles cli/dot-config/yazi/flavors cli/dot-config/yazi/plugins -cli/dot-config/weechat/sec.conf -# No database -home/dot-newsboat/cache.db -home/dot-newsboat/cache.db.lock +# Security +cli/dot-config/weechat/sec.conf diff --git a/README.md b/README.md index a6d8e9e..c03723f 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,9 @@ Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults. ## Additional Setup `rlone` host `Strato` for the automatic webdav mounting to work. This is automatically done when using hyprland. + +## Secrets + +Be sure to configure `pass` to implement the following passwords +- uniimap +- gmximap diff --git a/cli/dot-config/aerc/accounts.conf b/cli/dot-config/aerc/accounts.conf new file mode 100644 index 0000000..f64c937 --- /dev/null +++ b/cli/dot-config/aerc/accounts.conf @@ -0,0 +1,17 @@ +[PersonalGmx] +source = imaps://jonashahn1%40gmx.net@imap.gmx.net:993 +outgoing = smtp://jonashahn1%40gmx.net@mail.gmx.net:587 +source-cred-cmd = pass gmximap +outgoing-cred-cmd = pass gmximap +default = INBOX +from = Jonas Hahn +cache-headers = true + +[Uni] +source = imaps://ug-student%5Cj.hahn02@email.stud.uni-goettingen.de:993 +outgoing = smtp://ug-student%5Cj.hahn02@email.stud.uni-goettingen.de:25 +source-cred-cmd = pass uniimap +outgoing-cred-cmd = pass uniimap +default = INBOX +from = Jonas Hahn +cache-headers = true diff --git a/home/dot-mbsyncrc b/home/dot-mbsyncrc new file mode 100644 index 0000000..7f85527 --- /dev/null +++ b/home/dot-mbsyncrc @@ -0,0 +1,128 @@ +# Global configuration section +# Values here are used as defaults for any following Channel section that +# doesn't specify them. +Expunge None +Create Both + +# More sections follow +# +# !!!! Note that empty lines delimit sections !!!! + +MaildirStore local +Path ~/Mail/ +Trash Trash + + +IMAPStore work +Host work.host.com +User tehuser +Pass xxxxxxxx +# Fetch password from gnome-keyring: +#PassCmd "gnome-keyring-query get mail_pw" +# Fetch password from .netrc: +#PassCmd "sed -n -e 's,^machine work\\.host\\.com login tehuser password \\(.*\\),\\1,p' < $HOME/.netrc" +# Fetch password from a gpg-encrypted file: +#PassCmd "gpg --quiet --for-your-eyes-only --decrypt $HOME/imappassword.gpg" +# Fetch password from pwmd (http://pwmd.sourceforge.net/): +#PassCmd "echo -ne 'GET myIsp\\tpassword' | pwmc datafile" + +Channel work +Far :work: +Near :local:work +Expunge Near +Sync PullNew Push + + +IMAPStore personal +Host host.play.com +Port 6789 +TLSType None + +Channel personal +Far :personal: +Near :local:personal +Expunge Both +MaxMessages 150 +MaxSize 200k + +IMAPStore remote +Tunnel "ssh -q host.remote.com /usr/sbin/imapd" + +Channel remote +Far :remote: +Near :local:remote + + +Group boxes +Channels work personal remote + + +# Due to the divergent Path suffixes, it's possible to have +# multiple Stores homed in the same directory. +# You could even put them all directly into $HOME. + +MaildirStore local-personal +Path ~/Mail/personal- +Inbox ~/Mail/personal-INBOX + +MaildirStore local-work +Path ~/Mail/work- +# Just because. +Inbox ~/Mail/w0rk_InBoX + +Channel personal-joined +Far :personal: +Near :local-personal: +Patterns * + +Channel work-joined +Far :work: +Near :local-work: +Patterns * + +Group joined personal-joined work-joined + + +IMAPStore st1 +Host st1.domain.com +AuthMech CRAM-MD5 +# Omit if you want to use the system certificate store. +CertificateFile ~/.st1-certificate.crt + +IMAPStore st2 +Host imap.another-domain.com +Path non-standard/ +TLSVersions -1.2 + +Channel rst +Far :st1:somebox +Near :st2: + + +IMAPAccount server +Host imaps:foo.bar.com +# Omit if you want to use the system certificate store. +CertificateFile ~/.server-certificate.crt + +IMAPStore server +Account server +MapInbox inbox +Trash ~/trash +TrashRemoteNew yes + +MaildirStore mirror +Path ~/Maildir/ +SubFolders Verbatim + +Channel o2o +Far :server: +Near :mirror: +Patterns % + +Group partial o2o:inbox,sent-mail,foobar + +# INBOX => server, INBOX.foo => server.foo, etc. +Channel inbox +Far :server:INBOX +Near :mirror:server +Patterns *