Skip to content

Commit

Permalink
Merge pull request #37 from qbit/master
Browse files Browse the repository at this point in the history
Switch to using Go modules.
  • Loading branch information
poolpOrg authored Nov 20, 2020
2 parents b6690ef + d766391 commit 95d4037
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The filter currently supports:


## Dependencies
The filter is written in Golang and doesn't have any dependencies beyond standard library.
The filter is written in Golang and doesn't have any dependencies beyond the Go extended standard library.

It requires OpenSMTPD 6.6.0 or higher.

Expand All @@ -32,6 +32,12 @@ opensmtpd-filter-rspamd-0.1.x: ok
$
```

Install using Go:
```
$ GO111MODULE=on go get github.com/poolpOrg/filter-rspamd
$ doas install -m 0555 ~/go/bin/filter-rspamd /usr/local/libexec/smtpd/filter-rspamd
```

Alternatively, clone the repository, build and install the filter:
```
$ cd filter-rspamd/
Expand Down
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/poolpOrg/filter-rspamd

go 1.15

require golang.org/x/sys v0.0.0-20200821140526-fda516888d29
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
golang.org/x/sys v0.0.0-20200821140526-fda516888d29 h1:mNuhGagCf3lDDm5C0376C/sxh6V7fy9WbdEu/YDNA04=
golang.org/x/sys v0.0.0-20200821140526-fda516888d29/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

0 comments on commit 95d4037

Please sign in to comment.