-
Notifications
You must be signed in to change notification settings - Fork 268
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
Unable to start Maddy without root #396
Comments
Want to mention that its fully setup and functioning(SPF, DKIM, DMARC, DNSSEC, DANE, MTA-STS) otherwise once I sudo it. I've sent and received emails and even imported 6000 emails into it and score a 10/10 on mail-tester. The only problem is running it with systemd. |
Just going to run it in docker instead. It works correctly there. |
Hello. I had maddy running without systemd a few days ago in my Gentoo Linux box. I fellow the instructions in https://maddy.email/tutorials/setting-up/ and at last I got a working OpenRC service script like this:
Hope it can help people who want to run maddy without systemd specially on Gentoo Linux. Note there is an extra instruction for non-root process maddy to bind priviledged ports: sudo setcap 'cap_net_bind_service=+ep' /usr/local/bin/maddy which has the same effect as the configuration |
@Ducky710 it might do something to do with pedantic sandboxing configuration applied in the systemd unit. Could you check if there are any errors related to unit file parsing in the journal (should appear after |
Hi I've been trying all day to get maddy working without root but i've had no luck. I'm trying to set it up on a fresh debian bullseye vps. I'm using the latest maddy binaries and created the maddy user as specified in the tutorial. No matter what I do even if I chmod 777 the directories maddy needs access to it returns the following. I'm only able to successfully start and use maddy with "sudo maddy" or "maddy" logged in under the root user. I cannot start it with systemd. Even changing the systemd files user to root does not allow it to start.
Configuration file
The text was updated successfully, but these errors were encountered: