summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGab <24553253+gabrix73@users.noreply.github.com>2025-06-02 17:48:16 +0200
committerGitHub <noreply@github.com>2025-06-02 17:48:16 +0200
commit5f9e61a4502c0ccabd47aab9a9a49f26c20b0f1c (patch)
treec021264984db0ebf1d5de5e214a29644a54c8171
parenteda6b4a0fa599ce837c198bb080af8994d7d2686 (diff)
downloadm2usenet-and-mail2news-5f9e61a4502c0ccabd47aab9a9a49f26c20b0f1c.tar.gz
m2usenet-and-mail2news-5f9e61a4502c0ccabd47aab9a9a49f26c20b0f1c.tar.xz
m2usenet-and-mail2news-5f9e61a4502c0ccabd47aab9a9a49f26c20b0f1c.zip
Update README.md
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 62324db..4ce4e0d 100644
--- a/README.md
+++ b/README.md
@@ -128,8 +128,12 @@ sudo -u m2usenet go build -trimpath -ldflags="-s -w -extldflags=-static" -a -o m
# Make executable
sudo chmod +x /home/m2usenet/m2usenet
-# Test binary
-sudo -u m2usenet /home/m2usenet/m2usenet --help || echo "Backend compiled successfully"
+# copy binary in /usr/local/bin
+sudo cp /home/m2usenet/m2usenet /usr/local/bin/
+sudo chown postfix:postfix /usr/local/bin/m2usenet
+# Set alias
+# /etc/aliases
+mail2news: |/usr/local/bin/m2usenet
```
### Step 5: SSL Certificate