8000 Record the name of the original plugin by dani · Pull Request #256 · smtpd/qpsmtpd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Record the name of the original plugin #256

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

Merged
merged 1 commit into from
Apr 25, 2016
Merged

Record the name of the original plugin #256

merged 1 commit into from
Apr 25, 2016

Conversation

dani
Copy link
Contributor
@dani dani commented Apr 21, 2016

When using the naughty plugin to defer rejection, we loose the name of the original plugin which caused the reject.
Especially when we parse the logterse plugin output to build graphs. With this addition, we can now get this information back. Eg, before:

2016-04-21 15:02:29.006734500 26288 (deny) logging::logterse: ` 1.2.3.4 mx.bad.biz mx.bad.biz fws@bad.biz dani@home.org naughty 903 very bad karma: -7 msg denied before queued

After:

2016-04-21 15:02:29.006734500 26288 (deny) logging::logterse: ` 1.2.3.4 mx.bad.biz mx.bad.biz fws@bad.biz dani@home.org naughty 903 (karma) very bad karma: -7 msg denied before queued

When using the naughty plugin to defer rejection, we loose the name of the original plugin which caused the reject.
Especially when we parse the logterse plugin output to build graphs. With this addition, we now can get this information back
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 49.255% when pulling 15835d5 on dani:naughty_orig_plugin into 5e157d2 on smtpd:master.

@msimerson msimerson merged commit 9f599f9 into smtpd:master Apr 25, 2016
@dani dani deleted the naughty_orig_plugin branch May 4, 2016 20:36
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.

4 participants
0