• 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

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