Skip to content

MtaEhloVariable

Variables available in expression contexts that reference MtaEhloVariable.

VariableDescription
listenerName of the listener that accepted the connection
remote_ipIP address of the client
remote_portPort of the client (number)
local_ipLocal IP address the client connected to
local_portLocal port the client connected to (number)
protocolListener protocol, smtp or lmtp
is_tlsWhether the connection uses TLS (boolean)
helo_domainHost name given in EHLO or HELO, empty before it is sent
asnAutonomous system number of the client, 0 when unknown
countryCountry code of the client, empty when unknown