Maurizio Caloro:
> Hello
> 
> Please why appair on log this message?
> 
> Jun 18 23:16:38 mail postfix/trivial-rewrite[5022]: warning:
> valid_ipv4_hostaddr: invalid character 110(decimal): dnsName

ASCII code 110 is the letter 'n'. The function  valid_ipv4_hostaddr()
is called under two conditions: an IP address contains no ':'
(meaning it must be dotted-q1uad form), or an IPv6 address contains
'.' (which must be followed by a dotted quad).

>From the surrounding logs, you may be able to distinguish
which form it was.

Either way, when I call valid_ipv4_hostaddr with 'dnsNane'
the warning I see is:

warning: valid_ipv4_hostaddr: invalid character 100(decimal): dnsName

I see no code path in valid_ipv4_hostaddr() that would allow 'd'
in 'dnsName' and then reject the 'n' after the 'd'. Maybe some
clever person improved the code.

        Wietse

Reply via email to