/[smecontribs]/rpms/smeserver-sme9admin/contribs9/smeserver-sme9admin-1.5-bz8818-email_accounting.patch
ViewVC logotype

Diff of /rpms/smeserver-sme9admin/contribs9/smeserver-sme9admin-1.5-bz8818-email_accounting.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Thu Dec 15 18:35:44 2016 UTC Revision 1.2 by unnilennium, Sat Dec 17 15:49:43 2016 UTC
# Line 273  Line 273 
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'})",


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed