summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-07-25 02:51:20 +0000
committerbrian m. carlson <sandals@crustytoothpaste.net>2020-07-25 02:51:20 +0000
commitc2224468420e287821a189faaa95637a3db118c3 (patch)
tree43c5d88bb723dbcf5331b8b675e55906562349c8
parente31831e6349e92cfec65cd98a4a597a3730a0553 (diff)
mutt: place quotes around name in From header
RFC 5322 requires that the portion of the From field corresponding to a human name (a display-name) be either one or more atoms or quoted-strings. An atom is not permitted to have dots, so for a name with a dot after the middle initial, it's required to quote the display name. Until recently, Debian's version of mutt did this for us by rewriting the address field. However, it no longer does, and as a consequence, we must produce a syntactically valid From header ourselves, so let's do so.
-rw-r--r--mutt/config/account-auricblue2
-rw-r--r--mutt/config/account-gmail2
-rw-r--r--mutt/config/account-personal2
3 files changed, 3 insertions, 3 deletions
diff --git a/mutt/config/account-auricblue b/mutt/config/account-auricblue
index d9ae526..27740c0 100644
--- a/mutt/config/account-auricblue
+++ b/mutt/config/account-auricblue
@@ -19,7 +19,7 @@ set delete_untag=yes
set postponed="=Drafts"
set pipe_split=yes
# Headers.
-my_hdr From: brian m. carlson <brian@auricblue.com>
+my_hdr From: "brian m. carlson" <brian@auricblue.com>
# Crypto.
set signature=~/.signature-auricblue
# vim: set syntax=muttrc:
diff --git a/mutt/config/account-gmail b/mutt/config/account-gmail
index be059ec..771b0a2 100644
--- a/mutt/config/account-gmail
+++ b/mutt/config/account-gmail
@@ -22,7 +22,7 @@ set postponed="=[Gmail]/Drafts"
set pipe_split=yes
unset record
# Headers.
-my_hdr From: brian m. carlson <bk2204@gmail.com>
+my_hdr From: "brian m. carlson" <bk2204@gmail.com>
# Hooks.
save-hook ~p =Handled
# vim: set syntax=muttrc:
diff --git a/mutt/config/account-personal b/mutt/config/account-personal
index f0ea055..a54b1f2 100644
--- a/mutt/config/account-personal
+++ b/mutt/config/account-personal
@@ -21,7 +21,7 @@ set postponed="=Drafts"
set record="=Sent"
set pipe_split=yes
# Headers.
-my_hdr From: brian m. carlson <sandals@crustytoothpaste.net>
+my_hdr From: "brian m. carlson" <sandals@crustytoothpaste.net>
# Hooks.
save-hook ~p =Handled
# vim: set syntax=muttrc: