[Rspamd-Users] HFILTER_HOSTNAME_UNKNOWN not working as expected anymore

Philipp Fäustlin philipp.faeustlin at uni-hohenheim.de
Mon Oct 14 13:30:00 UTC 2024


Hi everyone,

I think since the change "[Rework] Resolve rdns in a separate function", which moved the RDNS function to an earlier stage and sets the "hostname" value from RDNS, the HFILTER_HOSTNAME_UNKNOWN will not set like before.

Every hostname resolved and set through the rnds_check_id function I found in my log had the problem that the resolved hostname, doesn't have a IP address at all or the address pointed at an different IP not the source IP.

I think the hostname value should only be set if the resolved hostname can be resolved back to the source IP, or alternatively an symbol should be set, that the hostname is not resolvable to the source IP, if that is the case.

Or is there already a symbol indicating a hostname not maching the IP?
Then please point me to that symbol.

Best regards

Philipp



More information about the Users mailing list