Hi Andrea thanks - All that was right, according to the documentation. I've completely deleted and reinstalled Moodle and Mahara.
The Moodle Network block shows up now but the link doesn't work. If I log into Mahara afterwards as local admin I get 196 messages. Most of which seem to want to do the same thing:
exception 'EmailException' with message 'Couldn't send email to Admin User (admin) with subject Mahara: User notification error was probably caused by your server configuration.. Error from phpmailer was: Could not instantiate mail function.' in /var/www/maha14/lib/user.php:457
#0 /var/www/maha14/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara: User no...', 'You have been s...', NULL, NULL)
#1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass))
#2 /var/www/maha14/lib/mahara.php(1184): call_user_func_array(Array, Array)
#3 /var/www/maha14/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass))
#4 /var/www/maha14/lib/activity.php(489): ActivityType->notify_user(Object(stdClass))
#5 /var/www/maha14/lib/activity.php(82): ActivityType->notify_users()
Which I'm thinking is related to the fact that the server has no email functionality. Will this work if I can disable this? Can I disable that ?
Annoyingly I have another separate server which is working and I cannot for the life in me see any difference in configuration.