[Rspamd-Users] HFILTER_HOSTNAME_UNKNOWN possible evaluation bug?

Josef Vybíhal josef.vybihal at gmail.com
Thu Oct 20 15:39:29 UTC 2022


On Thu, Oct 20, 2022 at 5:01 PM Carsten Rosenberg <cr at ncxs.de> wrote:
> Rspamd is using the provided hostname from the MTA here:
> https://rspamd.com/doc/lua/rspamd_task.html#m8a697
> You maybe should have a look why it wasn't provided. For Postfix an
> indicator would be:
> connect from unknown[xx.xx.xx.xx]

This is a really good catch! Indeed - for some reason MTA (postfix)
has some troubles there:

mx1 postfix/smtpd[8231]: warning: hostname repost01.tmes.trendmicro.eu
does not resolve to address Name does not resolve

I will focus my blame away from rspamd :)

@Ged: thanks for the DNS suggestion. That was one of the things I
investigated first. To remove any doubt, I installed the latest
version of unbound locally and pointed resolv.conf to it. Manually
tested with dig +tcp, no obvious problems

dig +short rs.dns-oarc.net txt @ +tcp
" sent EDNS buffer size 1232"
" DNS reply size limit is at least 1204"


More information about the Users mailing list