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

Spamd install fix - Centos 7 #1800

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

cmstew
Copy link
Contributor

@cmstew cmstew commented Jan 1, 2019

This commit resolves some configuration errors for spamassassin that happen during installation on Centos 7.

The main install error is that the install script assumes that group id 1001 is available and tries to create group spamd. The fix is to forget about creating a group by id and instead create just the user.

I cleaned up some of the other code to be consistent with the rest of the script.

Not entirely sure what this function is for but it's broken in the current installer. This fixes it. However, on my Centos 7 Install, spamassassin creates it's own /var/lib/spamassassin. So I'm not sure why the script has to make that directory when the yum package manager should take care of that on it's own.
- added dev/null
- mkdir if doesn't exist.
Making the spamassassin fix more versatile.
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.

1 participant