Peel and cut onions fairly finely. Cut apples into chunky pieces, skin, core and all. Cut tomatoes roughly. Peel and grate garlic. Slice whole ginger. Mix ground ginger with a little water to form a paste. Combine all these ingredients in giant pan and simmer for 3.5 hours. Stand aside and leave over night.
Next day press through a sieve (or push through a mouli like I did - I found I got a great yield using a mouli).
Return smooth puree to the pan, add sugar, salt, vinegar, cayenne and a muslin bag containing whole cloves and allspice. Bring to the boil, keep at steady boil for 50 to 60 minutes, stirring regularly. Bottle hot, in hot sterilized bottles.
I made about 14 bottles, you can halve the recipe.
Recipe by The Life of Clare at http://www.thelifeofclare.com.au/home-made-tomato-sauce/