• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Switching to a remote, offsite server for email?

SacAutos

Regular Pleskian
Like many of you, I would suppose, you host multiple domains on your servers. Sometimes the customer has us host the website but they have their own email server at their office. I have them update their DNS to point the A record for the domain to our server as well have the www record be an alias for the shared hosting domain.

This all works great unless we have another customer on the same server that attempts to send an email to a box at that domain, or have an automated process (or PHP form) that tries to email a message to a box at that domain. At that point the server gets confused because it "thinks" that because the domain is local the email is also local. Since it isn't local, the message gets rejected and never gets out.

My fix for that problem has always been to change the domain from customerdomain.com to www.customerdomain.com and have the DNS do a URL forward for customerdomain.com to www.customerdomain.com . This works great because customerdomain.com isn't being hosted locally so the MX record is used and the message goes on its merry way.

Having said all of that, I would like to be able to get the email to work right in the first place. I have tried searching the knowledgebase and the forum to no avail. Does ANYBODY know the proper settings of DNS and mail on the server that properly honors the MX record if it's off-server? I'd really like to know!
 
I've wondered myself!

Would love to hear how to properly set things up to avoid this issue in the first place!

Dave
 
i host several plesk servers, but 1 is used for mail, it is possible to turn off mail for a server
if you do that, the DNS is checked to deliver the mail, so mail for the same domain is delivered from main server to the correct server (ie when a blog site is sending a mail about a comment to the administrator).

working flawlessly here
 
Back
Top