FAQ / Policy controls / Q0708



Q0708

Question

How can I run customized verification checks on incoming addresses?

Answer

There are a number of possibilities:

  1. If you can implement your checks in Perl, you can use Exim's lity for running an embedded Perl interpreter. For example, if you to run special checks on local addresses, you could use ACL tatement like this:

require domains = my.local.domain
        condition = ${perl{verify}{$local_part}}

The result of the Perl function should be “yes” or “no”.

  1. You could also run an external program in a similar way, by a ement such as:

require domains = my.local.domain
        condition = ${run{/my/verifier $local_part}}

This requires the use of another process, so could prove more expensive than Perl.

  1. If you are prepared to write C code, read the chapter in the manual tled Adding a local scan function to Exim.



FAQ / Policy controls / Q0708


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Policy_controls/Q0708 (last edited 2008-09-25 11:39:29 by localhost)