Logger "Cannot send alert email via /usr/local/bin/mail.php (pfsense) !!!""WARN"
else
Logger "Sent alert mail using pfSense mail.php.""NOTICE"
return0
fi
fi
# If function has not returned 0 yet, assume it's critical that no alert can be sent
Logger "Cannot send alert (neither mutt, mail, sendmail nor sendemail found).""ERROR"# Is not marked critical because execution must continue
Logger "Cannot send alert (neither mutt, mail, sendmail, sendemail or pfSense mail.php found)." "ERROR"# Is not marked critical because execution must continue
Logger "Cannot send alert email via /usr/local/bin/mail.php (pfsense) !!!""WARN"
else
Logger "Sent alert mail using pfSense mail.php.""NOTICE"
return0
fi
fi
# If function has not returned 0 yet, assume it's critical that no alert can be sent
Logger "Cannot send alert (neither mutt, mail, sendmail nor sendemail found).""ERROR"# Is not marked critical because execution must continue
Logger "Cannot send alert (neither mutt, mail, sendmail, sendemail or pfSense mail.php found)." "ERROR"# Is not marked critical because execution must continue
Logger "Cannot send alert email via /usr/local/bin/mail.php (pfsense) !!!""WARN"
else
Logger "Sent alert mail using pfSense mail.php.""NOTICE"
return0
fi
fi
# If function has not returned 0 yet, assume it's critical that no alert can be sent
Logger "Cannot send alert (neither mutt, mail, sendmail nor sendemail found).""ERROR"# Is not marked critical because execution must continue
Logger "Cannot send alert (neither mutt, mail, sendmail, sendemail or pfSense mail.php found)." "ERROR"# Is not marked critical because execution must continue