Skip to content

Commit

Permalink
Fix more issues in notification.
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <volker.theile@openmediavault.org>
  • Loading branch information
votdev committed Oct 22, 2020
1 parent 9ba4149 commit fca7f9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions administration/general/notifications.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Notifications
#############


Notifications work in the form of email. The backend software used here is postfix [1]_ configured as a MTA in satellite mode. The options allow to configure to send mail via SMTP servers using the standard port or use SSL/TLS. The |webui| allows inputing two delivery addresses. Both are assigned to the root user.
Notifications work in the form of email. The backend software used here is postfix [1]_ configured as a MTA in satellite mode. The options allow to configure to send mail via SMTP servers using the standard port or use SSL/TLS. The |webui| allows the configuration of two recipient addresses. Both are assigned to the root user.


Configuration
Expand All @@ -18,7 +18,7 @@ The central MTA configuration is stored in :file:`/etc/postfix/main.cf`

When a scheduled task is defined to run as a certain user the output generated from that task, will be sent to that user defined mail.

The last line is the catch all address. For example a scheduled task set to be run as user with no mail defined in their profile will get the output generated sent to the catch all address (``rootthe@gmail.com``). The same will happen with any other mail action intended for an undefined user (not in that list)
The last line is the catch all address. For example a scheduled task set to be run as user with no mail defined in their profile will get the output generated sent to the catch all address (``rootthe@gmail.com``). The same will happen with any other mail action intended for an undefined user (not in that list).

Mails can be sent from terminal also with mail command. :command:`mail` receives from stdin.

Expand Down Expand Up @@ -59,13 +59,13 @@ The server will send notifications for this events:
- Cron-apt: Summary of upgrade packages available. [D]
- SMART: Report of attribute changes. [D]

Options marked with [D] can be disabled selectivly. The rest only when the whole notification backend is disabled.
Options marked with [D] can be disabled selectively. The rest only when the whole notification backend is disabled.


Gmail
=====

Gmail can be used in notifications. If you have 2FA enabled for the account, then is necessary to create an `app password <https://myaccount.google.com/apppasswords>`_ ::.
Gmail can be used in notifications. If you have 2FA enabled for the account, then is necessary to create an `app password <https://myaccount.google.com/apppasswords>`_. Please use the following settings::

SMTP Server: smtp.gmail.com
SMTP Port: 587
Expand Down

0 comments on commit fca7f9f

Please sign in to comment.