From baf21e031ca5e6f018da001969ee4e275fbe6938 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 17 Aug 2025 23:05:35 +0200 Subject: [PATCH] fix(mail): outgoing mails did not go go Incompatilility between Neomutt and MSMTP parameters --- flake.lock | 6 +++--- modules/home-manager/accounts/email/default.nix | 2 ++ modules/home-manager/accounts/email/files/theme.muttrc | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 0932201..b535dee 100644 --- a/flake.lock +++ b/flake.lock @@ -61,10 +61,10 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1754945619, - "narHash": "sha256-kcvY8kUakGwUUWvk6mgIbp5Xj2ABsjj0oBcKQ3MtjTM=", + "lastModified": 1755188789, + "narHash": "sha256-8s6kwLLQ9MlDuL5F7OH6MZWOqkhmbgcWkh8MQJ1pmhs=", "ref": "main", - "rev": "6878e000fef8449ed6d640436a3bc630fa8788b2", + "rev": "3ab6e74c67efd3af2be6d13b286b715e3f404e05", "shallow": true, "type": "git", "url": "ssh://git@git.epha.se:24422/ephase/nix-private.git" diff --git a/modules/home-manager/accounts/email/default.nix b/modules/home-manager/accounts/email/default.nix index 0f9b089..e746ad8 100644 --- a/modules/home-manager/accounts/email/default.nix +++ b/modules/home-manager/accounts/email/default.nix @@ -134,6 +134,7 @@ in edit_headers = "yes"; send_charset = "utf-8"; envelope_from = "yes"; + use_envelope_from = "no"; my_status = "' %o/%m  | %l 󰉉 | %f %* Sort: %s-%S Pos: %P '"; my_pager = "'  %F |  %s %* Pos: %P '"; compose_format = "' COMPOSE  %a | 󰉉 %l'"; @@ -145,6 +146,7 @@ in }; extraConfig = '' ${(builtins.readFile ./files/theme.muttrc)} + set reverse_name charset-hook ^iso-8859-1$ cp1252 ignore * diff --git a/modules/home-manager/accounts/email/files/theme.muttrc b/modules/home-manager/accounts/email/files/theme.muttrc index e3e0baa..307911e 100644 --- a/modules/home-manager/accounts/email/files/theme.muttrc +++ b/modules/home-manager/accounts/email/files/theme.muttrc @@ -20,6 +20,7 @@ color indicator color21 color19 # inverse, brighter color status color00 color06 ' Pos: ([[:alnum:]]|%)+ ' color status color20 color19 ' Sort: ([[:alpha:]]|-)+ ' +color status color18 color04 ' COMPOSE ' # Message Index ----------------------------------------------------------------