From c78ce16f062a730d425eabb1fef16a37560d8793 Mon Sep 17 00:00:00 2001 From: Dave Cottlehuber Date: Sun, 12 Jan 2025 14:50:59 +0000 Subject: [PATCH] handbook/mail: add note about gmail needing app passwords --- documentation/content/en/books/handbook/mail/_index.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/documentation/content/en/books/handbook/mail/_index.adoc b/documentation/content/en/books/handbook/mail/_index.adoc index 48f58ef4c1ce..d20c637b101c 100644 --- a/documentation/content/en/books/handbook/mail/_index.adoc +++ b/documentation/content/en/books/handbook/mail/_index.adoc @@ -138,6 +138,12 @@ Authentication can be set with one line in [.filename]#/etc/dma/auth.conf#: username@gmail.com|smtp.gmail.com:password .... +[NOTE] +If you have 2-factor authentication enabled, you will need to generate an +application-specific password as your normal login password will be +rejected. See google documentation for more information on +https://myaccount.google.com/apppasswords[app-specific passwords]. + Execute the following command to test the configuration: [source,shell]