As opposed to a djellaba, a kaftan is not worn outside the house. As a foreigner in Morocco, you can wear any type of traditional Moroccan clothing. It is perfectly acceptable and even well appreciated. In winter, a man can wear a woolen djellaba over his clothes to keep warm.