• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Cannot "reject" email to non-existent user

AdrianC

Basic Pleskian
Hello.

[Plesk panel 9.5.4 on CentOS]

I have a domain mysite.com and email [email protected]
I am going to domain > mysite.com > mail settings under "Mail to nonexistent user" I set "reject" and save.
Then I login to yahoo mail and send an email to [email protected] the server replies with failure notice
Remote host said: 550 sorry, no mailbox here by that name. (#5.7.17) [RCPT_TO]

I am expecting to silently reject the message sent to non-existent user. Or I got it wrong?
I tried fixing email settings with this command but there was no change: /usr/local/psa/admin/sbin/mchk

A spammer can hit any nonexistent email of my domain with a fake "from" address, then my stupid server replies to the fake "from" spamming him with the included message. This probably lists me as spammer :|

Thank you.
 
I believe that this is actually the correct behaviour for a mail server.
When an external client attempts to send email to a non-existent address, the mail server immediately replies with a "reject" status without accepting the message for processing. The bounceback email that you are receiving is not from the receiving host, but from the sending host notifying you that it was unable to deliver the message. Silently dropping such messages would be scary I think, so the sending host usually does this.
The receiving host never sends an outbound email, so it doesn't matter if the from address is fake.
 
Back
Top