setting unix socket mode? #2
Labels
No labels
bug
enhancement
suggestion
support
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: glts/spamassassin-milter#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
when launched via systemd .service as
the socket is, by default, created with 755 perms
that's too loose, and iiuc, the executable's unnecessary.
how's socket mode controlled for sa-milter?
is there a start parameter?
it can be changed with an ExecStartPost in the service file
or, a .socket file can be created, but that seems unnecessarily messy.
The milter library does not itself set socket permissions, it simply creates the file with the current umask (and user).
For systemd, you can set the umask in the service file. This is what I use:
using
indeed results in intended
closed