When trying to send email from accounts on domain blah.com to other accounts on the same domain, the following message appears:
"unable to connect to smtp server localhost:25"
Sending from itself to itself, we got this message:
"unable to add recipient [user@blah.com]: Invalid response code received from server"
Also, when sending from gmail to
user@blah.com we are receiving this bounced message:
***
PERM_FAILURE: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 Requested action not taken: mailbox unavailable or not local (state 14).
***
The account existed in the Plesk panel, though.
We "disabled" and then "re-enabled" the mail service for the domain.
We also tried restarting these services on Plesk, from Server > Services management:
MailEnable List Connector
MailEnable Mail Transfer Agent
MailEnable POP Service
MailEnable Postoffice Connector
MailEnable SMTP Connector
However, the message still appeared.
On the server itself, we checked on MailEnable Administrator / Messaging Manager, and the service seemed to be running.
We contacted Plesk and they let us know that bounce messages like "550 Requested Not Action: mailbox unavailable or is not local" indicate that the recipient specified in the RCPT command is not locally hosted on the server and relaying options prevent the message being forwarded to the recipient.
They checked the domain name resolving and made sure it resolved correctly. They agreed that the mailbox existed correctly on the server.
They determined that the Plesk database was not synchronized with the MailEnable settings.
To resync it, they ran the following utility:
C:\Program Files\SWsoft\Plesk\admin\bin>mchk --all --fix=all
After that the messages were delivered succesfully.
Please note, this command could remove all customizations (if any) in MailEnable, only the settings from Plesk CP exist after running the command.