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

Fix msmtprc file permissions #142

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

thomasjanker
Copy link
Contributor

The nginx user was not able to access /etc/msmtprc, due to missing read permissions.

@Judman
Copy link

Judman commented Dec 20, 2023

The committed changes allowed calendar invites to be sent via email.

@ckulka ckulka merged commit 2bc178f into ckulka:master Dec 26, 2023
4 checks passed
@ckulka
Copy link
Owner

ckulka commented Dec 26, 2023

Thanks @thomasjanker for your PR and @Judman for testing it!

Before I publish it I'll write test automation for sending emails and see if the file permissions can be further locked down, i.e. instead of giving everyone read access to the file (which can contain credentials) adding nginx/www-data to the msmtp group or let nginx/www-data own the file.

MrAlucardDante referenced this pull request in MrAlucardDante/baikal-docker-hass Dec 30, 2023
Co-authored-by: Thomas Janker <thomasjanker@Mac-mini-von-Thomas.local>
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

Successfully merging this pull request may close these issues.

3 participants