On 2022-01-06, John Batteen <[email protected]> wrote: > I'm attempting to install and run rspamd on -current, and running into > problems. Is anyone running it successfully?
Yes. > According to the pkg-readme it should be ready to go out of the box but it > uses gobs of CPU then dies after a minute or three. > batteen# rcctl start rspamd > rspamd (timeout) > > full log available at https://batteen.com/rspamd.log.1.txt but what I believe > is the relevant part follows: > 2022-01-06 13:16:10 #55765(main) rspamd_inet_address_listen: bind > 74.125.224.72:11332 failed: 49, 'Can't assign requested address' > 2022-01-06 13:16:10 #55765(main) <b3bfa9>; main; spawn_workers: cannot listen > on normal socket localhost:11332: Can't assign requested address > 2022-01-06 13:16:10 #55765(main) <b3bfa9>; main; spawn_workers: cannot create > listen socket for rspamd_proxy at localhost:11332 > 2022-01-06 13:16:10 #55765(main) <b3bfa9>; main; rspamd_hard_terminate: > shutting down Rspamd due to fatal error > > I have no idea where the IP address 74.125.224.72 is even coming from, I can > find no reference to it in any of the config files. Replacing all instances > of "localhost" with "127.0.0.1" in /etc/rspamd/rspamd.conf results in a > "successfully" running rspamd, but it still doesn't do anything. Every > attempted operation results in an IO timeout. The log is at > https://batteen.com/rspamd.log.2.txt Feels like some kind of name resolution problem. What happens if you do "ping localhost"? The log has this 2022-01-06 13:22:20 #94637(normal) <4mhfpw>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 66.128.169.236 from resolv.conf 2022-01-06 13:22:20 #94637(normal) <4mhfpw>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 66.231.7.27 from resolv.conf Those are open resolvers. Not sure if this is involved in the problem you are seeing here, but running RBL lookups through public resolvers is not going to work reliably, you should run your own caching resolver doing lookups from the roots and _not_ forward through an ISP or public resolver. This is what you have right before it exits 2022-01-06 13:16:10 #55765(main) rspamd_inet_address_listen: bind 74.125.224.72:11332 failed: 49, 'Can't assign requested address' Whatever is wrong, I'm pretty sure it is outside of rspamd. -- Please keep replies on the mailing list.

