Peel mangoes and cut into 1/2-inch cubes.
In a small bowl toss mangoes with vinegar, sugar, salt, and raisins.
Make seasoning paste:
Mortar and pestle gingerroot, chilies, and remaining seasoning paste
ingredients, or use a food processor.
Heat a 4-quart heavy kettle over moderately low heat until hot. Cook seasoning
paste, cinnamon stick, and star anise in oil, stirring frequently, 10 minutes,
or until very fragrant. Stir in mango mixture and simmer, covered, over low
heat, stirring occasionally, until mangoes are tender, about 30 minutes.
Discard cinnamon stick and star anise and cool chutney completely.
Chutney keeps, covered and chilled, about 1 month.