Skip to content
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

Suggestion: nullmailer-inject could have a more helpful error message when it cannot run nullmailer-queue #90

Open
hacklschorsch opened this issue Dec 28, 2023 · 0 comments

Comments

@hacklschorsch
Copy link

hacklschorsch commented Dec 28, 2023

Hi & thanks for Nullmailer!

I was debugging the mail sending of an unrelated software I configured to use Nullmailer today which only gave me this not very helpful log entry:

nullmailer-inject: nullmailer-queue failed: 1

It took me longer than I like to admit to figure out this was because the caller - a service running under systemd - was configured to not be allowed gaining privileges with the systemd directive NoNewPrivileges=true.
This breaks calling nullmalier-queue because of its using setuid.

Since Nullmailer has lots of very useful error messages when something goes wrong, I´d like to suggest the not being able to run nullmailer-queue because of this could have a more helpful/verbose error message as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant