• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Emails on the same web hosting, but different email server don't get delivered

VojkanC

Basic Pleskian
Domain example1.com is hosting both web hosting and emails on the Plesk server.
Domain test2.com is hosting web hosting on Plesk, but for emails uses other another service (Siteground hosting with cPanel).
Problem is that when someone from example1.com sends an email to someone at test2.com it doesn't get delivered.
This is the returned message:
----------------------
This is the mail system at host hosting.myserver.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<[email protected]>: host alt1.aspmx.l.google.com[74.125.195.26] said:
550-5.1.1 The email account that you tried to reach does not exist. Please
try 550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1
Fix bounced or rejected emails - Gmail Help s76si8380805pfs.52 - gsmtp
(in reply to RCPT TO command)
Reporting-MTA: dns; hosting.myserver.com
X-Postfix-Queue-ID: 47AE0B4A71
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Mon, 25 Feb 2019 19:29:50 +0000 (UTC)

Final-Recipient: rfc822; [email protected]m
Original-Recipient: rfc822;[email protected]m
Action: failed
Status: 5.1.1
Remote-MTA: dns; alt1.aspmx.l.google.com
Diagnostic-Code: smtp; 550-5.1.1 The email account that you tried to reach does
not exist. Please try 550-5.1.1 double-checking the recipient's email
address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1
Fix bounced or rejected emails - Gmail Help s76si8380805pfs.52 - gsmtp
----------------------

Everything works the other way around.
Everything works when sending to any other domain.

Email service is turned off on example1.com on https://myserver.com:8443/smb/mail-settings/edit/id/11/domainId/11
DNS records are set slave, i.e. to use external DNS on Siteground hosting with cPanel.

Any idea why emails don't get delivered?
 
Last edited:
Sounds like you need to disable mail service on test2.com

# plesk bin subscription -u test2.com -mail_service false

If you don't fully disable it, DNS lookup is going to stay local and try delivering local.
 
Hi, Thank you both for your answers.
@MarkM,
>>Sounds like you need to disable mail service on test2.com
So you are telling me that this unchecking of the check box isn't fully disabling email server for that domain?
On3qDs6.png


I would say from the error message that email service is still on, but it's very weird since it says that it is off in the control panel.
 
I think this problem is addressed in the following KB - Unable to receive emails: 550 5.1.1 Recipient not found.
As I stated in the first message, I have disabled Plesk's zone file for this domain and have set it to use Siteground nameservers.
yhheAAQ.png


I have previously tried changing Plesk > Domains > example.com > DNS Settings including:
  • just setting email server's IP address (which is different from web hosting server)
  • deleting entries like mail.test2.com, pop.test2.com, smtp.test2.com
Nothing helped.
 
Sounds like you need to disable mail service on test2.com

# plesk bin subscription -u test2.com -mail_service false

If you don't fully disable it, DNS lookup is going to stay local and try delivering local.
I've tried your solution (syntax is a little bit different), but it didn't do the trick.
Maybe it needs some time?

Here is what I did in command line:
BnAS81x.png
 
A month has passed and you have probably solved this already, but just in case:

as I understand:
- example1.com DNS, web and email are on the Plesk server
- test2.com web is on the Plesk server, but DNS and email are elsewhere
- test2.com DNS and email are turned off on the Plesk server.

Well, it looks to me like this problem isn't caused by the Plesk server at all.

Emails sent from Plesk's account [email protected] to an external email address [email protected] seem to get sent out just fine.

The error response you're getting is coming from Google's mail servers and Google is plainly informing you that the address [email protected] doesn't exist on their end.

Looks like settings for test2.com at their Siteground cPanel hosting delegate the mail services to Google. Seeing the actual DNS records for test2.com would help, but without having access to test2.com settings at Siteground and to their Google mail settings, it's impossible to say what exactly is wrong.
 
Back
Top