Skip to content

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