aboutsummaryrefslogtreecommitdiffstats
path: root/config/aerc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/aerc.conf')
-rw-r--r--config/aerc.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index a980c70e..384a0db3 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -297,6 +297,18 @@ address-book-cmd=
# Default: true
reply-to-self=true
+#
+# Warn before sending an email that matches the specified regexp but does not
+# have any attachments. Leave empty to disable this feature.
+#
+# Uses Go's regexp syntax, documented at https://golang.org/s/re2syntax. The
+# "(?im)" flags are set by default (case-insensitive and multi-line).
+#
+# Example:
+# no-attachment-warning=^[^>]*attach(ed|ment)
+#
+no-attachment-warning=
+
[filters]
#
# Filters allow you to pipe an email body through a shell command to render