Block mails from fake accounts

peppos

Member
Jun 19, 2007
8
0
51
Hi,

Is it possible to block all emails sent from non existing accounts?

When there's an abuser sending lots of spam, usually the sender's address is [email protected]. So, if that account "whatever_name" does not exist, then the mail should be block.

Thanks,

P
 

cPanelPeter

Senior Technical Analyst
Staff member
Sep 23, 2013
576
19
143
cPanel Access Level
Root Administrator
Hello,

Many times when you see emails being sent from non existent accounts, they are not actually being sent from your server. Have you actually confirmed that this is what is happening? I ask because most likely what is happening is that you're the victim of a Joe Job. This is where email is being sent out (not necessarily from your server but another compromised server) with forged from and reply-to headers of non-existent accounts at a domain on your server.

If you have the default address set up (as Infopro mentioned) to deliver those messages rather than bouncing them with "Fail no such user here", then you will get a ton of them and it looks like they are coming from your server when in fact they really are not.

Unless there's a script involved on the account in question, there is no way to send email from a non-existent account.