From e10f27785498a10cfc22de8c89f76defa98c4599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Wed, 9 Nov 2022 20:25:44 +0100 Subject: [PATCH] Add crew@pub.solar config --- users/ben/.config/msmtp/config | 10 +++++++ users/ben/.config/mutt/crew@pub.solar.muttrc | 19 ++++++++++++ .../ben/.config/mutt/crew@pub.solar.signature | 8 +++++ users/ben/.config/offlineimap/config | 29 ++++++++++++++----- users/ben/home.nix | 11 ++++--- 5 files changed, 66 insertions(+), 11 deletions(-) create mode 100644 users/ben/.config/mutt/crew@pub.solar.muttrc create mode 100644 users/ben/.config/mutt/crew@pub.solar.signature diff --git a/users/ben/.config/msmtp/config b/users/ben/.config/msmtp/config index dc324118..d3fc920b 100644 --- a/users/ben/.config/msmtp/config +++ b/users/ben/.config/msmtp/config @@ -48,6 +48,16 @@ account admins@pub.solar tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt +account crew@pub.solar + host mail.greenbaum.cloud + port 587 + protocol smtp + auth on + from crew@pub.solar + user crew@pub.solar + tls on + tls_trust_file /etc/ssl/certs/ca-certificates.crt + account mail@b12f.io host mail.b12f.io port 587 diff --git a/users/ben/.config/mutt/crew@pub.solar.muttrc b/users/ben/.config/mutt/crew@pub.solar.muttrc new file mode 100644 index 00000000..29d85931 --- /dev/null +++ b/users/ben/.config/mutt/crew@pub.solar.muttrc @@ -0,0 +1,19 @@ +# vim: filetype=muttrc + +set from = "pub.solar crew " +set sendmail = "msmtp -a crew@pub.solar" +set signature = "~/.config/mutt/crew@pub.solar.signature" + +set mbox_type = Maildir +set folder = ~/Mail +set spoolfile = "+crew\@pub.solar/INBOX" +set postponed = "+crew\@pub.solar/Drafts" +set record = "+crew\@pub.solar/Sent" +set trash = "+crew\@pub.solar/Trash" +mbox-hook = "+crew\@pub.solar/Archive" +unmailboxes * +mailboxes +crew\@pub.solar/INBOX \ + +crew\@pub.solar/Drafts \ + +crew\@pub.solar/Sent \ + +crew\@pub.solar/Archive \ + +crew\@pub.solar/Trash diff --git a/users/ben/.config/mutt/crew@pub.solar.signature b/users/ben/.config/mutt/crew@pub.solar.signature new file mode 100644 index 00000000..4755ed6a --- /dev/null +++ b/users/ben/.config/mutt/crew@pub.solar.signature @@ -0,0 +1,8 @@ + +pub.solar crew (they/them) + +MAIL: crew@pub.solar +MASTODON: @crew@pub.solar +GIT: git.b12f.io/pub-solar +MATRIX: #general:pub.solar +WEB: pub.solar diff --git a/users/ben/.config/offlineimap/config b/users/ben/.config/offlineimap/config index d277ebe0..0313206c 100644 --- a/users/ben/.config/offlineimap/config +++ b/users/ben/.config/offlineimap/config @@ -1,7 +1,7 @@ [general] pythonfile = $XDG_CONFIG_HOME/offlineimap/functions.py metadata = $XDG_DATA_HOME/offlineimap -accounts = BBEU, MiOM, PubSolar, b12f, RWTH +accounts = BBEU, MiOM, AdminsPubSolar, CrewPubSolar, b12f, RWTH [Account BBEU] localrepository = LocalBBEU @@ -48,21 +48,36 @@ remoteuser = byb@miom.space remotepasseval = get_secret("service", "smtp", "host", "mail.hosting.de", "user", "byb@miom.space") sslcacertfile = /etc/ssl/certs/ca-certificates.crt -[Account PubSolar] -localrepository = LocalPubSolar -remoterepository = RemotePubSolar +[Account AdminsPubSolar] +localrepository = LocalAdminsPubSolar +remoterepository = RemoteAdminsPubSolar -[Repository LocalPubSolar] +[Repository LocalAdminsPubSolar] type = Maildir -localfolders = ~/Mail/byb@miom.space +localfolders = ~/Mail/admins@pub.solar -[Repository RemotePubSolar] +[Repository RemoteAdminsPubSolar] type = IMAP remotehost = mail.greenbaum.cloud remoteuser = admins@pub.solar remotepasseval = get_secret("service", "smtp", "host", "mail.greenbaum.cloud", "user", "admins@pub.solar") sslcacertfile = /etc/ssl/certs/ca-certificates.crt +[Account CrewPubSolar] +localrepository = LocalCrewPubSolar +remoterepository = RemoteCrewPubSolar + +[Repository LocalCrewPubSolar] +type = Maildir +localfolders = ~/Mail/crew@pub.solar + +[Repository RemoteCrewPubSolar] +type = IMAP +remotehost = mail.greenbaum.cloud +remoteuser = crew@pub.solar +remotepasseval = get_secret("service", "smtp", "host", "mail.greenbaum.cloud", "user", "crew@pub.solar") +sslcacertfile = /etc/ssl/certs/ca-certificates.crt + [Account b12f] localrepository = Localb12f remoterepository = Remoteb12f diff --git a/users/ben/home.nix b/users/ben/home.nix index 5498e8c5..1e9388bc 100644 --- a/users/ben/home.nix +++ b/users/ben/home.nix @@ -80,8 +80,9 @@ in macro index 'source $XDG_CONFIG_HOME/mutt/benjamin.baedorf@rwth-aachen.de.muttrc!' macro index 'source $XDG_CONFIG_HOME/mutt/b.baedorf@openproject.com.muttrc!' macro index 'source $XDG_CONFIG_HOME/mutt/byb@miom.space.muttrc!' - macro index 'source $XDG_CONFIG_HOME/mutt/admins@pub.solar.muttrc!' - macro index 'source $XDG_CONFIG_HOME/mutt/mail@b12f.io.muttrc!' + macro index 'source $XDG_CONFIG_HOME/mutt/mail@b12f.io.muttrc!' + macro index 'source $XDG_CONFIG_HOME/mutt/admins@pub.solar.muttrc!' + macro index 'source $XDG_CONFIG_HOME/mutt/crew@pub.solar.muttrc!' ''; xdg.configFile."mutt/hello@benjaminbaedorf.eu.muttrc".source = ./.config/mutt + "/hello@benjaminbaedorf.eu.muttrc"; xdg.configFile."mutt/benjamin.baedorf@rwth-aachen.de.muttrc".source = ./.config/mutt + "/benjamin.baedorf@rwth-aachen.de.muttrc"; @@ -90,10 +91,12 @@ in xdg.configFile."mutt/b.baedorf@openproject.com.signature".source = ./.config/mutt + "/b.baedorf@openproject.com.signature"; xdg.configFile."mutt/byb@miom.space.muttrc".source = ./.config/mutt + "/byb@miom.space.muttrc"; xdg.configFile."mutt/byb@miom.space.signature".source = ./.config/mutt + "/byb@miom.space.signature"; - xdg.configFile."mutt/admins@pub.solar.muttrc".source = ./.config/mutt + "/admins@pub.solar.muttrc"; - xdg.configFile."mutt/admins@pub.solar.signature".source = ./.config/mutt + "/admins@pub.solar.signature"; xdg.configFile."mutt/mail@b12f.io.muttrc".source = ./.config/mutt + "/mail@b12f.io.muttrc"; xdg.configFile."mutt/mail@b12f.io.signature".source = ./.config/mutt + "/mail@b12f.io.signature"; + xdg.configFile."mutt/admins@pub.solar.muttrc".source = ./.config/mutt + "/admins@pub.solar.muttrc"; + xdg.configFile."mutt/admins@pub.solar.signature".source = ./.config/mutt + "/admins@pub.solar.signature"; + xdg.configFile."mutt/crew@pub.solar.muttrc".source = ./.config/mutt + "/crew@pub.solar.muttrc"; + xdg.configFile."mutt/crew@pub.solar.signature".source = ./.config/mutt + "/crew@pub.solar.signature"; xdg.configFile."offlineimap/config".source = ./.config/offlineimap/config; xdg.configFile."msmtp/config".source = ./.config/msmtp/config; # xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;