Thanks for the assistance with my last post, it was able to work itself out nicely. Now I have another issue...
I have got an A DNS record setup pointing mail.melia.tech to my public IP address
I have got an MX DNS record setup pointing melia.tech to mail.melia.tech (so I can receive emails to addresses of the form [email protected]).
From within the LAN, I can use mail.melia.tech with Thunderbird as well as typing into my browser to access the Citadel Web Interface. I have got ports 80, 110 and 25 forwarded to the internal ip of my server.
I am having trouble accessing this mail server from outside my LAN though. I can't access the server using mail.melia.tech. I can only use my public IP address!
If I want to access the Citadel interface from my phone for example, on a mobile data network, I need to use the public IP in Safari, and as the incoming and outgoing mail server in the Mail app. If I try to use the domain name, I am told by safari that the server does not exist.
I appreciate help in advance, please let me know if there's any more info required or if my post could be changed to make a solution easier to come by.
Not sure if it was just a time thing or whether my tinkering did the trick - it seems to be working now. I can point my phone to my domain name from outside my LAN and access my mail server.
I went into my router settings and fixed up the IP filtering - it worked shortly after this.
Thanks for the help!