Commit Graph
10 Commits
Author SHA1 Message Date
robott fdacdf8dae update mail-status
Path Validation (Directory Traversal): Added a strict check for the --log-dir argument. The script now only accepts /var/log or /var/log/mail to prevent it from processing malicious files if a user tries to pass an arbitrary path.

Secure Temp Files: Replaced the hardcoded /tmp/ directory with the environment-aware ${TMPDIR:-/tmp}/ everywhere mktemp is used, so the script respects the host operating system's settings.

LOCK File Security: Appended the user identifier (${UID}) to the LOCK file name (e.g., postfix_summary_${UID}.lock). This prevents a scenario where one user locks out execution for all other users on the system.
2026-09-07 17:15:16 +02:00
robott cb3678ed5e update mail-status rework
rework script
2026-09-07 09:26:11 +02:00
robott c5e42d3a3f update mail-status
rework script 
add better help
add -S 
and more QQ
2026-09-07 08:53:26 +02:00
robott 1cafd05a66 update mail-status
add -a IP
add -c export csv
fix logs redhat/debian
2026-09-07 08:41:49 +02:00
robott 61245fc8ad update mail-status
fix problem "Sep  6" "Sep 6" problem if sinngle date need 2x space
2026-09-06 11:38:36 +02:00
robott ebf6e16cfd new top 2026-03-27 22:11:45 +01:00
robott 209af5f0e0 add graylisting 2026-03-27 19:27:10 +01:00
robott b2fec3f7e8 Update mail-status.sh 2026-03-27 19:19:00 +01:00
robott 04fff874e3 Update mail-status.sh 2026-03-27 18:54:49 +01:00
robott 2c4ac98ff8 add mail-status file 2026-03-27 16:55:12 +01:00