An Indonesian maid has been sentenced to six years in jail for attempting to murder her elderly Malaysian employer by putting weedkiller in her coffee and soup, reports said Tuesday.