[Feature request] Add official Stalwart Mail Server support to the CrowdSec Hub
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- authentication, security
Research direction
Nothing in the payload names a file yet, so start by reading the existing Dovecot collection in the hub repository for the parser, scenario and hubtest layout, and the community bu5hm4nn/crowdsec-stalwart project as a reference. The issue asks for a Stalwart parser and a tested scenario for repeated SMTP and IMAP authentication failures, which needs sanitized sample logs from the requester. It is done when the collection has passing hubtests built on those logs and maintainers have agreed to adopt it.
Written by the indexing model from the issue text.
Description
What would you like to be added?
Please add an officially maintained CrowdSec Hub collection for Stalwart Mail Server.
A useful initial scope would include:
- A parser for Stalwart authentication-related log events
- A tested scenario for repeated SMTP and IMAP authentication failures
- Acquisition and installation instructions
- Sanitized sample logs and hubtest fixtures
Additional scenarios, such as user enumeration, SMTP scanning, ManageSieve or JMAP abuse, could be added where Stalwart's logs provide reliable event and source-IP data.
There is an existing community implementation that may be useful as a reference:
https://github.com/bu5hm4nn/crowdsec-stalwart
Would the CrowdSec maintainers consider reviewing or adopting a first-party implementation in the Hub? I can provide sanitized sample logs and help test it if useful.
Why is this needed?
Stalwart is a modern mail server, but I could not find an officially maintained Stalwart parser or protection collection in the CrowdSec Hub. CrowdSec already provides an official Dovecot collection, so administrators have a supported option for Dovecot logs but need to build or maintain Stalwart support themselves.
The existing crowdsec-stalwart project is community-maintained and is not an official CrowdSec Hub collection. A first-party, tested integration would make Stalwart easier to deploy with CrowdSec and provide users with a clear, maintained path for log acquisition, parsing, and detection.
Stalwart exposes structured event data, while its built-in file tracer writes text logs. The implementation should therefore be based on real, sanitized log samples and tests for the supported Stalwart versions.
- Dominant language
- Python
- Stars
- 257
- Forks
- 235
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 26
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from crowdsecurity/hub
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
crowdsecurity/hub#2020 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
crowdsecurity/hub#2009 ·
Maintainers usually reply within 1 day
-
The Authelia parser (v0.9) doesn't classify `Unsuccessful 1FA authentication attempt by user ''`Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
crowdsecurity/hub#2001 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
crowdsecurity/hub#1999 ·
Maintainers usually reply within 1 day
-
Time format with time zone in Home Assistant parserPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
crowdsecurity/hub#1998 · 6 comments ·
Maintainers usually reply within 1 day
All issues in crowdsecurity/hub
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 62/100
DaoCloud/DaoCloud-docs#7839 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
sav-oss-org/ptusa_main#1610 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug status/accepted type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/apm#4925 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sagemathinc/sagebrush#1701 ·
Maintainers usually reply within 1 day