function reconfigure_instance_relayhost($hostname) { $maincf = new maincf_multi($hostname); $maincf->buildconf(); $maincf->CheckDirectories($hostname); $maincf->postmap_relayhost(); _start_instance($hostname); }