From 32d3b3c3ab775ca37012994c739345ec50e9ab4a Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 19 Oct 2023 17:53:18 +0800 Subject: [PATCH] Correct setup doc --- docs/tutorials/setting-up.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/tutorials/setting-up.md b/docs/tutorials/setting-up.md index b528f3b4..5dade82d 100644 --- a/docs/tutorials/setting-up.md +++ b/docs/tutorials/setting-up.md @@ -79,6 +79,13 @@ Linux mail servers, maddy never runs as root. useradd -mrU -s /sbin/nologin -d /var/lib/maddy -c "maddy mail server" maddy ``` +You might need to grant some permissions too: + +``` +chown -R maddy:maddy /var/lib/maddy /run/maddy +setcap 'cap_net_bind_service=+ep' /usr/local/bin/maddy +``` + ## Host name + domain Open /etc/maddy/maddy.conf with vim^W your favorite editor and change