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
2dd3d234df
Add in two tables on header, sort out permission and ownership of params file
2025-09-04 10:04:25 +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
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
32d91c4a24
Sort out text version of table etc
2025-04-08 18:57:30 +01:00
e610abd351
Fix up various typos caused by global editting
2025-04-07 18:11:31 +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
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
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
076e844898
Update spec file with python requirements
2024-12-18 06:35:42 +01:00
b661e436fb
grey out web page printed date
2024-07-15 21:59:54 +01:00
7eb3ff0048
Ignore the mailstats email
2024-07-15 10:26:52 +01:00
a1c9a698ee
Arrange to remeber the tab selected in web page
2024-07-15 06:35:15 +01:00
7ad144e3b0
More refinements to graphs
2024-07-14 12:13:41 +01:00
aa0ebc76e9
Move graph data and nav html inline to template
2024-07-14 08:20:09 +01:00
a9be56deae
Refine the stacked bar graph
2024-07-13 11:12:18 +01:00
e014d91060
derive graphs from main table
2024-07-12 20:09:13 +01:00
b0c63e61fd
Update comment on front of file
2024-07-01 09:14:22 +01:00
4997bbffa2
more format for the table plus supress links when no database saved
2024-07-01 08:54:19 +01:00
ce1db0a31b
Delete sql records for current day stats
2024-06-30 12:19:31 +01:00
c5a708a382
Add in soft failure for sql delete
2024-06-28 10:41:04 +01:00
906448378f
Option to write out the summary logs to DB
2024-06-27 14:58:38 +01:00
68928375d8
Add in rejected flag in Badcountry table
2024-06-25 14:20:11 +01:00
1ef07f3acc
Typo fix
2024-06-25 12:53:58 +01:00
0947689c0f
FRix counts for naughty failures - dns, karma and helo
2024-06-19 22:44:21 +01:00
44b811d09e
Correct names of fields in summary record
2024-06-19 09:14:57 +01:00