Skip to content

Config settings for sockets permissions and some minor fixes.#12

Open
vstupin wants to merge 2 commits into
vstakhov:masterfrom
vstupin:master
Open

Config settings for sockets permissions and some minor fixes.#12
vstupin wants to merge 2 commits into
vstakhov:masterfrom
vstupin:master

Conversation

@vstupin

@vstupin vstupin commented Feb 26, 2014

Copy link
Copy Markdown

Good day!

I added settings file_mode for clamav unix domain socket and settings bind_socket_mode for rmilter itself unix domain socket. I fixed parsing of numbers to autodetect octal, hexadecimail and decimal numbers. And i fixed rmilter.init file to use SOCK settings and remove code duplication.

Fixes was tested with Postfix.

Comment thread debian/rmilter.init

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a wrong path actually. The problem is that rmilter is not intended to run with Postfix MTA only, therefore it should create socket into some other path. The proper solution is to read from /etc/defaults/rmilter the name of the socket and use it in the init script.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible to override any variable, because bellow occured that line:

test -f /etc/default/rmilter && . /etc/default/rmilter

…hat option sends signal HUP to rmilter. Permissions for temporary files changing moved to other place - where is temporary file created.
@mnik247 mnik247 mentioned this pull request Apr 24, 2016
@andypl78 andypl78 mentioned this pull request Jun 2, 2016
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.

2 participants