.dyn_magic = ROUTER_MAGIC,
# endif
},
-.code = accept_router_entry,
+.code = accept_router_entry,
.tidyup = NULL, /* no tidyup entry */
.ri_flags = ri_yestransport
};
uschar * s;
*errors_to = addr->prop.errors_address;
+GET_OPTION("errors_to");
if (!rblock->errors_to) return OK;
-GET_OPTION("errors_to");
if (!(s = expand_string(rblock->errors_to)))
{
if (f.expand_string_forcedfail)
/* Default is to retain existing headers */
*extra_headers = addr->prop.extra_headers;
+GET_OPTION("headers_add");
if (rblock->extra_headers)
{
const uschar * list = rblock->extra_headers;
*remove_headers = addr->prop.remove_headers;
/* Expand items from colon-sep list separately, then build new list */
+GET_OPTION("headers_remove");
if (rblock->remove_headers)
{
const uschar * list = rblock->remove_headers;