• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved mail( ) to adress on same domain but on other server

Line Up

New Pleskian
Hi,

we have a plesk server on linux ubuntu 18.04 as vhost at strato. We also have an exchange server in our house. The mx record points to our exchange server.

Now as we try to send a mail via mail( ) to an adress with the same domain but on our exchange server, the mail gets stuck on the vhost because the server thinks it is an intern adress, but cant find the recipient.

How can we solve this? Can we tell plesk to always send mails to extern and not look intern for a recipient?
 
This is the same question (by the same user??) as in this thread:
Issue - Recipient address rejected: User unknown in virtual mailbox table).

Please read the reply from @IgorG

Note: Having the mails of a domain distributed onto 2 different mail systems is never a good idea and will cause problems at some point.

As a workaround, you could configure your PHP scripts to use an external SMTP server to send the mails so that the mail will be delivered according to the MX record of the domain, assuming that the MX of the domain is pointing to your Exchange server. If your MX points to your Plesk VPS then you should configure your PHP scripts to deliver the mail directly to your Exchange server.

But let me emphasize again: 1 domain = 1 mail system. Anything else is just plain ugly.
 
Back
Top