Skip to main content

LMTP error after RCPT TO 550 5.1.1 user doesn’t exist

Comments

9 comments

  • cPanelLauren
    Hello, Without any further information, this just looks like the user you're attempting to email doesn't exist. Details on where you're sending to/from and in what circumstance this occurs (all email or just specific addresses) would be necessary to assist you in this case.
    0
  • sparek-3
    This will happen if the directory [font="Courier New">/home/`/scripts/whoowns example.com`/mail/example.com/contato exists. This happened when cPanel moved to Dovecot for LMTP. The system doesn't actually read [font="Courier New">/home/`/scripts/whoowns example.com`/etc/example.com/passwd to determine if that particular email address exists.
    0
  • Stefaans
    Thank you @sparek-3, you just solved a mysterious problem for me! We were seeing "User doesn't exist" errors for a user that did exist. On inspection, I found that the /home/username/etc/customer-domain.com/passwd file contained an incorrect domain for an email account in question, and subsequently that email address could not receive email. Because I knew where to look, I could manually edit the file and fix the problem. I do not know how the invalid domain ended up in the passwd file. That part is still a mystery.
    0
  • Mauwiks
    I have the same problem. Please help
    0
  • Mauwiks
    This will happen if the directory /home/`/scripts/whoowns example.com`/mail/example.com/contato exists. This happened when cPanel moved to Dovecot for LMTP. The system doesn't actually read /home/`/scripts/whoowns example.com`/etc/example.com/passwd to determine if that particular email address exists.

    Then how do we fix this?
    0
  • cPanelAnthony
    Hello! Could you try running the following command? acctinfo $username --mail Replace "$username" with the cPanel username or account name. Do you see any mail-related errors? If you provide the output here, please censor any domain names or IP addresses. The following article will help if you don't already have the acctinfo alias set.
    0
  • Mauwiks
    It went working after I updated to CURRENT TIER. I want to cry
    0
  • cPanelAnthony
    I'm happy to hear it's working at the very least! Neve hesitate to reach out if you have questions.
    0
  • sparek-3
    Then how do we fix this?

    You would delete - or probably move the affected directory out of the path. [font="courier new">mv /home/`/scripts/whoowns example.com`/mail/example.com/contato /home/`/scripts/whoowns example.com`/mail/example.com/contato-doesnotexist Change domain name and email account as needed.
    0

Please sign in to leave a comment.