Skip to content

Conversation

@barateza
Copy link
Contributor

@barateza barateza commented Jan 8, 2026

Calculate traffic usage for Courier services by parsing server mail logs.

Calculate traffic usage for Courier services by parsing server mail logs.
@barateza
Copy link
Contributor Author

barateza commented Jan 8, 2026

@sibprogrammer for review

@sibprogrammer sibprogrammer self-requested a review January 14, 2026 14:59
@sibprogrammer
Copy link
Member

Please use kebab-case instead of snake_case for the directory name and script to comply with the rules used for the rest of the repository.

Replaces the shell-based courier_traffic.sh script with a new Python implementation (courier-traffic.py) in the verify-courier-imap-stats directory. Updates directory naming for consistency and removes the old shell script.
@barateza
Copy link
Contributor Author

Function split into chunks as suggested: helpers for arg parsing, date iteration, line parsing, domain/user lookup, usage accumulation, and per-day printing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants