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

Debian Jessie services #115

Open
andypl78 opened this issue May 30, 2016 · 2 comments
Open

Debian Jessie services #115

andypl78 opened this issue May 30, 2016 · 2 comments

Comments

@andypl78
Copy link

andypl78 commented May 30, 2016

Please change startup services for rspamd and rmilter to use for only IP configuration.
In my configuration, I do not use the socket and services at the IP would not correctly run on Debian Jessie

https://github.com/andypl78/rmilter.git
https://github.com/andypl78/rspamd.git

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@fatalbanana
Copy link
Contributor

fatalbanana commented May 30, 2016

Systemd socket activation seems like a good idea in theory- though I'm afraid it has some problems (aside from being unfamiliar to users) and so we may have done better never to have adopted it. Ripping it out, however, would be painful as users of certain platforms have come to expect certain behaviour- at least upgrade path would need to be addressed. I see no particular reason to be using the init script on Debian Jessie (unless systemd has been uninstalled).

Startup steps for platforms using systemd socket activation are here: https://rspamd.com/doc/quickstart.html#running-rspamd

# Install rspamd + rmilter packages from rspamd.com
for i in rmilter.socket rspamd.socket; do systemctl enable $i; systemctl start $i; done # Enable sockets on startup & start listening
rspamc < /dev/null # (optional) force rspamd to start
socat STDIN UNIX-CONNECT:/var/run/rmilter/rmilter.sock < /dev/null # (optional) force rmilter to start

Edit: see also https://github.com/vstakhov/rspamd-build-scripts

@andypl78
Copy link
Author

My solution is based on the ports that are used in multi server configuration.
Therefore, I turned off the socket and removed the configuration of the system.
With this solution we can create a main server rmilter+rspamd+ redis and plug in multiple servers postfix

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

No branches or pull requests

2 participants