Hi, I have tried to solve my issue by browsing the forums but I am getting even more confused, so sorry if this question has already been answered elsewhere.
I am not receiving email to my email accounts.
I have set up my virtual server www.jmb-webserver.com and the A records have been set up with the domain registrar. The websites in virtualmin work fine. I have setup a subdomain mail.jmb-webserver.com and set the IP address to 126.96.36.199 which is my static IP. I have set the MX record of this subdomain to mail.jmb-webserver.com priority 5 as that is the information shown in the records in Virtualmin.
Using pingability.com I get this report:
Location United Kingdom
Mail Server For *@jmb-webserver.com
MX Priority 0
Connect Response Time 399ms
Server ‘Hello’ Line
220 jmb-webserver.com ESMTP Postfix (Ubuntu)
No Problems Found
Mail Server Info
The mail server accepted email for ‘firstname.lastname@example.org’ email address as it should have (250 2.1.5 Ok).
The mail server correctly rejected email to ‘email@example.com’ (554 5.7.1 firstname.lastname@example.org: Relay access denied)
Using jmb-webserver.com/squirrelmail I can login using the admin@ account I set up and can send email out. This was received:
However, when I send to email@example.com I get nothing.
My router is set to forward ports 21, 25 and 80 for FTP, mail and http.
Interestingly, when I receive the mail I sent and reply in Outlook, I get an error:
Sorry, we were unable to deliver your message to the following address.
Recipient address rejected: User unknown in virtual alias table [RCPT_TO]
Many thanks in advance