Rspamd worker controller add neighbours

509 views
Skip to first unread message

Emanuel Gonzalez

unread,
Aug 23, 2018, 10:13:59 AM8/23/18
to rspamd
Hello, i explain my infrastructure.

I use two servers, server1 and server2. On a server1, use the normal worker and the proxy worker who sends requests to the server2.

Apache is running on server1 with the web interface of Rspamd. In the options.inc file I generated a neighbor:

cat options.inc
local_addrs = "127.0.0.0/8";
one_shot = true;

neighbours {

server2 { host = 168.197.48.92:13334; }

}

this config is correct? Is it necessary to open some port in the server2 for the web interface to work?

in the webui i see this error: Request failed

any ideas?


Alexander Moisseev

unread,
Aug 23, 2018, 10:51:33 AM8/23/18
to rsp...@googlegroups.com
On 23.08.2018 17:13, Emanuel Gonzalez wrote:
> Hello, i explain my infrastructure.
>
> I use two servers, server1 and server2. On a server1, use the normal worker and the proxy worker who sends requests to the server2.
>
> Apache is running on server1 with the web interface of Rspamd. In the options.inc file I generated a neighbor:
>
> cat options.inc
> local_addrs = "127.0.0.0/8 <http://127.0.0.0/8>";
> one_shot = true;
>
> neighbours {
>
> server2 { host = 168.197.48.92:13334 <http://168.197.48.92:13334>; }
>
> }
>
> this config is correct? Is it necessary to open some port in the server2 for the web interface to work?
>
> in the webui i see this error: Request failed
>
> any ideas?
>

- The TCP 11334 port on both servers should be accessible from web-browser.
- You need to specify both servers in the "neighbours" section.
- The syntax of the host definition is not correct.

Here are the details: https://rspamd.com/doc/configuration/options.html#neighbours-list

Emanuel Gonzalez

unread,
Aug 31, 2018, 8:41:29 AM8/31/18
to Alexander Moisseev, rspamd
Solved, thanks man.

--
You received this message because you are subscribed to the Google Groups "rspamd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/rspamd.
Reply all
Reply to author
Forward
0 new messages