[Rspamd-Users] Moving mails from/to spam folder ends with rspamc failure

Steve Witten stevewi.niteflyte at gmail.com
Mon May 19 14:47:12 UTC 2025


Andreas --

Here's how I do it (I run it in a program with *open3()*, etc):

*/usr/local/bin/rspamc --connect 'localhost:11334' --password
'<thepassword>' --header 'Learn-Type:bulk'  learn_(ham|spam) <thefile>*

I use FreeBSD so *rspamc* is in */usr/local/bin.  *I didn't have any luck
at all using a Unix-domain socket as the argument for --connect.

On Mon, May 19, 2025 at 7:18 AM Andreas Kuhlen via Users <
users at lists.rspamd.com> wrote:

> Hello all,
>

<snip />


> Now I'm wondering how to pass the password to rspamc so that it works?
> What could a solution look like?
>
> It would be nice if someone could help me out.
>
> Kind regards
>

--
Steve Witten,
Portland, OR


More information about the Users mailing list