Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] rspamd trying to connect to redis on ::1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1122

PostPosted: Tue Nov 26, 2019 2:02 pm    Post subject: [solved] rspamd trying to connect to redis on ::1 Reply with quote

As my system is -ipv6 that cannot work.

I see
Code:
(rspamd_proxy) rspamd_redis_pool_new_connection: cannot connect to redis ::1 (port 6379)
messages, and would like to know how to limit rspamd using ipv4 only.

Last edited by Elleni on Tue Nov 26, 2019 2:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1122

PostPosted: Tue Nov 26, 2019 2:16 pm    Post subject: Reply with quote

I had

::1 localhost in /etc/hosts

Maybe it was that. I will check and put solved if that was enough to remove that line.

Edit to add: It was aparently not enough, so I went and changed everywhere in /etc/rspamd/local.d, where I had put localhost and replaced it with 127.0.0.1

Code:
/etc/rspamd/local.d/worker-proxy.inc
/etc/rspamd/local.d/worker-normal.inc
/etc/rspamd/local.d/reputation.conf
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum