Cook the macaroni in plenty of boiling salted water for 8-9 minutes. Pour onto a sieve and rinse under cold water. Let it cool down. Wash the herbs, dab dry and, except for a little garnish, chop finely or cut into small rolls.
Halve the ham slices, grease a box form (30 cm long) and sprinkle with breadcrumbs. Whisk milk, eggs, salt and pepper. Layer the macaroni, herbs (up to 1 tablespoon) and ham in the mould.
When the mould is half full, pour on half of the egg milk. Fill the mould and pour in the remaining egg milk. Bake in the preheated oven (electric oven: 200 °C/ gas: level 3) for 50-60 minutes.
In the meantime, clean, wash and finely dice the peppers for the sauce. Peel onion and garlic. Cut onion into small cubes, press garlic through a garlic press. Heat the oil in a pot and sauté the onion and garlic.
Add paprika, braise briefly and deglaze with 1/8 litre water and tomatoes. Add thyme, season with salt and pepper and braise covered for 10-15 minutes. Stir from time to time and season the sauce with salt and pepper.
Leave the pasta to rest in the mould for about 10 minutes. Then remove carefully from the edge with a sharp knife and turn over onto a board. Sprinkle with herbs and garnish. Add paprika-tomato sauce extra.