Wash and cut up the tomaties, add the salt and boil until soft. Strain well and let boil again slowly, 5 hours, or until very thick. Add sugar to vinegar. Tie spices in a bag and boil in the vinegar until well flavored, add to the tomato pulp and boil 15 minutes longer. Bottle while hot and seal.