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

Add spamassassin start and enable at boot. #228

Conversation

lysergicfacet
Copy link

@lysergicfacet lysergicfacet commented Jul 20, 2022

In Debian 11, the spamassassin process does not appear to start after boot, so I included the debian/ubuntu generic command to (hopefully) ensure this is done. Perhaps I missed something, but I don't think this was explicitly handled otherwise.

I only make this alteration because the issue occurred on my own use of the script. I figure I may not be the only one. I am no fan of, or expert in, systemd, so this may be incorrect in approach or use.

There appears to be an issue when using Debian 11 where spamassassin won't register to start at boot, and even in a post-install rebooted state, will not be running.  Perhaps I am incorrect, but I think this is a useful addition that makes sure this is all set up to operate as you intended.  I am not much of a systemd guy, but I think this is the correct way to do this.  It appears to work on a server I used this script on.  Please reject if superfluous or unnecessary.

Thanks for your work automating the "really fun" part of all this!
@lysergicfacet lysergicfacet deleted the lysergicfacet-patch-1-spamassassin-systemd branch July 20, 2022 19:31
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.

None yet

1 participant