Wednesday, August 28, 2024

Re: rspamd service thinks localhost is localhost.town?

28.08.2024 15:55, Jag Talon пишет:
> Hello,
>
> I have an up-to-date 7.5 that has the hostname: twentytwo.town
>
> When setting up the rspamd service, it seems to try to contact
> 158.69.103.132 which is localhost.town instead of localhost. Here's the
> relevant line in smtpd:
>
>
> Aug 28 12:36:06 twentytwo smtpd[31224]: rspamd: failed to receive a
> response from daemon. err: 'Post "http://localhost:11333/checkv2": dial
> tcp 158.69.103.132:11333: connect: connection refused'
>
> It seems to think that localhost is equal to localhost.town. So what I
> end up doing is specifying 127.0.0.1 explicitly in smtpd's config which
> works:
>
>
> filter "rspamd" proc-exec "filter-rspamd -url http://127.0.0.1:11333"
>
> Omar pointed out that this issue should've been patched with this
> commit:
>
> https://codeberg.org/OpenBSD/src/commit/373da8abb60949de81b32d3c8eaecdaabf17bdaa
>
> So I was wondering, is this a filter-rspamd issue? An OpenBSD bug? A
> bug in my config? Any help is appreciated! I'm not sure where to go
> from here.
>
> Thank you!
>
> resolv.conf has the following text:
>
> nameserver 108.61.10.10 # resolvd: vio0
> lookup file bind
> nameserver 108.61.10.10
> nameserver 9.9.9.9
> nameserver 2001:19f0:300:1704::6
> nameserver 2620:fe::fe
>
> Attaching dmesg as well.
>
Check your /etc/hosts

No comments:

Post a Comment