mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
fix(update-ngxblocker): use correct unix mail return address flag
This commit is contained in:
parent
ea47ef475c
commit
3685714c44
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ send_email() {
|
|||
${SED_CMD} -i 's/\x1b\[[0-9;]*m//g' $EMAIL_REPORT
|
||||
|
||||
if [ -n "$MG_FROM" ]; then
|
||||
cat $EMAIL_REPORT | $mail_path -f "$MG_FROM" -s "Nginx Bad Bot Blocker Updated" $EMAIL
|
||||
cat $EMAIL_REPORT | $mail_path -r "$MG_FROM" -s "Nginx Bad Bot Blocker Updated" $EMAIL
|
||||
else
|
||||
cat $EMAIL_REPORT | $mail_path -s "Nginx Bad Bot Blocker Updated" $EMAIL
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue