Skip to content

feat: mail standard filters get_mailstandardfilter read module + CLI - #52

Merged
chmmou merged 1 commit into
mainfrom
feature/mail-filters-read
May 8, 2026
Merged

feat: mail standard filters get_mailstandardfilter read module + CLI#52
chmmou merged 1 commit into
mainfrom
feature/mail-filters-read

Conversation

@chmmou

@chmmou chmmou commented May 8, 2026

Copy link
Copy Markdown
Owner

Summary

Adds internal/mailfilter and kasapi-cli mail filters list, wrapping get_mailstandardfilter to expose the catalog of preset spam/virus filter ids. Third slice of #9.

KAS-API surface

Refs #9.

Add `internal/mailfilter` with typed `StandardFilter` +
`StandardFilterList`, `Client.List`, and the `kasapi-cli mail filters
list` subcommand wrapping `get_mailstandardfilter`. The endpoint takes
no parameters and returns the catalog of preset spam/virus filters
referenced by `mail_spamfilter` on accounts and forwards. Mapping test
runs against the shipped `testdata/mailfilter/` fixture. Refs #9.
@chmmou
chmmou merged commit cf6d382 into main May 8, 2026
1 check passed
@chmmou
chmmou deleted the feature/mail-filters-read branch May 8, 2026 19:40
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.

1 participant