only populate postcmds-list if not forbidden and not autoclose