Skip to content

Commit

Permalink
Merge pull request #4 from haraka/release-1.0.6
Browse files Browse the repository at this point in the history
- fix #2 change Spamhaus defaults to not assume errors as positives
- warn instead of debug when result do not validate
- test: increase timeout for DNSBL test
  • Loading branch information
msimerson committed Nov 29, 2022
2 parents 5be2053 + 8044c92 commit 6072fb2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .release
Submodule .release updated 5 files
+6 −2 CHANGELOG.md
+8 −0 README.md
+4 −1 finish.sh
+7 −0 start.sh
+2 −1 submit.sh
19 changes: 16 additions & 3 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
## 1.0.5 - 2022-08-29

### Unreleased

### 1.0.6 - 2022-11-28

- test: increase timeout for DNSBL test


### 1.0.5 - 2022-08-29

- fix #2 change Spamhaus defaults to not assume errors as positives
- warn instead of debug when result do not validate

## 1.0.4 - 2022-07-23

### [1.0.4] - 2022-07-23

- updated package.json


## 1.0.3 - 2022-07-23
### 1.0.3 - 2022-07-23

- Import from Haraka


[1.0.4]: https://github.com/haraka/haraka-plugin-uribl/releases/tag/1.0.4
[1.0.6]: https://github.com/haraka/haraka-plugin-uribl/releases/tag/1.0.6
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haraka-plugin-uribl",
"version": "1.0.5",
"version": "1.0.6",
"description": "Haraka plugin that checks domains in emails against URI blacklists",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"haraka-net-utils": "^1.4.1",
"haraka-tld": "^1.0.34",
"haraka-tld": "^1.1.0",
"haraka-utils": "^1.0.3"
}
}
5 changes: 3 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ describe('uribl', function () {
})

describe('load_uribl_ini', function () {
it('loads uribl.ini from config/uribl.ini', function (done) {
it('loads uribl.ini from config/uribl.ini', function () {
this.plugin.load_uribl_ini()
assert.equal(this.plugin.cfg.main.max_uris_per_list, 20)
done()
})
})

Expand All @@ -49,7 +48,9 @@ describe('do_lookups', function () {
})

it('lookup_test_ip: test.uribl.com', function (done) {
this.timeout(4000)
this.plugin.do_lookups(this.connection, (code, msg) => {
if (code) console.log(`code: ${code}, ${msg}`)
assert.equal(code, undefined)
assert.equal(msg, undefined)
done()
Expand Down

0 comments on commit 6072fb2

Please sign in to comment.