aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-09-13 17:12:12 +0200
committerRobin Jarry <robin@jarry.cc>2022-09-14 20:51:40 +0200
commit94bff9130d4e0a3b93563792f141444b5083fe51 (patch)
tree81bc92e4cb7816ad598d46363edbeaa723d59dfe /config
parent37c1db2ab22b892cc41c8d663a359fc6ebe12e31 (diff)
downloadaerc-94bff9130d4e0a3b93563792f141444b5083fe51.tar.gz
config: add option to hide timezone in sent emails
Some people are worried that they might leak their timezone and wish to send their mails with the Date header in UTC. For this a new key is added to the account sections to enforce sending in UTC instead of the system's timezone. Suggested-by: "Ricardo Correia" <aerc-lists.sr.ht@wizy.org> Thanks: to Ricardo for checking and correcting my incorrect assertions Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'config')
-rw-r--r--config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index e7e4de03..61ee3b3f 100644
--- a/config/config.go
+++ b/config/config.go
@@ -163,6 +163,7 @@ type AccountConfig struct {
EnableFoldersSort bool `ini:"enable-folders-sort"`
FoldersSort []string `ini:"folders-sort" delim:","`
AddressBookCmd string `ini:"address-book-cmd"`
+ SendAsUTC bool `ini:"send-as-utc"`
// CheckMail
CheckMail time.Duration `ini:"check-mail"`