added myhostname and mydomain parameters