Skip to content

MtaMailFromVariable

Variables available in expression contexts that reference MtaMailFromVariable.

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)
senderMAIL FROM address in lowercase, empty for the null sender
sender_domainDomain of the MAIL FROM address, empty for the null sender
authenticated_asName of the authenticated account, empty when the session is not authenticated
asnAutonomous system number of the client, 0 when unknown
countryCountry code of the client, empty when unknown