]> git.notmuchmail.org Git - notmuch/commit
lib: use 'localhost' rather than fqdn for default mail address.
authorDavid Bremner <david@tethera.net>
Thu, 9 Sep 2021 12:51:03 +0000 (09:51 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 10 Sep 2021 11:17:06 +0000 (08:17 -0300)
commit060ff57642fc74f320761586e244151c04e63755
tree98d7aa47a4da33904723d6c8085d1d042122cc1d
parent63b7837e0d99cb37e518af20896987830435ada1
lib: use 'localhost' rather than fqdn for default mail address.

As discussed in the thread starting at [1], the fully qualified domain
name is a bit tricky to get reproducibly, might reveal information
people prefer to keep private, and somewhat unlikely to provide
reliable mail routing.

The new approach of $current_username@localhost is better for the
first two considerations, and probably at least as good as a test mail
address.

[1]: id:87sfyibqhj.fsf@tethera.net
lib/config.cc
test/T590-libconfig.sh