Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for header_check prepend log pattern #145

Merged
merged 2 commits into from
Apr 5, 2020

Conversation

eltrai
Copy link
Contributor

@eltrai eltrai commented Mar 30, 2020

This commit adds support to a new type of cleanup messages, which can be generated when a header_check is configured with the prepend action.

Such logs are of the form: 48rT2v1hQrz1J0N: prepend: header X-Spam-Status: Yes, score=45.1 required=10.0 tests=ADVANCE_FE from mx2.example.org[192.0.2.41]; from=<SRS0=1sN3=5P=example.org=noreply@srs.example.org> to=<recipient@example.net> proto=ESMTP helo=<mx2.example.org>: X-Spam-Status: Yes

I also edited the README.md since I found out that the minitest gem was necessary (which was not indicated).

@whyscream
Copy link
Owner

Hi @eltrai thanks for the PR, looks great!

@whyscream whyscream merged commit dc3ba28 into whyscream:master Apr 5, 2020
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