Heat a large and tall pot over medium heat and add the olive oil, ham, onion, garlic, anchovies, carrot and bell peppers. Cook until tender and deglaze with wine or stock.
Add the tomatoes and the rest of the ingredients, bring to a boil and reduce heat to a gentle simmer. Cook uncovered for at least 20-30 minutes, checking it every now and then to see if it needs a splash of water.
Mix the tomato sauce with the pasta of your choice. Serve with grated cheese (parmesan or feta cheese are good options). Eat!
If you follow a gluten-free diet, make sure you use a GF pasta :-)