refactor(tazjin/emacs): Switch to sending mail via lieer

This drops the msmtp requirement from my configuration; there's still
some cleanup to be done but I need to double-check this in a few
environments first.

Change-Id: I298f4ff77b45cb214fbccee84e9bbd861508d11a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3132
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2021-05-22 21:38:48 +02:00 committed by tazjin
parent 687f978b1c
commit 4a807040a2
5 changed files with 7 additions and 59 deletions

View file

@ -25,8 +25,10 @@
(setq notmuch-show-empty-saved-searches t)
;; Mail sending configuration
(setq send-mail-function 'sendmail-send-it) ;; sendmail provided by MSMTP
(setq notmuch-always-prompt-for-sender t)
(setq sendmail-program "gmi") ;; lieer binary supports sendmail emulation
(setq message-sendmail-extra-arguments
'("send" "--quiet" "-t" "-C" "~/mail/account.tazjin"))
(setq send-mail-function 'sendmail-send-it)
(setq notmuch-mua-user-agent-function
(lambda () (format "Emacs %s; notmuch.el %s" emacs-version notmuch-emacs-version)))
(setq mail-host-address (system-name))

View file

@ -1,7 +1,7 @@
{ depot, lib, pkgs, ... }:
config: let
inherit (depot.third_party) lieer;
inherit (pkgs) lieer;
quasselClient = pkgs.quassel.override {
client = true;

View file

@ -211,7 +211,6 @@ in lib.fix(self: {
# programs from the depot
(with depot; [
screenLock
third_party.lieer
tools.nsfv-setup
users.tazjin.emacs
]) ++
@ -238,6 +237,7 @@ in lib.fix(self: {
iftop
imagemagick
jq
lieer
manpages
mosh
msmtp
@ -247,8 +247,8 @@ in lib.fix(self: {
notmuch
openssh
openssl
pass
paperlike-go
pass
pavucontrol
pinentry
pinentry-emacs