[Rspamd-Users] Does "group" configuration is working using a socket for the controller ?

rspamd at vlh.dk rspamd at vlh.dk
Fri Jun 16 20:06:35 UTC 2023


> -----Original Message-----
> From: Users <users-bounces at lists.rspamd.com> On Behalf Of André Rodier
> via Users
> Sent: 16. juni 2023 21:55
> To: User questions <users at lists.rspamd.com>
> Cc: André Rodier <andre at rodier.me>
> Subject: [Rspamd-Users] Does "group" configuration is working using a socket
> for the controller ?
> 
> Hi all,
> 
> I am able to use a socket for the worker controller, and everything works fine,
> for instance, with nginx.
> 
> Debian Bullseye,
> Version is 3.4.1
> 
> Here the configuration I use in local.d (or override.d):
> 
> bind_socket = "/run/rspamd/controller.sock mode=0660 owner=_rspamd
> group=postfix";
> 
> rspamd starts, without any error message:
> 
> 2023-06-16 19:20:03 #3153190(controller) <3e8905>; main;
> rspamd_handle_child_fork: starting controller process 3153190 (0); listen on:
> /run/rspamd/controller.sock mode=0660 owner=_rspamd group=postfix
> 
> And the systemd service:
> 
> 
> ● rspamd.service - rapid spam filtering system
> Loaded: loaded (/lib/systemd/system/rspamd.service; enabled; vendor
> preset: enabled)
> Active: active (running) since Fri 2023-06-16 19:51:25 UTC; 1s ago
> Docs: https://rspamd.com/doc/
> Main PID: 3153762 (rspamd)
> Tasks: 5 (limit: 2322)
> Memory: 104.1M
> CPU: 664ms
> CGroup: /system.slice/rspamd.service
> ├─3153762 rspamd: main process
> ├─3153773 rspamd: rspamd_proxy process
> (/var/spool/postfix/rspamd/rspamd.sock mode=0660 owner=_rspamd)
> ├─3153774 rspamd: controller process (/run/rspamd/controller.sock
> mode=0660 owner=_rspamd group=postfix)
> ├─3153775 rspamd: normal process (/run/rspamd/worker.sock mode=0660
> owner=_rspamd)
> └─3153776 rspamd: hs_helper process
> 
> However, here the socket, and look the group value:
> 
> srw-rw---- 1 _rspamd _rspamd 0 Jun 16 19:20 /run/rspamd/controller.sock
> 
> Why the "group" is ignored, please ?
> 
> Thanks.
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users

Do you have a postfix group? - isn't it traditionally called mail? (not that familar with different distros tbh)

Regards,
Kim



More information about the Users mailing list