Page 1 of 1

Mail failure - malformed recipient address

Posted: Wed Feb 22, 2017 11:11 am
by starter
I regularly receive the following error email:
A message that you sent contained one or more recipient addresses that were
incorrectly constructed:

< >: missing or malformed local part

This address has been ignored. There were no other addresses in your
message, and so no attempt at delivery was possible.

------ This is a copy of your message, including all the headers. ------

To: < >
Subject: =?utf-8?B?Cg==?=
From: Vesta Control Panel <[email protected]>
X-Priority: 3 (Normal)
CC:
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Mailer: Php/libMailv1.3
Message-Id: <[email protected]>
Date: Wed, 22 Feb 2017 02:15:09 +0100

Can't connect to MySQL localhost
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Is this email sent by the VestaCP ? If that is the case, I don't understand why it would be unable to connect to the MySQL server: the VestaCP works and it could not without being able to connect to a MySQL server. Or does it?

After researching on this subject, I found this post that refers to:

Code: Select all

/etc/my.cnf
In my case this file is empty, could it be the reason of the errors?

Re: Mail failure - malformed recipient address

Posted: Wed Feb 22, 2017 12:13 pm
by skurudo
starter wrote:In my case this file is empty, could it be the reason of the errors?
Your mysql service work fine?
Which OS do you use?

Re: Mail failure - malformed recipient address

Posted: Thu Mar 09, 2017 12:10 pm
by starter
I no longer receive this error message; it stopped - maybe - after I upsized the VPS. Until that moment Vesta was running on a very small configuration, with only 512 MB of RAM.

Re: Mail failure - malformed recipient address

Posted: Thu Mar 09, 2017 12:13 pm
by skurudo
Thanks for report, starter