Wietse Venema:
> Jaroslaw Rafa:
> > Dnia 29.04.2021 o godz. 14:34:15 Matus UHLAR - fantomas pisze:
> > >
> > > Once again:
> > > The result of reverse resolution will NOT be used, unless it's verified by
> > > forward resolution.
> >
> > >From the times I was using sendmail, I remember that in case when
> > forward/reverse DNS didn't match, sendmail logged something like
> >
> > unknown (reverse.dns.hostname) [ip.ad.dr.ess]
>
> I thought that sendmail logs the HELO
>
> unknown (HELO-or-EHLOname [ipaddress])
Postfix does this:
helo-or-ehlo (unknown [ipaddress]).
Which is was inspired by Sendmail.
Wietse
Code:
out_fprintf(out_stream, REC_TYPE_NORM,
"Received: from %s (%s [%s])",
state->helo_name ? state->helo_name : state->name,
state->name, state->rfc_addr);