I want to ask how I can do Asterisk send me an email when it’s stopped and when someone tries to log in unsuccessfully?
I loaded the directory
and changed the email settings
CLIARGS="$*" # Grab any args passed to safe_asterisk
TTY=9 # TTY (if you want one) for Asterisk to run on
CONSOLE=yes # Whether or not you want a console
NOTIFY=ben@mydomain # Email address for crash notifications
but I do not receive the email, the server has a mail server installed and receives and sends emails.
OS my server : Debian 9
Thanks in advance for your help