exim_checkaccess(8) - Linux man page
Name
exim_checkaccess - Check address acceptance from given IPSynopsis
exim_checkaccess IP-address email@address [more Exim options]Description
The exim_checkaccess utility is a oqpackagedcq version of -bh. It takes two arguments, an IP address and an email address:
exim_checkaccess 10.9.8.7 A.User@a.domain.example
The utility runs a call to Exim with the -bh option, to test whether the given email address would be accepted in a RCPT command in a TCP/IP connection from the host with the given IP address. The output of the utility is either the word oqacceptedcq, or the SMTP error response, for example:
Rejected:
550 Relay not permitted
When running this test, the utility uses lq<>rq as the envelope sender address for the MAIL command, but you can change this by providing additional options. These are passed directly to the Exim command. For example, to specify that the test is to be run with the sender address lqhimself@there.examplerq you can use:
exim_checkaccess 10.9.8.7 A.User@a.domain.example \
-f himself@there.example
Note that these additional Exim command line items must be given after the two mandatory arguments.