I decided to follow this guide, but they only make a passing mention of using a custom domain name:
Insert the following details when asked (replacing server1.example.com with your domain name if you have one):
If I own the domain name frank.com, it won't be enough to simply put in frank.com into these fields, right? I'm planning to set this up in a VM on my laptop to use as a portable mail server (obviously only when the laptop is on), mainly as a learning experience, but I imagine I'll need to configure something with my domain registrar at the very least. Otherwise how will the emails show up? Not [email protected], but as some IP address perhaps?
I assume the answer isn't simple, but a pointer or two in the right direction would still be really helpful.