So how postfix interprets NAME and REVERSE_NAME?
I want to understand, how not to break, for example, "reject_unknown_client_hostname" and 
"reject_unknown_reverse_client_hostname" behavior, when passing names via XCLIENT but not 
via postfix resolver.

Wietse Venema пишет:
Artem Bokhan:
 >XCLIENT NAME ADDR PROTO HELO REVERSE_NAME

Do NAME and REVERSE_NAME from XCLIENT agree with this description from smtpd_peer.c ?

NAME agrees with the XCLIENT documentation - it is meant to be
something that other MTAs can implement too so it must not depend
on Postfix implementation details.

REVERSE_NAME never got documented. That should be fixed. It's
a PTR record value.

        Wietse

/* .IP name
/*      The verified client hostname. This name is represented by
/*      the string "unknown" when 1) the address->name lookup failed,
/*      2) the name->address mapping fails, or 3) the name->address
/*      does not produce the client IP address.

/* .IP reverse_name
/*      The unverified client hostname as found with address->name
/*      lookup; it is not verified for consistency with the client
/*      IP address result from name->address lookup.





Reply via email to