Had to replace camtel.net with
This commit is contained in:
parent
f334b8d66e
commit
0911f7b134
@ -12,6 +12,7 @@ TEST=0
|
||||
## Email addresses
|
||||
NOTIFY_EMAIL=recipient@domain.com
|
||||
MAIL_FROM=username@domain.net
|
||||
FROM_DOMAIN=` echo $FROM_EMAIL | cut -d @ -f 2 `
|
||||
DAMAIN=` echo $NOTIFY_EMAIL | cut -d @ -f 2 `
|
||||
|
||||
# END: Variables
|
||||
@ -38,7 +39,7 @@ do_emergency_email () {
|
||||
|
||||
## Commands to send email manually
|
||||
local -a commands=(
|
||||
"ehlo camtel.net\n"
|
||||
"ehlo $FROM_DOMAIN\n"
|
||||
"mail from: <$MAIL_FROM>\n"
|
||||
"rcpt to: <$NOTIFY_EMAIL>\n"
|
||||
"data\n"
|
||||
|
Loading…
Reference in New Issue
Block a user