Wednesday, August 28, 2024

Re: rspamd service thinks localhost is localhost.town?

On 2024-08-28, Kasak <kasak@kasakoff.net> wrote:
>
>
>> 28 авг. 2024 г., в 18:28, Jag Talon <jag@aangat.lahat.computer> написал(а):
>>
>> On Wed, 2024-08-28 at 16:45 +0300, kasak wrote:
>>> Check your /etc/hosts
>>
>> Ah right I forgot to add the hosts file. Here's the full content:
>>
>> 127.0.0.1 twentytwo.town
>> ::1 twentytwo.town
> localhost should be added to both strings

That is a workaround - modern resolvers ought to follow the "should"
in RFC 6761 about treating "localhost" as local. Not doing so could be
argued as being a security bug.

No comments:

Post a Comment