On my hosted site last semester, email just worked. I then looked around for a VPS and registered a new domain on a server. Now I have just found e-mails are not working. Email change requests give an error/moodle/cannotmailconfirm.
The Moodle version is 3.3 running on debian, installed manually. I switched the A host to my new site but the mx host has not been changed in the domain zone. Googling through the internet I think I need to install a mail server on my server. Options are Postfix or possibly exim. The mx must then be pointed to the new server.
Before I charge into this, am I heading in the right direction or is there a simpler solution?