Commit Graph

123 Commits

Author SHA1 Message Date
1b757b1336 * Thu Sep 04 2025 Brian Read <brianr@koozali.org> 11.1-6.sme
- Add favicon to mailstats table, summary and detailed pages [SME: 13121]
- Bring DB config reading for mailstats itself inline with php summary and detailed logs - using /etc/mailstats/db.php [SME: 13121]
- Remove DB config fields from the SM2 config panel {sme: 13121]
- Arrange for password to be generated and mailstats user to be set with limited permissions [SME: 13121]
2025-09-08 15:24:18 +01:00
52b33e166a Sort out DB params access for mailstats, remove DB config from SM2 2025-09-07 09:18:39 +01:00
88bc38adf3 Add favicon to table, summ,ary and details webpages 2025-09-04 19:28:36 +01:00
b070554fdd Get journal api wrapper working for detailed logs 2025-09-04 13:17:44 +01:00
2dd3d234df Add in two tables on header, sort out permission and ownership of params file 2025-09-04 10:04:25 +01:00
d94bf8e033 Get detail logs page working - WIP 2025-09-03 11:00:00 +01:00
5deb31cd92 Extra security for php part of mailstats web 2025-09-02 11:23:48 +01:00
f86021b8c9 Fix missing blacklist URLs from report 2025-09-02 10:17:26 +01:00
a77cb094df Optimise journal access speeding up processing 2025-09-02 08:48:48 +01:00
d81543187f * Mon Sep 01 2025 Brian Read <brianr@koozali.org> 11.1-4.sme
- More fixes for Journal bytes instead of characters [SME: 13117]
2025-09-01 15:29:28 +01:00
76ca0f528c * Mon Sep 01 2025 Brian Read <brianr@koozali.org> 11.1-3.sme
- Sort out ASCII escape codes in return from journalctl API  [SME: 13117]
- Add in Status enabled t default for mailstats DB [SME: 13118]
2025-09-01 10:37:44 +01:00
056992272d * Sun Apr 06 2025 Brian Read <brianr@koozali.org> 11.1-2.sme
- Add in SM2 panel [SME: ]
2025-08-30 11:03:52 +01:00
34fd81cd51 Fix crash when no emails found 2025-06-18 06:29:38 +01:00
1258b41ad8 Move log to /var/log, make most messages DEBUG and log INFO start and finish 2025-04-12 12:37:09 +01:00
9453031df3 Restore greyed print date (regression) 2025-04-12 12:03:15 +01:00
756e0f94c3 Make text version a bit more readable 2025-04-12 11:52:07 +01:00
f885ab684e Supress prev and next links when inside iframe 2025-04-10 19:48:59 +01:00
7504f32ce7 Add tooltips to black lists 2025-04-10 12:18:05 +01:00
9dc7d3d7a1 forgot mailstats-custom changes 2025-04-10 09:17:59 +01:00
89475c0aa3 Enable/disable rbl,sbl,uribl setting according to db property 2025-04-10 09:02:57 +01:00
b513dfc9be Make country codes update respect any extra ones added manaually 2025-04-09 11:00:44 +01:00
32d91c4a24 Sort out text version of table etc 2025-04-08 18:57:30 +01:00
2d1824553b Typo in TagLevel processing 2025-04-07 18:18:29 +01:00
e610abd351 Fix up various typos caused by global editting 2025-04-07 18:11:31 +01:00
8d8c97d1fa Get table display by date working on front page of mailstats panel 2025-04-07 14:31:16 +01:00
a58191f667 Update to mailstats panel 2025-04-06 20:32:49 +01:00
7fcdfccfa6 Add in code for mailstats panel in SM2 - not complete 2025-04-05 12:19:40 +01:00
cd4a0b1725 Move to use logging lib for logs, update runmailstats.sh for no manipulation of logs files 2025-04-04 10:20:07 +01:00
3b0b574171 Fix SQL creation of user and move log anaysis to use python systemd - journal lib 2025-04-03 20:15:41 +01:00
da71021889 Switch graphs to matplotlib which does not require internet access 2025-03-31 08:44:27 +01:00
4d29da7f3d Correct links to mailstats webpage, add -q to pip3 in spec 2025-03-28 12:22:55 +00:00
736315d47e Add in Blacklist sub report 2025-03-28 11:19:01 +00:00
40daa827c4 Add threshold for subtables 2025-03-28 05:42:48 +00:00
2d54c4f7f5 Sort out switch to pymysql and add SME10 log convert and runmailstats for SME10 2025-01-13 18:50:30 +00:00
fce93e1dcd Sort out css and html for subtables 2025-01-12 16:38:56 +00:00
eff56815da Minor change to format for port count label format 2025-01-12 07:30:45 +00:00
d1ddf5d04c Stremaline some table headings and add counts of port used by incoming email 2025-01-11 16:19:27 +00:00
f2f4078bb8 Comment out W3c icons on table until I've finished and can check it 2025-01-11 11:35:16 +00:00
9bfaa754e6 Take out extraneous characters from python version 2025-01-11 11:29:50 +00:00
9739f78b19 Fix up format according to actual log 2025-01-11 11:12:02 +00:00
d4961059b6 Fix junk mail counts table 2025-01-10 09:30:26 +00:00
93b5eb22ab Fix virus counts in sub table 2025-01-10 09:18:33 +00:00
f57b0c6e43 Fix recipient email counts 2025-01-09 10:41:12 +00:00
dce1df37db changes to SMTP connect type stats 2025-01-06 16:48:43 +00:00
e1250779de Fix up recipient email and qpsmtpd plugin counts 2025-01-05 18:15:42 +00:00
372d2b45dd Add in recipient email table 2025-01-02 09:50:44 +00:00
9be485a1a9 Add in q/s/u psmtpd counts 2024-12-31 15:51:48 +00:00
9ebe02b80e More fixes for log format and make perl and python run from same datafile 2024-12-31 13:34:23 +00:00
20a8d3b4ef Edit python mailstats.py to accomodate new log format 2024-12-30 15:20:28 +00:00
51dd523249 update runmailstats.sh for new log names 2024-12-30 14:29:39 +00:00