Enable sending e-mails to same domain on external server even if Mail service is enabled for a domain
As more and more customers move to G Suite and Office 365, there is a need to send authenticated emails from local SMTP to external server that handles same domain.
Lets say example.com has a WordPress installation that sends notifications, order confirmations, form confirmations, ... to avoid spam and meet best practices, I will create local e-mail account mail@example.com.
If domain has G Suite hosting info@example.com, emails from mail@example.com will not be delivered, because of Plesk's setup.
As long as mail is enabled locally, one will get error: Recipient address rejected: User unknown in virtual mailbox table; even if info@example.com is perfectly deliverable on external service such as G Suite.
Please fix this, there is a real need, it is a easy fix for Postfix.

-
Paul Hermans commented
Would be nice to have a separate SMTP service for website-scripts to send mail, with DKIM per domain.
More and more domains have external Mail solution like Microsoft365, we need an DKIM enabled SMTP service for the scripts.
-
cokolol commented
Need that service too!!
-
SilvioK commented
Besides a routine check for MX would prevent the inception of messages:
https://www.plesk.com/blog/various/server-wide-mail-settings-configuring-them-in-plesk/#mailinterception -
Sean Missingham commented
WORKAROUND:
I have a second alias domain configured in o365 for the same primary domain.
So, I put a mailbox on plesk for the address I need, turned on auto-forward to the recipient@aliasdomain which isn't on plesk and it ends up in the correct mailbox.More steps than should be necessary though. +1 for native support of SMTP send-only use case
-
CoE commented
in combination with O365 as primary mail service this is a really important feature. Local mailserver must be kept alive to be able to send debug mails etc., but you will never receive them in your e.g. O365 mailbox ...
-
Anonymous commented
Need to have!!!!
-
Dennis commented
This would indeed be great to have. Incoming email is handled by Office 365 in our case, so we just need Plesk to send outgoing emails (including a DKIM record as well!). All bounces/incoming emails should be delivered to Office 365 according to the DNS MX settings.
-
Yang Heng Kee commented
I am running into the same issue. I created a noreply@mydomain.com email account on Plesk, which refuses to send emails to my G Suite managed email account myname@mydomain.com and reports the same “Recipient address rejected: User unknown in virtual mailbox table” error because it is trying to deliver emails locally.
We need a fix to allow us to send all emails externally from a Plesk email account.
-
Oswaldo Triviño commented
Same problem here, a solution is needed
-
Igi Vuillemier commented
hello everyone, i am in favor of being able to choose the order of the mail service.
so stsandart is now: internal server (plesk) then external to mx zone entries.
it would be good that you can choose the order yourself.
so e.g. first external server (after entries of the mx zone) and as 2nd internal (plesk) ..
or can you solve that otherwise ????
Thanks for your help.