Malaysian palm oil producer Golden Hope has signed an agreement to buy an edible oils refinery in South Africa from Unilever Bestfoods Robertson for MYR69m (US$18.2m).