Previous   Next   Contents       (Exim Filter Specification)

20. The testprint command

It is sometimes helpful to be able to print out the values of variables when testing filter files. The command

   testprint <text>
  e.g. testprint "home=$home reply_address=$reply_address"

does nothing when mail is being delivered. However, when the filtering code is being tested by means of the -bf option (see section 2 above), the value of the string is written to the standard output.


Previous  Next  Contents       (Exim Filter Specification)