273 |
- "https://$SystemName.$DomainName/server-manager/cgi-bin/sme9admin?state=conf_alert&alert=MaxMailOut"; |
- "https://$SystemName.$DomainName/server-manager/cgi-bin/sme9admin?state=conf_alert&alert=MaxMailOut"; |
274 |
+ "https://$SystemName.$DomainName/server-manager/cgi-bin/sme9admin?state=conf_alert&alert=MaxMailOut", |
+ "https://$SystemName.$DomainName/server-manager/cgi-bin/sme9admin?state=conf_alert&alert=MaxMailOut", |
275 |
+ "\n# tail /var/log/qmail/current\n", |
+ "\n# tail /var/log/qmail/current\n", |
276 |
+ `tail /var/log/qmail/current -n500 |tai64nlocal |grep -P "(starting delivery|delivery) \\d+: (msg \\d+|success|failure|deferral).*(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|CNAME_lookup_failed_temporarily|Sorry,_I_wasn't_able_to_establish_an_SMTP_connection|to remote .*)"`; |
+ `/usr/bin/tail /var/log/qmail/current -n500 |/usr/local/bin/tai64nlocal |/bin/grep -P "(starting delivery|delivery) \\d+: (msg \\d+|success|failure|deferral).*(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|CNAME_lookup_failed_temporarily|Sorry,_I_wasn't_able_to_establish_an_SMTP_connection|to remote .*)"`; |
277 |
}], |
}], |
278 |
[ |
[ |
279 |
"($params{'MaxDiskSpace'} && $pourc_hd_used >= $params{'MaxDiskSpace'})", |
"($params{'MaxDiskSpace'} && $pourc_hd_used >= $params{'MaxDiskSpace'})", |