In a large saucepan, heat the olive oil and cook the onions over medium heat until soft. Add the garlic and cook for another 1-2 minutes, stirring constantly.
Stir in the tomatoes (along with their liquid), and the rest of the ingredients (the anchovies are optional but will add depth of flavor).
Bring the sauce to a boil, turn the heat to low, and simmer for one hour.
Transfer from the heat, remove and discard the bay leaves and allow the sauce to cool. Pour the cooled sauce into 4 sterilized pint jars leaving 1-inch for expansion, label, and freeze. When completely frozen secure lids. Use as needed. Makes 4 pints of sauce.
Notes
This sauce will thicken as it simmers and if you like it less thick add a little more water.
For freezing, fill the jars leaving 1-inch headspace for expansion. Do not cover until after the sauce is frozen.