I think this could be written as

    let rcmail_init = Phpvars.simple_line "$rcmail_config" (Phpvars.sep_eq . Phpvars.sto_to_scl)