These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Local emails bounce back when sent to local virtual server's remote email on the new forum.
Hi,
I used to use CPanel. When a client uses a 3rd party email (i.e. google, outlook), I just click on "remote email server" during the setup, and that's it.
Now that i m using Virtualmin, I wanted to do the same thing but i realised there are more steps to take. So here is what i did:
Client receives emails fine but when a user (myself) within my server sends her an email, user gets a bounce back as follows:
I realise I could ad an A record with the IP for domain.tld.mail.protection.outlook.com.domain.tld but I'd rather not do that because I dont want to run the risk of them changing their IP.
Special note: In the error message above , "domain.tld" is appended to the reported MX record I have in the system.
Howdy,
It sounds like there may be a problem with the MX record for your domain.
If you go into Server Configuration -> DNS Records, can you paste in the MX record you see there?
-Eric
Hi Eric,
domain.tld MX - Mail Server 90 domain-tld.mail.protection.outlook.com.
Just as an extra note, that's the only MX record showing up there. Thanks
Well, I dont know what to say... it's now working and I have no clue to why so.
But I'd like to ask one last question in this regard: in Cpanel there was no need to enter an MX record which I find convenient because no action is required on my part when clients change their remote email server. Is it possible to have something like that in Virtualmin?
Howdy,
If it suddenly began working, it may have been related to DNS cache. It may have been incorrect at one point, later corrected -- but the DNS cache may have held onto the old value for a bit, making it appear that it wasn't correct.
Regarding the MX record -- it's only necessary to set that if you're using an email host at a third party provider.
By default, Virtualmin assumes that it's the email provider, and handles all that for you.
However, if you wish to use a third party for the email provider, it would be necessary to tell it what the email provider is by setting the MX record.
Without setting the MX record, there would be no way for email to be delivered to that user, as the client wouldn't know where to send the emails.
-Eric