Cook the pasta.
Fry finely chopped onions in 3 tablespoons of oil, add finely chopped salami.
Simmer chopped garlic and tomatoes in a pot. Mix in the onions and salami. Season with salt, pepper and oregano. Mix pasta with sauce in a baking dish and top with grated cheese and bake briefly in oven until cheese is melted.