Translations:Notification module/3/en: различия между версиями
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу Translations:Модуль уведомлений/3/en в Translations:Notification module/3/en без оставления перенаправления: Часть переводимой страницы Модуль уведомлений.) |
Matveevrj (обсуждение | вклад) |
||
Строка 2: | Строка 2: | ||
<syntaxhighlight lang="linux-config"> | <syntaxhighlight lang="linux-config"> | ||
mailhub=smtp.gmail.com:587 | mailhub=smtp.gmail.com:587 | ||
AuthUser=robot@ | AuthUser=robot@wirenboard.com | ||
AuthPass=qwerty12345 | AuthPass=qwerty12345 | ||
UseTLS=Yes | UseTLS=Yes |
Текущая версия на 17:38, 7 декабря 2023
Clear the contents of "/etc/ssmtp/ssmtp.conf" and fill in such lines, replacing the data with your own:
mailhub=smtp.gmail.com:587
AuthUser=robot@wirenboard.com
AuthPass=qwerty12345
UseTLS=Yes
UseSTARTTLS=Yes
#be sure to leave an empty line at the end of the file
#To send emails via Google Mail, you must allow sending emails from untrusted apps to your Google account
To verify that sending email is working, run the console command:
echo 'Test message to check sSMTP new configuration' | ssmtp ivanov@gmail.com
# instead ivanov@gmail.com substitute the address of your other box (for example, where you are going to receive notifications from the controller)