General-Purpose Mail Filter
true if the IP address or host name given by
host argument listens on the port number port (default
This function is defined in the module portprobe.
true if authenticity of the user name is
confirmed using mailutils authentication system. See Local Account Verification, for more details.
true if the domain name domain has a
corresponding A record or if it has any ‘MX’ records, i.e. if it
is possible to send mail to it.
To use this function, require the valid_domain module (see Modules):
Verify if an argument of ‘HELO’ (‘EHLO’) command is valid. To use this function, require the heloarg_test module (see Modules).
‘HELO’ (‘EHLO’) argument. Typically, the value of
IP address of the remote client. Typically, the value of
$client_addr Sendmail macro;
IP address of this SMTP server;
The function returns a number describing the result of the test, as described in the following table.
|HELO_SUCCESS||arg successfully passes all tests.|
|HELO_MYIP||arg is our IP address.|
|HELO_IPNOMATCH||arg is an IP, but it does not match the remote party IP address.|
|HELO_ARGNORESOLVE||arg is an IP, but it does not resolve.|
|HELO_ARGNOIP||arg is in square brackets, but it is not an IP address.|
|HELO_ARGINVALID||arg is not an IP address and does not resolve to one.|
|HELO_MYSERVERIP||arg resolves to our server IP.|
|HELO_IPMISMATCH||arg does not resolve to the remote client IP address.|
This document was generated on January 3, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.