This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.mutt: fix reply-to behavior with mailbox-specific alternates

Use folder-hooks to set alternates per-mailbox so identities don't overlap.
This prevents mutt from thinking you're replying to yourself when both
sender and recipient are in your various email domains.

+6 -1
+6 -1
tools/mutt/flake-module.nix
··· 157 157 158 158 set sendmail="${msmtp}/bin/msmtp" 159 159 set from="lassulus@lassul.us" 160 - alternates ^.*@lassul\.us$ ^.*@.*\.r$ ^.*@c-base\.org$ ^.*@dedede\.org$ ^.*@clan\.lol$ 160 + alternates ^.*@lassul\.us$ ^lassulus@c-base\.org$ 161 161 unset envelope_from_address 162 162 set use_envelope_from 163 163 set reverse_name 164 164 set markers=no 165 + 166 + # Folder hooks: set alternates per-mailbox so identities don't overlap 167 + folder-hook . "unalternates *; alternates ^.*@lassul\\.us$ ^lassulus@c-base\\.org$; set from=lassulus@lassul.us" 168 + folder-hook "imaps://.*mail\\.clan\\.lol" "unalternates *; alternates ^.*@clan\\.lol$; set from=infra@clan.lol" 169 + folder-hook "imaps://.*mail\\.privateemail\\.com" "unalternates *; alternates ^.*@dedede\\.org$; set from=mail@dedede.org" 165 170 166 171 # Automatically use c-base email when sending/replying to c-base addresses 167 172 send-hook "." "unmy_hdr From"