How do you discard emails sent to other email address's please ?

_Chris_

Well-Known Member
Oct 22, 2007
64
0
56
I have 15 email address's under one domain, but currently receive about 100-300 spam emails an hour where the spammers are doing dictionary attacks. Can anyone please let me know if there's any way within cPanel 11 somewhere, so that it would only allow through emails sent to the 15 email address's, but discard all other emails please ? I have googled and can't seem to find the solution to this particular scenario.

Any help much appreciated.

Chris.
 

_Chris_

Well-Known Member
Oct 22, 2007
64
0
56
In cPanel > Mail section > Default Address, where does yours say its going to "Send all unrouted e-mail for:"
Many thanks Infopro, I did think about having the default email set to fail, and then setting up an email account for all 15 email address's, which I guess would work, but I imagine, that I would then have to setup 15 email accounts in my email client ? ? and then every time it checked for emails, it would then have to check all 15 ? ? ;-(

I'm a little unclear on the workings of it, so could do with a little guidance.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
15
313
Houston, TX
cPanel Access Level
Root Administrator
Many thanks Infopro, I did think about having the default email set to fail, and then setting up an email account for all 15 email address's, which I guess would work, but I imagine, that I would then have to setup 15 email accounts in my email client ? ? and then every time it checked for emails, it would then have to check all 15 ? ? ;-(

I'm a little unclear on the workings of it, so could do with a little guidance.
Why not create 1 email account and create forwarders for the other 14 so they all forward into a single account? Alternatively, you could just forward all 15 to another account, or whatever best suits your situation. That would eliminate the need for checking 15 mail accounts.

Setting your default address to anything other than fail is a bad idea and will result in a flood of spam.
 

_Chris_

Well-Known Member
Oct 22, 2007
64
0
56
Why not create 1 email account and create forwarders for the other 14 so they all forward into a single account? Alternatively, you could just forward all 15 to another account, or whatever best suits your situation. That would eliminate the need for checking 15 mail accounts.

Setting your default address to anything other than fail is a bad idea and will result in a flood of spam.
Thanks David - it's appreciated. Are you saying that you can do both of those at the same time, on the same account ? ie, 14 email address's forwarding to one email account, which gets checked in the email client, AND also set to fail for other emails sent to anything other than the 15 email address's ? If so, how would you set all other emails to anything other than the 15 to fail with message please ?

Chris.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
15
313
Houston, TX
cPanel Access Level
Root Administrator
Thanks David - it's appreciated. Are you saying that you can do both of those at the same time, on the same account ? ie, 14 email address's forwarding to one email account, which gets checked in the email client, AND also set to fail for other emails sent to anything other than the 15 email address's ? If so, how would you set all other emails to anything other than the 15 to fail with message please ?

Chris.
Keep in mind, the default address is only used for email addresses that have not been explicitly set up with either an account or a forwarder. All (essentially non-existent) addresses wind up at the default address. So, yes - you can do both at the same time.

To set the rest to fail with a message, simply go to your cPanel interface and in the Mail section click on Default Address. On that screen select Discard with error to sender (at SMTP time) and you can leave Failure Message (seen by sender): with its default value or put in a message of your own. That is up to you. Be sure to click Change when you are done to save the settings.
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
you know this entire thread just remeinds me of the fact that almost no one really understands how forwarders work. I can't tell you how many clients of mine have email accounts on the server that they have never checked. They go in create an account and set up a forwarder to either a different inside or outside email address, They use the forwarder and never check or delete the emails in the account with the same name. They **think** that mail for that account will ONLY go to the forwarder and they also assume they NEED the local account. I get complaints all the time when client say people who email them get over quota warnings all the time and yet the hosting client gets the mail at the forwarder. The box locally fills up ... sends quota warnings out to all incoming senders and then delivers to the forwarder. The whole confusion in all of this has been for years. What we need is some system that notifies in the cPanel there there are forwarders AND accounts with the same name and to explain what will happen if the box is not checked ..OR explain better that setting up a forwarder does not mean an account needs to be made or something to explain this to people. I find GB's of mail boxes that have NEVER been checked for years all the time. In one day I confirmed the above cases with about 20 clients and deleted 2GB of email storage off one box with only 200 domains on it.

people think a "forwarder" means the mail is forwarded like with the postal snail mail. If you move to another address ..you contact the post office and tell them your new address. The post office doesn't make copies of all you mail and store it for you. So it's confusing. Maybe we should it an alias or a forwarding alias or a alias forwarder?
 
Last edited:
C

cPanelBilly

Guest
people think a "forwarder" means the mail is forwarded like with the postal snail mail. If you move to another address ..you contact the post office and tell them your new address. The post office doesn't make copies of all you mail and store it for you. So it's confusing. Maybe we should it an alias or a forwarding alias or a alias forwarder?
While I understand what you are saying you are talking about changing an industry term here... I dont think that will work
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
While I understand what you are saying you are talking about changing an industry term here... I dont think that will work

term doesn't matter unless it will help better descripe what people are getting when they make one.
 

_Chris_

Well-Known Member
Oct 22, 2007
64
0
56
Keep in mind, the default address is only used for email addresses that have not been explicitly set up with either an account or a forwarder. All (essentially non-existent) addresses wind up at the default address. So, yes - you can do both at the same time.

To set the rest to fail with a message, simply go to your cPanel interface and in the Mail section click on Default Address. On that screen select Discard with error to sender (at SMTP time) and you can leave Failure Message (seen by sender): with its default value or put in a message of your own. That is up to you. Be sure to click Change when you are done to save the settings.
Many thanks David - that has answered it completely.

Much appreciated.

Chris.
 

_Chris_

Well-Known Member
Oct 22, 2007
64
0
56
Ok, just trying this, but just after setting up the forwarder, I got the message saying something like :

All email sent to [email protected] will now be copied to [email protected]

I would prefer the emails to be moved as opposed to copied really - and if it is being copied, where's the originals going to be kept ? ?

Such are the mysteries of life :)
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
15
313
Houston, TX
cPanel Access Level
Root Administrator
Ok, just trying this, but just after setting up the forwarder, I got the message saying something like :

All email sent to [email protected] will now be copied to [email protected]

I would prefer the emails to be moved as opposed to copied really - and if it is being copied, where's the originals going to be kept ? ?

Such are the mysteries of life :)
If xxx@ is only a forwarder (not an email account) then the email (for all practical purposes) is moved.

We use the "copy" verbiage mostly for when people attempt to have an email account called xxx@ then create a forwarder for xxx@.