Hi, I find myself wanting to log random information from within the router chain, but without running in debug mode. Is there a clean way to do this?
Currently I'm using variants of
=========
lookup_delivery_chk2:
driver = redirect
condition = ${if !def:h_X-randomreason:}
address_data = ${perl{Exim::log_write}{Horrible error!}}
data = ""
=========
Cheers, Jeremy
--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
