-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add information about how to set postfix permissions #3594
Conversation
@dynek Can you review? |
One caveat about these methods is that the directories in However in the case of ACL, you can set a default ACL, which should get inherited by the new directories (unless postfix is doing something silly like explicitly performing a |
plugins/inputs/postfix/README.md
Outdated
|
||
Posix ACL: | ||
```sh | ||
$ sudo setfacl -R -m u:telegraf:r /var/spool/postfix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll need execute as well to be able to read the dir. setfacl
supports X
(upper case) to only set execute bit on dirs, not files.
I added the +X to setfacl, and the setgid bit to chmod |
Now getting: Trying to fix it :-/ |
OK fixed it with a previous dump or permissions (ls -lsaR) and Will check it a bit later. Apparently we should not be overriding chgrping of postdrop for some dirs. |
yeah, looks like the |
Not 100% tested but that seems OK
@phemmer what do you think? |
Updated proposed docs, can you review again? |
47999f7
to
32fd8ae
Compare
(cherry picked from commit a440ed8)
closes #3591
Required for all PRs:
Has appropriate unit tests.