add global mail notification
diff --git a/src/server.c b/src/server.c
index 236d6ba..776ba10 100644
--- a/src/server.c
+++ b/src/server.c
@@ -4975,6 +4975,7 @@
srv_append_status(tmptrash, s, NULL, xferred, 0);
ha_warning("%s.\n", tmptrash->area);
+ Emaila("%s \n", tmptrash->area);
/* we don't send an alert if the server was previously paused */
log_level = srv_was_stopping ? LOG_NOTICE : LOG_ALERT;
@@ -5069,6 +5070,7 @@
srv_append_status(tmptrash, s, NULL, xferred, 0);
ha_warning("%s.\n", tmptrash->area);
+ Emaila("%s \n", tmptrash->area);
send_log(s->proxy, LOG_NOTICE, "%s.\n",
tmptrash->area);
send_email_alert(s, LOG_NOTICE, "%s",