[Rspamd-Users] Moving mails from/to spam folder ends with rspamc failure
Andreas Kuhlen
tamo at mandogo.de
Mon May 19 19:44:38 UTC 2025
Hello Steve,
I'm not sure if I can do anything with your suggestion. Thanks for this
though.
Because I would like to use a sieve script to use the learning for
rspamd. However, something is missing in my configuration. In the
meantime I have found a configuration with a shell script, which then
passes the password to rspamc with parameters for learn_ham or
learn_spam. But there seem to be problems with the permissions for the
files and folders. Because the piping to the shell script fails.
So I can't really get any further at this point. I'm kinda stuck here.
Kind regards
Andreas
Am 19.05.2025 um 16:47 schrieb Steve Witten:
> 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