summaryrefslogtreecommitdiff
path: root/config/aerc.conf
diff options
context:
space:
mode:
authorVictor Freire <victor@freire.dev.br>2022-04-19 16:14:46 -0300
committerRobin Jarry <robin@jarry.cc>2022-04-25 12:06:09 +0200
commit8db09d2c73e5110064c4862e041021f552609018 (patch)
treef6acf3807d0fe3781c675020d98ecf29fdda6e8c /config/aerc.conf
parentf21916ce0a436e00e3c9d8eaf0d89c3b29a424b6 (diff)
downloadaerc-8db09d2c73e5110064c4862e041021f552609018.zip
config: add unsafe-accounts-conf option
This adds the option "unsafe-accounts-conf" under the section [general] of aerc.conf. This allows an user to specify if the accounts.conf file must be restrict to be read by the file owner (0600). By default it is set to "false". Signed-off-by: Victor Freire <victor@freire.dev.br> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/aerc.conf')
-rw-r--r--config/aerc.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 458f635..00c6c49 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -1,6 +1,16 @@
#
# aerc main configuration
+[general]
+#
+# By default, the file permissions of accounts.conf must be restrictive and
+# only allow reading by the file owner (0600). Set this option to true to
+# ignore this permission check. Use this with care as it may expose your
+# credentials.
+#
+# Default: false
+unsafe-accounts-conf=false
+
[ui]
#
# Describes the format for each row in a mailbox view. This field is compatible