When sending mail to a domain, it gets bounced with a message: 550 Requested action not taken: mailbox unavailable

Created:

2016-11-16 13:15:17 UTC

Modified:

2017-07-09 12:56:23 UTC

1

Was this article helpful?


Have more questions?

Submit a request

When sending mail to a domain, it gets bounced with a message: 550 Requested action not taken: mailbox unavailable

Applicable to:

  • Plesk

Symptoms

When sending mail to a mailbox, it gets bounced with a message saying that no such mailbox exists.

The mail is bounced back with one of the following errors:

Hi. This is the qmail-send program at SERVER. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out

This address no longer accepts mail.

Sorry, no mailbox here by that name. (#5.1.1)

550 Requested action not taken: mailbox unavailable Givingup.

User not known Giving up.

Sorry your message to mailname@example.com cannot be delivered. This account has been disabled or discontinued.

Cause

Mail recipient mailbox does not exist.

Resolution

  1. Check the MX record of the domain you are sending a message to:

On Windows

nslookup -q=mx example.com

Non-authoritative answer:
example.com MX preference = 10, mail exchanger = mail.example.com
mail.example.com internet address = 1.2.3.4

On Linux

# dig -t mx +short example.com 
mail.example.com

# dig +short mail.example.com
1.2.3.4

1.1. If the MX record resolves into a different server, and this domain is not present on the Plesk server, ask administrator of the server if the mailbox exists.

  1. If the error occurs while sending mail to the Plesk server, make sure that the mail address exists and that mail service for the domain is enabled.

    Also, check that the MX (A) record of the destination domain resolves into appropriate server.

  2. If the MX record resolves into a different server, but the domain is hosted on the Plesk server, correct the MX record in DNS settings of the domain. Disable mail in Plesk > Domains > example.com > Open in Control Panel > Mail tab > Settings

  3. If DrWeb is installed on the server and it has no valid license, make sure that LicenseLimit is set to " pass " in /etc/drweb/drweb_qmail.conf :

    # grep License /etc/drweb/drweb_qmail.conf
    LicenseLimit = pass
  4. Make sure that the recipient domain is not listed in the /var/qmail/control/locals configuration file. This file must contain only " localhost " entry.

  5. Another possible reason for the problem is that two SMTP service processes are running on the server. An example for Windows (commands below executed in a commandline cmd.exe ):

    netstat -ano

    TCP 0.0.0.0:25 0.0.0.0:0 LISTENING 1996
    TCP 203.0.113.2:25 0.0.0.0:0 LISTENING 1524

    tasklist | findstr "\\<1996 \\<1524"

    MailService.exe 1524 Services 0 56,348 K
    MESMTPC.exe 1996 Services 0 3,048 K

    Check which one of SMTP servers is used by Plesk ( Tools&Settings > Services Management ) and stop the process of another one.

  6. Reconfigure mail settings:

    # /usr/local/psa/admin/sbin/mchk

    mchk utility rebuilds Qmail configuration files, restores missing mail account directories, etc., according to settings from Plesk database. Please note, that the utility may run for a long time and the mail accounts may not be accessible, while it runs.

Have more questions? Submit a request
Please sign in to leave a comment.