• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

php function mail () - SMTP server response: 550 Requested action not taken: mailbox

Andrei C

Regular Pleskian
Dear Support,

I have next error "PHP Warning: mail(): SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in C:\inetpub\vhosts\domain.ru\form.php on line 29"

This error reproducing, when users use another mailserver like yandex.ru, gmail.com, mail.ru etc
For default Plesk Control Panel create mailservice localy, does not matter use this service users or not.

As temporary use next command to fix this problem:
%plesk_bin%\mailmng.exe --turn-off-domain --domain-name=domain.ru

But may be you can fix this problem globally?

--
OS:Windows Server 2012 Standart Edition ENU
Product: Plesk Panel 11.5.30 #37
 
Last edited:
Check that your localhost is resolvable on IPv6 address with

ping localhost

In this case IPv6 range should be in the MailEnable SMTP Allowed relay list.
 
check if php sendmail function is enabled by your host? Due to high spamming some host tends to disable it.
 
check if php sendmail function is enabled by your host? Due to high spamming some host tends to disable it.
Maybe you have not properly understood, problem isn't with function mail() on php.net, because if users use localy mailservice, this problem isn't reproducing.
When users write mx, record on DNS-service for using external mailserver, for example yandex (http://help.yandex.ru/pdd/records.xml), not MailEnable - there are problems with function mail () on php.net.

As temporary solution I disable maildomain on command line like this
%plesk_bin%\mailmng.exe --turn-off-domain --domain-name=domain.ru


my question if this problem possible fix globally, not everytime disable domain on MailEnable.
 
Check that your localhost is resolvable on IPv6 address with

ping localhost

In this case IPv6 range should be in the MailEnable SMTP Allowed relay list.

This was exactly it.

I added ::1 to Tools & Settings -> Mail -> Mail Server Settings -> White List
 
Back
Top