Re: rspamd and pyzor

2022-05-03 Thread kasak
03.05.2022 16:48, Stuart Henderson пишет: On 2022-05-03, kasak wrote: rspamd manual assume, that we should use this construction: ExecStart=/bin/sh -c '/usr/bin/razor-check && /usr/bin/echo -n "spam" || /usr/bin/echo -n "ham"' The razor-check manual confirm this: "razor-check" terminates wi

Re: rspamd and pyzor

2022-05-03 Thread Stuart Henderson
On 2022-05-03, kasak wrote: > rspamd manual assume, that we should use this construction: > > ExecStart=/bin/sh -c '/usr/bin/razor-check && /usr/bin/echo -n "spam" || > /usr/bin/echo -n "ham"' > > The razor-check manual confirm this: "razor-check" terminates with exit > value 0 if the signature

Re: rspamd and pyzor

2022-05-03 Thread kasak
03.05.2022 11:38, Stuart Henderson пишет: On 2022-05-02, kasak wrote: Hello misc! I have some information for rspamd users, and one question. As you may know, rspamd not using pyzor by directly calling pyzor binary. Instead, they say, you need to create special systemd socket, and call pyz

Re: rspamd and pyzor

2022-05-03 Thread Stuart Henderson
On 2022-05-03, Michael Hekeler wrote: > But are you sure that you need it for pyzor?!?!?!? rspamd needs it. It's event-driven so they probably try to avoid blocking as much as possible, and by running it over TCP the load can be distributed between machines more easily. -- Please keep replies

Re: rspamd and pyzor

2022-05-03 Thread Stuart Henderson
On 2022-05-02, kasak wrote: > Hello misc! > > I have some information for rspamd users, and one question. > > As you may know, rspamd not using pyzor by directly calling pyzor binary. > > Instead, they say, you need to create special systemd socket, and call > pyzor through it. > > It is describe

Re: rspamd and pyzor

2022-05-03 Thread Kasak
> 3 мая 2022 г., в 09:08, Michael Hekeler написал(а): > > Am 02.05.22 19:06 schrieb kasak: >> Hello misc! >> >> I have some information for rspamd users, and one question. >> >> As you may know, rspamd not using pyzor by directly calling pyzor binary. >> >> Instead, they say, you need to c

Re: rspamd and pyzor

2022-05-02 Thread Michael Hekeler
Am 02.05.22 19:06 schrieb kasak: > Hello misc! > > I have some information for rspamd users, and one question. > > As you may know, rspamd not using pyzor by directly calling pyzor binary. > > Instead, they say, you need to create special systemd socket, and call pyzor > through it. > > It is d

rspamd and pyzor

2022-05-02 Thread kasak
Hello misc! I have some information for rspamd users, and one question. As you may know, rspamd not using pyzor by directly calling pyzor binary. Instead, they say, you need to create special systemd socket, and call pyzor through it. It is described on rspamd manuals: https://rspamd.com/do