• 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

Resolved Mail delivery failed: returning message to sender

Meer-Web

New Pleskian
Hi All,

When I'm trying to email several customers on my plesk server I get bounces back from mail.com and facebook.
They state:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of
its recipients. This is a permanent error. The following address(es)
failed:

[email protected]
non-existent domain


Current applicatoins installed is Dovecot and Postfix.
Local DNS is disabled and the email domains are reachable and SPF properly set
 
Could you please post the error ID? or the full Mail-header?

Best regards
 
This is the one from mail.com --> customer.


This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of
its recipients. This is a permanent error. The following address(es)
failed:

xxxxxxxxxxxxxxxx@xxxxxxxxxxxxxxxxxxxx
non-existent domain


--- The header of the original message is following. ---

Received: from [46.144.165.84] ([46.144.165.84]) by
3c-app-mailcom-lxa05.server.lan (via HTTP); Mon, 4 Dec 2017 14:14:51 +0100
MIME-Version: 1.0
Message-ID: <trinity-865eea3a-43bc-4be5-b004-1f80ec048c21-1512393291489@3c-app-mailcom-lxa05>
From: "xxxxxxxxxxxxxxxx" <[email protected]>
To: xxxxxxxxxxxxxxxxxxxxx@xxxxxxxxxxxxxxxxxxxx
Subject: tes 54
Content-Type: text/html; charset=UTF-8
Date: Mon, 4 Dec 2017 14:14:51 +0100
Importance: normal
Sensitivity: Normal
X-Priority: 3
X-Provags-ID: V03:K1:R/y5VpmJUASRtlotyDGFz7ve+rhWIKjMRsFLxmCSjxZ
/zLOfH1iYYv1w9XxpIoubqt8yWnkD++NJKkREQ0dm+lpRwZKfX
+7SpnwxZbvdM9wZexDTA0PGTRDGfQy+eCmwwgkmW7UCNE8WkXd
JlW4QS069jmwiafhLPNuuIlx4bunHPDreNF0KmPdlmbN8BW00y
hnLa9+lDZEzX89D4jy7/7VajbIkomVrFq7uqAc2Zx3EhNj/tM9
JdexN/pnrl/pjWVKvwOT8iGIqJq0IMhG9I/bwNLYoCdQeSEJBt 0mJmdQ=
X-UI-Out-Filterresults: notjunk:1;V01:K0:gx1uh9c4DvM=:hpf/rMk3UyosX5pP93QlsQ
gYG8E/V8gXQo2+6tPUXhA6cO/9hP/xmZyaHPhRSnPOkhSV0w9BgSDLz6+2i1uoZvCBb3FvcAc
poGJGUSkgewg1ZtvF2EsFmZ4l6+CF4OMDNwgFq9HJ0qnl0p6zHhSg6Msa5juJHdLIVctFOBU+
8GjHHwmYJvLP9ek+I8MURIYWC2guiGhI9PngyAJJG6L1CY71yV69wHJ5Oc+fAFC4I1p7BbxgS
2Kx8/wySwg7ki7gMm0ruzX66wluMu6DfUC2LGNocAx6bi62FFTCuXZNm0BhDMRfTUo6k5VsSa
P1YNOhbWF9GU/oUjlh+3yoNpUbfQAKYXoB8SE4M9bRmw3SYte0T1gUowUskAzDnctJhDVgwbm
Gh0LXWE6TYWCrUurW+P3u4KY955AFNhUC2AP/ZnJVi4OFJUy5k5FBIyDCuCOpit4z5KHuVDEQ
kw1EwhDQ8V/nrCCVfYiFHSMr7SWO7EOdErFqTPd4aXrvsTic4ESh1kHsliMKMVaQl0gqDYK44
MUYTwOcWXN5oh9teFc3o1I44k9A33ierJb3RBr9v768
 
Does the error apply to all customers and addresses you send to or only to specific ones?

For me, it looks like the recipient has a very aggressive spam filter. But that's just a guess.

Best regards
 
Its with all customers and all email addresses.
But it is an inbound issue. Its when I'm doing tests from mail.com or facebook.com.

Gmail works fine.
I'm quiet lost on this issue
 
Yes, all is setup fine. Also tested and confirmed by mxtoolbox.
Some say its port 25 which is giving back:
502 5.5.2 Error: command not recognized

Causing callbacks to fail.
 
Yes they are all fine.
When I mail from mail.com --> customer + my own gmail address, it only arrives at my gmail. When I reply the gmail address to customer + mail.com address it arrives at both.

Also I disabled fail2ban on the server
 
It does not arrive...
just tested this. I do not get a boune mail (yet).

==edit==

This is the mail system at host xxxxxxxxxxxxxxxxxxxxx.

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 mx01.mail.com[74.208.5.22] said: 550-Requested
action not taken: mailbox unavailable 550 invalid DNS MX or A/AAAA resource
record (in reply to MAIL FROM command)
 
@Meer-Web

In every way your description of the problem fails to give us the relevant information.

Post some output of the mail.log file and explain what you are exactly doing (sending a mail from script, which script, which code etc.) and specify all that could be relevant.

Also, you can send me a private message in Dutch, if that is more easy for you.

Regards......
 
I managed to fix the issue!
The my_networks in postfix was incorrect.
It contained 2 incorrect IP addresses. After correcting these and restarting postfix all is working
 
I managed to fix the issue!
The my_networks in postfix was incorrect.
It contained 2 incorrect IP addresses. After correcting these and restarting postfix all is working

@Meer-Web

For the sake of completeness: the mynetworks variable in /etc/postfix/main.cf is blank in a default Plesk Postfix setup.

It can hardly be the case that these variables are set by some process, so you should really check what is changed in comparison to Plesk's default config.

Regards.....
 
Back
Top