diff --git a/faq.html b/faq.html index 22c33ad6..210a66e4 100644 --- a/faq.html +++ b/faq.html @@ -964,8 +964,10 @@ How do I configure GMAIL email notifications on Linux?
To securely send notifications through Gmail on Linux, follow these steps:
+-1. Create the file: Create a file named .netrc in the home directory of the user specified in notify_run_as_user. +Create the file: Create a file named .netrc in the home directory of the user specified in notify_run_as_user.
@@ -977,11 +979,15 @@ password your-16-char-app-passwordNote: You must use a Google "App Password," not your primary account password.
+
-2. Set Permissions: Secure the file using chmod 600 ~/.netrc. If permissions are too open or the file is owned by the wrong user, curl will return Error 55. +Set Permissions: Secure the file using chmod 600 ~/.netrc. If permissions are too open or the file is owned by the wrong user, curl will return Error 55.
+-3. Configure the Command: +Configure the Command:
@@ -989,6 +995,8 @@ notify_result = curl --netrc --url smtps://smtp.gmail.com:465 --ssl-reqd --mail-
--mail-rcpt your_email@gmail.com --upload-file -
+